-rw-r--r-- | library/sound.h | 2 |
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 | |||
@@ -19,25 +19,27 @@ | |||
19 | **********************************************************************/ | 19 | **********************************************************************/ |
20 | #ifndef SOUND_H | 20 | #ifndef SOUND_H |
21 | #define SOUND_H | 21 | #define SOUND_H |
22 | 22 | ||
23 | class QString; | 23 | class QString; |
24 | class SoundData; | 24 | class SoundData; |
25 | 25 | ||
26 | class Sound { | 26 | class Sound { |
27 | public: | 27 | public: |
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 | ||
39 | private: | 41 | private: |
40 | SoundData* d; | 42 | SoundData* d; |
41 | }; | 43 | }; |
42 | 44 | ||
43 | #endif | 45 | #endif |