|
Freya
0.0.1
A Gtk3 MPD Client
|
Outputlist Tab. More...
#include <SettingsOutputs.hh>
Public Member Functions | |
| SettingsOutputs (MPD::Client &client, Glib::RefPtr< Gtk::Builder > &builder, Browser::Settings *sett) | |
| ~SettingsOutputs () | |
| void | accept_new_settings () |
| void | decline_new_settings () |
| void | reset_settings () |
| void | add_item (MPD::AbstractComposite *item) |
| Called after calling (e.g.) fill_queue() | |
Protected Member Functions | |
| void | on_client_update (enum mpd_idle event, MPD::NotifyData &data) |
| Derived class have to implement this. | |
| void | on_connection_change (bool, bool) |
| Derived class have to implement this. | |
| void | on_toggle (const Glib::ustring &path) |
| bool | on_select (const Glib::RefPtr< Gtk::TreeModel > &model, const Gtk::TreeModel::Path &path, bool) |
| void | clear () |
Outputlist Tab.
Definition at line 49 of file SettingsOutputs.hh.
| Browser::SettingsOutputs::SettingsOutputs | ( | MPD::Client & | client, |
| Glib::RefPtr< Gtk::Builder > & | builder, | ||
| Browser::Settings * | sett | ||
| ) |
| void Browser::SettingsOutputs::accept_new_settings | ( | ) | [virtual] |
Implements Browser::AbstractSettings.
| void Browser::SettingsOutputs::add_item | ( | MPD::AbstractComposite * | item | ) | [virtual] |
Called after calling (e.g.) fill_queue()
Cast this to the correct type, fill_queue delivers you for example a MPD::Song*
| item | a dynamically allocated item |
Implements MPD::AbstractItemlist.
| void Browser::SettingsOutputs::clear | ( | ) | [protected] |
| void Browser::SettingsOutputs::decline_new_settings | ( | ) | [virtual] |
Implements Browser::AbstractSettings.
| void Browser::SettingsOutputs::on_client_update | ( | enum mpd_idle | mpd_idle, |
| MPD::NotifyData & | data | ||
| ) | [protected, virtual] |
Derived class have to implement this.
It is called once the Listener notices any changed
| mpd_idle | the type of the change (see http://www.musicpd.org/doc/libmpdclient/idle_8h.html#a3378f7a24c714d7cb1058232330d7a1c) |
| data | a reference to MPD::NotifyData, for use with get_status() etc. |
Implements MPD::AbstractClientUser.
| void Browser::SettingsOutputs::on_connection_change | ( | bool | server_changed, |
| bool | is_connected | ||
| ) | [protected, virtual] |
Derived class have to implement this.
Called once the Client connects or disconnects server_changed can only be true when is_connected is true
| server_changed | true if the server changed on connect |
| is_connected | true if connected |
Implements MPD::AbstractClientUser.
| bool Browser::SettingsOutputs::on_select | ( | const Glib::RefPtr< Gtk::TreeModel > & | model, |
| const Gtk::TreeModel::Path & | path, | ||
| bool | |||
| ) | [protected] |
| void Browser::SettingsOutputs::on_toggle | ( | const Glib::ustring & | path | ) | [protected] |
| void Browser::SettingsOutputs::reset_settings | ( | ) | [virtual] |
Implements Browser::AbstractSettings.
1.8.0