blob: 1876db6ba0e44f7ef057cd8b748e38ce15be89e5 (
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 "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;
}
|