From af7e438cfe8ce85e1da234318ed1584e89d952cc Mon Sep 17 00:00:00 2001 From: Kirill Volinsky Date: Fri, 29 Jun 2012 05:38:03 +0000 Subject: 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 --- plugins/XSoundNotify/EventProcessor.h | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 plugins/XSoundNotify/EventProcessor.h (limited to 'plugins/XSoundNotify/EventProcessor.h') 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 +#include "xsn_types.h" +#include + + +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 -- cgit v1.2.3