summaryrefslogtreecommitdiff
path: root/Directory.h
diff options
context:
space:
mode:
authorchriszero <zerov83@gmail.com>2014-11-15 19:43:07 +0100
committerchriszero <zerov83@gmail.com>2014-11-15 19:43:07 +0100
commit23f9f7712bfa33b5a488a447a6fabe6035cc3240 (patch)
tree06bbe8e0bc52496c5ad3c41accc7524aa597e670 /Directory.h
parenta40adaf76fb1267d38b4c5e6386933ddb2d0d328 (diff)
downloadvdr-plugin-plex-23f9f7712bfa33b5a488a447a6fabe6035cc3240.tar.gz
vdr-plugin-plex-23f9f7712bfa33b5a488a447a6fabe6035cc3240.tar.bz2
initial commit
Diffstat (limited to 'Directory.h')
-rw-r--r--Directory.h51
1 files changed, 51 insertions, 0 deletions
diff --git a/Directory.h b/Directory.h
new file mode 100644
index 0000000..fb54bc5
--- /dev/null
+++ b/Directory.h
@@ -0,0 +1,51 @@
+#ifndef DIRECTORY_H
+#define DIRECTORY_H
+
+#include <Poco/DOM/DOMParser.h>
+#include <Poco/DOM/Document.h>
+#include <Poco/DOM/NamedNodeMap.h>
+#include <Poco/DOM/NodeIterator.h>
+#include <Poco/DOM/NodeFilter.h>
+#include <Poco/DOM/AutoPtr.h>
+#include <Poco/Exception.h>
+#include <Poco/Timestamp.h>
+#include <Poco/String.h>
+
+#include "XmlObject.h"
+
+using Poco::XML::DOMParser;
+using Poco::XML::Document;
+using Poco::XML::NodeIterator;
+using Poco::XML::NodeFilter;
+using Poco::XML::Node;
+using Poco::XML::AutoPtr;
+using Poco::Exception;
+
+namespace plexclient
+{
+
+class Directory: XmlObject
+{
+public:
+ Directory(Poco::XML::Node* pNode);
+ ~Directory();
+
+public:
+ bool m_bAllowSync;
+ std::string m_sTitle;
+ std::string m_sComposite;
+ std::string m_sLanguage;
+ std::string m_sUuid;
+ std::string m_sArt;
+ std::string m_sThumb;
+ Poco::Timestamp m_tUpdatedAt;
+ Poco::Timestamp m_tCreatedAt;
+ std::string m_sKey;
+ MediaType m_eType;
+
+};
+
+}
+
+
+#endif // DIRECTORY_H