From 21ee9e67ff7029c099c9fd772d3dc3e23c955199 Mon Sep 17 00:00:00 2001 From: chriszero Date: Sat, 4 Apr 2015 15:10:52 +0200 Subject: more skindesigner support --- PVideo.h | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'PVideo.h') diff --git a/PVideo.h b/PVideo.h index 03e0b0a..7c04bd4 100644 --- a/PVideo.h +++ b/PVideo.h @@ -41,7 +41,7 @@ private: void Parse(Poco::XML::Node* pNode); public: - Video(Poco::XML::Node* pNode, PlexServer Server, MediaContainer* parent); + Video(Poco::XML::Node* pNode, PlexServer* Server, MediaContainer* parent); Video() {}; public: @@ -70,7 +70,7 @@ public: std::vector m_vRole; std::string m_sCollection; Media m_Media; - PlexServer m_Server; + PlexServer* m_pServer; int m_iMyPlayOffset; int m_iIndex; int m_iParentIndex; @@ -80,9 +80,11 @@ public: bool UpdateFromServer(); bool SetWatched(); bool SetUnwatched(); - + std::string ThumbUri(); + std::string ArtUri(); + // gridElement - virtual void AddTokens(std::shared_ptr grid); + virtual void AddTokens(std::shared_ptr grid, bool clear = true, std::function OnCached = NULL); }; } -- cgit v1.2.3