diff options
author | Kirill Volinsky <mataes2007@gmail.com> | 2013-04-02 19:47:02 +0000 |
---|---|---|
committer | Kirill Volinsky <mataes2007@gmail.com> | 2013-04-02 19:47:02 +0000 |
commit | 366ba3d2502c86c8691f72207512b72fc7ccae2a (patch) | |
tree | 46a4896b076ffab3687dbaeb772dcbd61b23a9ec /plugins | |
parent | 365a6630e46aea4cba8df43f3fd1d553a2823723 (diff) |
XSoundNotify: boost removal pt 2
git-svn-id: http://svn.miranda-ng.org/main/trunk@4292 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/XSoundNotify/src/Common.h | 3 | ||||
-rw-r--r-- | plugins/XSoundNotify/src/SoundNotifyDataStorage.h | 4 |
2 files changed, 3 insertions, 4 deletions
diff --git a/plugins/XSoundNotify/src/Common.h b/plugins/XSoundNotify/src/Common.h index 491410d233..be4d16e2a8 100644 --- a/plugins/XSoundNotify/src/Common.h +++ b/plugins/XSoundNotify/src/Common.h @@ -2,6 +2,7 @@ #include <string>
#include <unordered_map>
+#include <memory>
#include <atlbase.h>
#include <atlapp.h>
@@ -16,8 +17,6 @@ #include <m_clist.h>
#include <m_skin.h>
-#include <boost/function.hpp>
-
#include "resource.h"
#include "Version.h"
#include "xsn_types.h"
diff --git a/plugins/XSoundNotify/src/SoundNotifyDataStorage.h b/plugins/XSoundNotify/src/SoundNotifyDataStorage.h index 68c7d996f9..3df9dd7eec 100644 --- a/plugins/XSoundNotify/src/SoundNotifyDataStorage.h +++ b/plugins/XSoundNotify/src/SoundNotifyDataStorage.h @@ -20,9 +20,9 @@ private: ProtocolTable _protocolTable;
ModuleConvertTable _moduleTable;
- typedef boost::function<std::tstring (HANDLE contact, const ModuleString &module)> getContactIdFunc;
+ typedef std::tstring (*getContactIdFunc)(HANDLE contact, const ModuleString &module);
typedef std::unordered_map<ProtocolString, getContactIdFunc> RegisteredProtocols;
- RegisteredProtocols _registeredProtocols;
+ RegisteredProtocols _registeredProtocols;
};
#endif
|