blob: 29723384c732c9c870d0bf7a496c0bfd389a3580 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
#include "Common.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;
}
|