From e412257abf8de4576a180351d24ff07589fa630c Mon Sep 17 00:00:00 2001 From: chriszero Date: Sat, 14 Feb 2015 18:53:11 +0100 Subject: Various Fixes Bump Version to frist beta. --- Directory.h | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) (limited to 'Directory.h') diff --git a/Directory.h b/Directory.h index fb54bc5..8638565 100644 --- a/Directory.h +++ b/Directory.h @@ -12,6 +12,7 @@ #include #include "XmlObject.h" +#include "MediaContainer.h" using Poco::XML::DOMParser; using Poco::XML::Document; @@ -23,16 +24,20 @@ using Poco::Exception; namespace plexclient { - +class MediaContainer; + class Directory: XmlObject -{ +{ public: - Directory(Poco::XML::Node* pNode); - ~Directory(); + Directory(Poco::XML::Node* pNode, MediaContainer* parent); public: bool m_bAllowSync; + int m_iIndex; + int m_iYear; std::string m_sTitle; + std::string m_sTitle1; + std::string m_sTitle2; std::string m_sComposite; std::string m_sLanguage; std::string m_sUuid; @@ -42,7 +47,9 @@ public: Poco::Timestamp m_tCreatedAt; std::string m_sKey; MediaType m_eType; - + MediaContainer* m_pParent; + + std::string GetTitle(); }; } -- cgit v1.2.3