summaryrefslogtreecommitdiff
path: root/library/sound.h
Unidiff
Diffstat (limited to 'library/sound.h') (more/less context) (ignore whitespace changes)
-rw-r--r--library/sound.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/library/sound.h b/library/sound.h
index 98fae34..9f35107 100644
--- a/library/sound.h
+++ b/library/sound.h
@@ -11,33 +11,35 @@
11** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE 11** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
12** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. 12** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
13** 13**
14** See http://www.trolltech.com/gpl/ for GPL licensing information. 14** See http://www.trolltech.com/gpl/ for GPL licensing information.
15** 15**
16** Contact info@trolltech.com if any conditions of this licensing are 16** Contact info@trolltech.com if any conditions of this licensing are
17** not clear to you. 17** not clear to you.
18** 18**
19**********************************************************************/ 19**********************************************************************/
20#ifndef SOUND_H 20#ifndef SOUND_H
21#define SOUND_H 21#define SOUND_H
22 22
23class QString; 23class QString;
24class SoundData; 24class SoundData;
25 25
26class Sound { 26class Sound {
27public: 27public:
28 Sound(const QString& name); 28 Sound(const QString& name);
29 ~Sound(); 29 ~Sound();
30 30
31 void play(); 31 void play();
32 void playLoop(); 32 void playLoop();
33 void stop(); 33 void stop();
34 34
35 bool isFinished ( ) const;
36
35 static void soundAlarm(); 37 static void soundAlarm();
36 //static void soundClick(); 38 //static void soundClick();
37 //static void soundTap(); 39 //static void soundTap();
38 40
39private: 41private:
40 SoundData* d; 42 SoundData* d;
41}; 43};
42 44
43#endif 45#endif