|
Freya
0.0.1
A Gtk3 MPD Client
|
Very similar to AbstractClientUser, but doesnt take a Client instance. More...
#include <UpdateInterface.hh>
Public Member Functions | |
| UpdateInterface () | |
| virtual void | update (MPD::Client &client, mpd_idle event, MPD::NotifyData &data)=0 |
| This is a convienience implementationrule. | |
| virtual void | on_deliver (GlyrMemCache *c) |
| Called once an item is ready. | |
Friends | |
| class | Glyr::Stack |
Very similar to AbstractClientUser, but doesnt take a Client instance.
Definition at line 14 of file UpdateInterface.hh.
| Glyr::UpdateInterface::UpdateInterface | ( | ) | [inline] |
Definition at line 20 of file UpdateInterface.hh.
| virtual void Glyr::UpdateInterface::on_deliver | ( | GlyrMemCache * | c | ) | [inline, virtual] |
Called once an item is ready.
Note: it's only called for the last request, or when requets are enqueue()'d
| c | the ready to use item |
Reimplemented in Browser::CoverArtMgr, Browser::TextPageMgr, Browser::ArtistPhotosMgr, Browser::OtherAlbumsMgr, and Browser::RelatedLinksMgr.
Definition at line 47 of file UpdateInterface.hh.
| virtual void Glyr::UpdateInterface::update | ( | MPD::Client & | client, |
| mpd_idle | event, | ||
| MPD::NotifyData & | data | ||
| ) | [pure virtual] |
This is a convienience implementationrule.
Many Metadatamanagers are implemented as Gtk::Builder derivates, i.e. deriving from a widget, and letting Gtk::Builder set the basic attributes. Since this requries a special ctor, those cannot implement AbstractClientUser like other classes.
| client | |
| event | |
| data |
Implemented in Browser::TextItemsMgr, Browser::CoverArtMgr, Browser::ArtistPhotosMgr, Browser::OtherAlbumsMgr, Browser::RelatedLinksMgr, Browser::TextPageMgr, and Browser::TracklistMgr.
friend class Glyr::Stack [friend] |
Definition at line 16 of file UpdateInterface.hh.
1.8.0