From 4a86011372c06315b2796f2f4e82c7801027453e Mon Sep 17 00:00:00 2001 From: chriszero Date: Mon, 16 Feb 2015 20:26:13 +0100 Subject: Changed Menunavigation, Added Videochannels --- cPlexOsdItem.h | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) (limited to 'cPlexOsdItem.h') diff --git a/cPlexOsdItem.h b/cPlexOsdItem.h index 9aba337..e484d9a 100644 --- a/cPlexOsdItem.h +++ b/cPlexOsdItem.h @@ -1,31 +1,33 @@ #ifndef CPLEXOSDITEM_H #define CPLEXOSDITEM_H +#include + #include // Base class: cOsdItem #include #include #include "PVideo.h" #include "Directory.h" -#include "PlexServer.h" +#include "Plexservice.h" class cPlexOsdItem : public cOsdItem { private: - plexclient::Video *item; - plexclient::Directory *dir; - plexclient::PlexServer *pserver; + plexclient::Video* item; + plexclient::Directory* dir; + std::shared_ptr pservice; bool m_bVideo; bool m_bDir; public: cPlexOsdItem(const char* title); - cPlexOsdItem(const char* title, plexclient::PlexServer* server); + cPlexOsdItem(const char* title, std::shared_ptr service); cPlexOsdItem(const char* title, plexclient::Video* obj); cPlexOsdItem(const char* title, plexclient::Directory* obj); plexclient::Video* GetAttachedVideo(); plexclient::Directory* GetAttachedDirectory(); - plexclient::PlexServer* GetAttachedServer(); + std::shared_ptr GetAttachedService(); bool IsVideo() const { return m_bVideo; -- cgit v1.2.3