From 8d3307adf7ba64b75fb4de363f873c97286b0e9b Mon Sep 17 00:00:00 2001 From: Vadim Dashevskiy Date: Tue, 2 Apr 2013 13:26:06 +0000 Subject: - XSoundNotify - adopted git-svn-id: http://svn.miranda-ng.org/main/trunk@4284 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/XSoundNotify/src/SoundNotifyData.h | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 plugins/XSoundNotify/src/SoundNotifyData.h (limited to 'plugins/XSoundNotify/src/SoundNotifyData.h') diff --git a/plugins/XSoundNotify/src/SoundNotifyData.h b/plugins/XSoundNotify/src/SoundNotifyData.h new file mode 100644 index 0000000000..13076f76e2 --- /dev/null +++ b/plugins/XSoundNotify/src/SoundNotifyData.h @@ -0,0 +1,29 @@ +#ifndef __XSN_DATA_H +#define __XSN_DATA_H + +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