|
Freya
0.0.1
A Gtk3 MPD Client
|
Wrapper for mpd_output, implements also two client commands: enable() and disable() More...
#include <AudioOutput.hh>
Public Member Functions | |
| AudioOutput (MPD::BaseClient &client, mpd_output &output) | |
| You cannot instance this class yourself. | |
| unsigned | get_id () |
| Output ID - this is usually not needed. | |
| const char * | get_name () |
| Get the name of this putput. | |
| bool | get_enabled () |
| Obvious. | |
| bool | enable () |
| Enable this output. | |
| bool | disable () |
| Disable this output. | |
| const char * | get_path () |
| Alias for get_name() (Implemented due to Compositum) | |
Wrapper for mpd_output, implements also two client commands: enable() and disable()
Definition at line 45 of file AudioOutput.hh.
| MPD::AudioOutput::AudioOutput | ( | MPD::BaseClient & | client, |
| mpd_output & | output | ||
| ) |
You cannot instance this class yourself.
| client | |
| output |
| bool MPD::AudioOutput::disable | ( | ) |
Disable this output.
| bool MPD::AudioOutput::enable | ( | ) |
Enable this output.
| bool MPD::AudioOutput::get_enabled | ( | ) |
Obvious.
| unsigned MPD::AudioOutput::get_id | ( | ) |
Output ID - this is usually not needed.
| const char* MPD::AudioOutput::get_name | ( | ) |
Get the name of this putput.
| const char* MPD::AudioOutput::get_path | ( | ) | [virtual] |
1.8.0