Qmmp
|
The Volume class provides asbtract volume interface. More...
#include <volume.h>
Inherited by SoftwareVolume.
Signals | |
void | changed () |
Public Member Functions | |
virtual | ~Volume () |
virtual void | setVolume (const VolumeSettings &volume)=0 |
virtual VolumeSettings | volume () const =0 |
virtual bool | hasNotifySignal () const |
The Volume class provides asbtract volume interface.
virtual ~Volume | ( | ) | [inline, virtual] |
Destructor.
void changed | ( | ) | [signal] |
Emitted if volume is changed.
virtual bool hasNotifySignal | ( | ) | const [virtual] |
Returns true if the object supports change notification via emitting changed() signal so polling the volume is not needed.
virtual void setVolume | ( | const VolumeSettings & | volume | ) | [pure virtual] |
Setups volume levels. Subclass should reimplement this fucntion.
volume | Structure with required volume levels. |
virtual VolumeSettings volume | ( | ) | const [pure virtual] |
Returns volume level of the channel.