diff options
| author | manuel <manuel@mausz.at> | 2011-04-09 15:03:50 +0200 |
|---|---|---|
| committer | manuel <manuel@mausz.at> | 2011-04-09 15:03:50 +0200 |
| commit | 9f896b86b671b3a05314d2013a315d996b456f95 (patch) | |
| tree | 18bb310c96ea4a6f819494776a91a96a38fee2af /pacman-c++/audioplayer.h | |
| parent | 7e4bc8ece49543533c4e27f5d6bc867c1bada601 (diff) | |
| download | foop-9f896b86b671b3a05314d2013a315d996b456f95.tar.gz foop-9f896b86b671b3a05314d2013a315d996b456f95.tar.bz2 foop-9f896b86b671b3a05314d2013a315d996b456f95.zip | |
add toggle audio icon
Diffstat (limited to 'pacman-c++/audioplayer.h')
| -rw-r--r-- | pacman-c++/audioplayer.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/pacman-c++/audioplayer.h b/pacman-c++/audioplayer.h index dd0c25a..567ccb1 100644 --- a/pacman-c++/audioplayer.h +++ b/pacman-c++/audioplayer.h | |||
| @@ -28,13 +28,14 @@ public: | |||
| 28 | public: | 28 | public: |
| 29 | AudioPlayer(); | 29 | AudioPlayer(); |
| 30 | static AudioPlayer *self(); | 30 | static AudioPlayer *self(); |
| 31 | bool isWorking(); | 31 | bool isWorking() const; |
| 32 | void stop(); | 32 | void stop(); |
| 33 | void setMuted(bool mute = true); | 33 | void setMuted(bool mute = true); |
| 34 | bool isMuted() const; | ||
| 34 | void play(Sound sound); | 35 | void play(Sound sound); |
| 35 | void clear(); | 36 | void clear(); |
| 36 | void enqueue(Sound sound); | 37 | void enqueue(Sound sound); |
| 37 | void clearQueue(); | 38 | void clearQueue() const; |
| 38 | Phonon::State state(); | 39 | Phonon::State state(); |
| 39 | 40 | ||
| 40 | signals: | 41 | signals: |
