Part of IRC UI package. Plays IRC related sounds. More...
#include <ircsounds.h>
Public Types | |
enum | SoundType { NicknameUsed, PrivateMessageReceived } |
Public Member Functions | |
void | loadFromConfig () |
Reloads all sounds using paths stored in config. More... | |
void | playIfAvailable (SoundType sound) |
Plays given sound. More... | |
Part of IRC UI package. Plays IRC related sounds.
Loads, stores and plays IRC sounds if they are available and if Doomseeker is configured to use them.
Definition at line 36 of file ircsounds.h.
void IRCSounds::loadFromConfig | ( | ) |
Reloads all sounds using paths stored in config.
All previously loaded sounds are unloaded.
Definition at line 30 of file ircsounds.cpp.
void IRCSounds::playIfAvailable | ( | SoundType | sound | ) |
Plays given sound.
Definition at line 56 of file ircsounds.cpp.