|
Freya
0.0.1
A Gtk3 MPD Client
|
#include <Database.hh>
Data Structures | |
| class | ModelColumns |
| The column definition. | |
Public Member Functions | |
| Database (MPD::Client &client, Glib::RefPtr< Gtk::Builder > &builder) | |
| Builds itself after passing a builder reference. | |
| virtual | ~Database () |
| Gtk::Widget * | get_container () |
| Implemented from AbstractBrowser. | |
| void | add_item (MPD::AbstractComposite *pItem) |
| Implemented from AbstractFilebrowser. | |
In order to use the Client's fill_filelist function it inherits from AbstractFilebrowser, Since it is a Browser itself it also inherits from AbstractBrowser so it can be added to the Browserlist But instead from filling the data directly from the client DatabaseCache is used (over the Proxy pattern)
Definition at line 52 of file Database.hh.
| Browser::Database::Database | ( | MPD::Client & | client, |
| Glib::RefPtr< Gtk::Builder > & | builder | ||
| ) |
Builds itself after passing a builder reference.
| client | |
| builder |
| virtual Browser::Database::~Database | ( | ) | [virtual] |
| void Browser::Database::add_item | ( | MPD::AbstractComposite * | pItem | ) | [virtual] |
Implemented from AbstractFilebrowser.
You are not supposed to call this yourself.
| pSong | A dyn. allocated MPD::Song instance |
Implements MPD::AbstractItemlist.
| Gtk::Widget* Browser::Database::get_container | ( | ) | [virtual] |
Implemented from AbstractBrowser.
You are not supposed to call this yourself.
Implements AbstractBrowser.
1.8.0