Freya  0.0.1
A Gtk3 MPD Client
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions | Friends
Glyr::UpdateInterface Class Reference

Very similar to AbstractClientUser, but doesnt take a Client instance. More...

#include <UpdateInterface.hh>

Inheritance diagram for Glyr::UpdateInterface:
[legend]

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

Detailed Description

Very similar to AbstractClientUser, but doesnt take a Client instance.

Definition at line 14 of file UpdateInterface.hh.


Constructor & Destructor Documentation

Definition at line 20 of file UpdateInterface.hh.


Member Function Documentation

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

Parameters:
cthe 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.

Parameters:
client
event
data

Implemented in Browser::TextItemsMgr, Browser::CoverArtMgr, Browser::ArtistPhotosMgr, Browser::OtherAlbumsMgr, Browser::RelatedLinksMgr, Browser::TextPageMgr, and Browser::TracklistMgr.


Friends And Related Function Documentation

friend class Glyr::Stack [friend]

Definition at line 16 of file UpdateInterface.hh.


The documentation for this class was generated from the following file: