diff options
author | chriszero <zerov83@gmail.com> | 2015-04-04 15:10:52 +0200 |
---|---|---|
committer | chriszero <zerov83@gmail.com> | 2015-04-04 15:10:52 +0200 |
commit | 21ee9e67ff7029c099c9fd772d3dc3e23c955199 (patch) | |
tree | 254ecef54be3682aea55ff747f3d2912e5732faf /Directory.h | |
parent | b3a59b06a977129bd773ff46f4fd66e0057fb9cd (diff) | |
download | vdr-plugin-plex-21ee9e67ff7029c099c9fd772d3dc3e23c955199.tar.gz vdr-plugin-plex-21ee9e67ff7029c099c9fd772d3dc3e23c955199.tar.bz2 |
more skindesigner support
Diffstat (limited to 'Directory.h')
-rw-r--r-- | Directory.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/Directory.h b/Directory.h index b4a78d1..f25de85 100644 --- a/Directory.h +++ b/Directory.h @@ -17,6 +17,7 @@ #include "XmlObject.h" #include "MediaContainer.h" #include "viewGridNavigator.h" +#include "PlexServer.h" using Poco::XML::DOMParser; using Poco::XML::Document; @@ -33,7 +34,7 @@ class MediaContainer; class Directory: private XmlObject, public cGridElement { public: - Directory(Poco::XML::Node* pNode, MediaContainer* parent); + Directory(Poco::XML::Node* pNode, PlexServer* Server, MediaContainer* parent); public: bool m_bAllowSync; @@ -51,10 +52,11 @@ public: Poco::Timestamp m_tCreatedAt; std::string m_sKey; MediaType m_eType; - + PlexServer* m_pServer; + virtual std::string GetTitle(); // gridElement - virtual void AddTokens(std::shared_ptr<cViewGrid> grid); + virtual void AddTokens(std::shared_ptr<cOsdElement> grid, bool clear = true, std::function<void(cGridElement*)> OnCached = NULL); }; } |