Freya  0.0.1
A Gtk3 MPD Client
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
src/Browser/NowPlaying/CoverArtMgr.hh
Go to the documentation of this file.
00001 #ifndef FREYA_COVERARTMGR_HH
00002 #define FREYA_COVERARTMGR_HH
00003 
00004 #include <gtkmm.h>
00005 #include "../../MPD/AbstractClientUser.hh"
00006 #include "EventImage.hh"
00007 #include "../../Glyr/UpdateInterface.hh"
00008 
00009 namespace Browser
00010 {
00011     class CoverArtMgr : public Gtk::Expander, public Glyr::UpdateInterface
00012     {
00013         public:
00014             CoverArtMgr(BaseObjectType* cobject, const Glib::RefPtr<Gtk::Builder>& builder);
00015             ~CoverArtMgr();
00016 
00017         protected:
00018 
00019             void update(MPD::Client& client, mpd_idle event, MPD::NotifyData& data);
00020             void on_deliver(GlyrMemCache * list);
00021 
00022         private:
00023 
00024             Gtk::Label * mp_ArtistLabel, 
00025                 * mp_AlbumLabel,
00026                 * mp_TitleLabel,
00027                 * mp_YearLabel;
00028 
00029             EventImage * coverArt;
00030     };
00031 }
00032 
00033 #endif /* end of include guard: FREYA_COVERARTMGR_HH */
00034