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/SoundNotifyData.cpp | |
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/SoundNotifyData.cpp')
-rw-r--r-- | plugins/XSoundNotify/SoundNotifyData.cpp | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/plugins/XSoundNotify/SoundNotifyData.cpp b/plugins/XSoundNotify/SoundNotifyData.cpp new file mode 100644 index 0000000000..1876db6ba0 --- /dev/null +++ b/plugins/XSoundNotify/SoundNotifyData.cpp @@ -0,0 +1,37 @@ +#include "SoundNotifyData.h"
+
+SoundNotifyData::SoundNotifyData() : _contact(0), _soundChanged(false)
+{
+
+}
+
+SoundNotifyData::SoundNotifyData(HANDLE contact, const ModuleString & module, const xsn_string & sound) :
+ _contact(contact), _soundPath(sound), _soundChanged(false)
+{
+}
+
+void SoundNotifyData::setSound(const xsn_string & sound)
+{
+ _soundChanged = true;
+ _soundPath = sound;
+}
+
+HANDLE SoundNotifyData::contact() const
+{
+ return _contact;
+}
+
+const xsn_string & SoundNotifyData::soundPath() const
+{
+ return _soundPath;
+}
+
+const ModuleString & SoundNotifyData::module() const
+{
+ return _module;
+}
+
+bool SoundNotifyData::isSoundChanged() const
+{
+ return _soundChanged;
+}
|