IRCSounds Class Reference

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...
 

Detailed Description

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.

Member Function Documentation

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 58 of file ircsounds.cpp.


The documentation for this class was generated from the following files: