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/SoundNotifyData.h | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 plugins/XSoundNotify/SoundNotifyData.h (limited to 'plugins/XSoundNotify/SoundNotifyData.h') diff --git a/plugins/XSoundNotify/SoundNotifyData.h b/plugins/XSoundNotify/SoundNotifyData.h new file mode 100644 index 0000000000..18cb4844a4 --- /dev/null +++ b/plugins/XSoundNotify/SoundNotifyData.h @@ -0,0 +1,33 @@ +#ifndef __XSN_DATA_H +#define __XSN_DATA_H + +#include +#include "xsn_types.h" +#include + +class SoundNotifyData +{ +public: + SoundNotifyData(); + SoundNotifyData(HANDLE contact, const ModuleString & module, const xsn_string & sound); + + void setSound(const xsn_string & sound); + + HANDLE contact() const; + const xsn_string & soundPath() const; + const ModuleString & module() const; + bool isSoundChanged() const; + +private: + HANDLE _contact; + ModuleString _module; + xsn_string _soundPath; + bool _soundChanged; +}; +typedef std::shared_ptr SoundNotifyDataPtr; + +typedef std::unordered_map UserDataTable; +typedef std::unordered_map ProtocolTable; +typedef std::unordered_map ModuleConvertTable; + +#endif -- cgit v1.2.3