diff options
Diffstat (limited to 'plugins/XSoundNotify/src')
-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
|