diff options
author | Kirill Volinsky <mataes2007@gmail.com> | 2012-06-29 05:38:03 +0000 |
---|---|---|
committer | Kirill Volinsky <mataes2007@gmail.com> | 2012-06-29 05:38:03 +0000 |
commit | af7e438cfe8ce85e1da234318ed1584e89d952cc (patch) | |
tree | 4cdb1379ef8d6c00389aa89cfb27a404ae2aba56 /plugins/XSoundNotify/EventProcessor.h | |
parent | 230623d50baff4e8bf13a8572e0b895bad7b7ed4 (diff) |
only add some plugins and protocols, not adapted
See please maybe not all need us
git-svn-id: http://svn.miranda-ng.org/main/trunk@678 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/XSoundNotify/EventProcessor.h')
-rw-r--r-- | plugins/XSoundNotify/EventProcessor.h | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/plugins/XSoundNotify/EventProcessor.h b/plugins/XSoundNotify/EventProcessor.h new file mode 100644 index 0000000000..6de14f8f98 --- /dev/null +++ b/plugins/XSoundNotify/EventProcessor.h @@ -0,0 +1,27 @@ +#ifndef __XSN_EVENT_PROCESSOR
+#define __XSN_EVENT_PROCESSOR
+
+#include <windows.h>
+#include "xsn_types.h"
+#include <newpluginapi.h>
+
+
+class XSN_EventProcessor
+{
+public:
+ static void make(PLUGINLINK * pl);
+ static XSN_EventProcessor & instance();
+
+ void process(WPARAM wParam, LPARAM lParam);
+
+protected:
+ XSN_EventProcessor(PLUGINLINK * pl);
+
+ bool isReceiveMessage(LPARAM event);
+ xsn_string getProtocol(WPARAM contact);
+ xsn_string getNick(WPARAM contact, LPCTSTR protocol);
+
+ PLUGINLINK * pluginLink;
+};
+
+#endif
|