summaryrefslogtreecommitdiff
path: root/!NotAdopted/XSoundNotify/SoundNotifyData.cpp
diff options
context:
space:
mode:
authorKirill Volinsky <mataes2007@gmail.com>2012-07-23 13:52:57 +0000
committerKirill Volinsky <mataes2007@gmail.com>2012-07-23 13:52:57 +0000
commit89c5b2369413025e1fe7dfe5c5d0bf3bedd8558d (patch)
tree18f09394ce3b811e3df7d15de747e842000bd4ad /!NotAdopted/XSoundNotify/SoundNotifyData.cpp
parenta9580df150d799246eaecbf3c1fb5cecf9f8ab49 (diff)
git-svn-id: http://svn.miranda-ng.org/main/trunk@1123 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to '!NotAdopted/XSoundNotify/SoundNotifyData.cpp')
-rw-r--r--!NotAdopted/XSoundNotify/SoundNotifyData.cpp37
1 files changed, 37 insertions, 0 deletions
diff --git a/!NotAdopted/XSoundNotify/SoundNotifyData.cpp b/!NotAdopted/XSoundNotify/SoundNotifyData.cpp
new file mode 100644
index 0000000000..1876db6ba0
--- /dev/null
+++ b/!NotAdopted/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;
+}