25 #ifndef _SOUND_CONTROL_H_ 26 #define _SOUND_CONTROL_H_ 51 void SetCallback(
void (*
object),
void (*
function) (
void *));
109 void (*callbackobject);
110 void (*callbackfunction) (
void *);
bool GetToggle()
Get current Toggle state.
void ActivateToggle()
activates Toggle.
void SetVolume(float vol)
Sets volume to the given float.
void RemoveCallback()
Removes Callback.
void DeactivateToggle()
deactivates Toggle.
void Unmute()
Unmute this.
~SoundControl()
Destructor.
void SetToggle(bool value)
Sets Toggle.
A Volume and Sound control class.
float GetVolume()
Returns current Volume as float.
SoundControl()
Constructor.
void SetCallback(void(*object), void(*function)(void *))
Sets internal callbackpointers.