summaryrefslogtreecommitdiff
path: root/plugins/!NotAdopted/XSoundNotify/SoundNotifyDataStorage.h
diff options
context:
space:
mode:
authorVadim Dashevskiy <watcherhd@gmail.com>2013-04-02 13:26:06 +0000
committerVadim Dashevskiy <watcherhd@gmail.com>2013-04-02 13:26:06 +0000
commit8d3307adf7ba64b75fb4de363f873c97286b0e9b (patch)
tree1f89dccbcd641f2df5d793ee3a3a5c6c745d898c /plugins/!NotAdopted/XSoundNotify/SoundNotifyDataStorage.h
parent626e01829f5d9946e831cbf66ad49a13103f91bb (diff)
- XSoundNotify - adopted
git-svn-id: http://svn.miranda-ng.org/main/trunk@4284 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/!NotAdopted/XSoundNotify/SoundNotifyDataStorage.h')
-rw-r--r--plugins/!NotAdopted/XSoundNotify/SoundNotifyDataStorage.h34
1 files changed, 0 insertions, 34 deletions
diff --git a/plugins/!NotAdopted/XSoundNotify/SoundNotifyDataStorage.h b/plugins/!NotAdopted/XSoundNotify/SoundNotifyDataStorage.h
deleted file mode 100644
index 7dbf03c494..0000000000
--- a/plugins/!NotAdopted/XSoundNotify/SoundNotifyDataStorage.h
+++ /dev/null
@@ -1,34 +0,0 @@
-#ifndef _XSN_DATA_STORAGE
-#define _XSN_DATA_STORAGE
-
-#include "SoundNotifyData.h"
-#include <newpluginapi.h>
-#include <boost/function.hpp>
-
-class SoundNotifyDataStorage
-{
-public:
- SoundNotifyDataStorage(PLUGINLINK * pl);
-
- void init();
- void commit();
-
- ProtocolTable & getData();
-
-protected:
- void addContact(HANDLE contact);
- xsn_string getContactId(HANDLE contact, const ModuleString & module, const ProtocolString & proto);
- void registerProtocols();
-
-private:
- PLUGINLINK * pluginLink;
-
- ProtocolTable _protocolTable;
- ModuleConvertTable _moduleTable;
-
- typedef boost::function<xsn_string (HANDLE contact, const ModuleString & module)> getContactIdFunc;
- typedef std::unordered_map<ProtocolString, getContactIdFunc> RegisteredProtocols;
- RegisteredProtocols _registeredProtocols;
-};
-
-#endif