summaryrefslogtreecommitdiff
path: root/Directory.h
blob: 19bd17fdf2b853f6f0a15716def2c36042cb64a0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
#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"
#include "MediaContainer.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 MediaContainer;
	
class Directory: XmlObject
{	
public:
	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;
	std::string m_sArt;
	std::string m_sThumb;
	Poco::Timestamp m_tUpdatedAt;
	Poco::Timestamp m_tCreatedAt;
	std::string m_sKey;
	MediaType m_eType;
	
	std::string GetTitle();
};

}


#endif // DIRECTORY_H