blob: 64a6fc272590006bd7643a549a5eba7ac69c6ede (
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
|
#ifndef STREAM_H
#define STREAM_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/NodeList.h>
#include <Poco/DOM/AutoPtr.h>
#include <Poco/Exception.h>
#include <Poco/Timestamp.h>
#include <Poco/String.h>
#include <vector>
#include <iostream>
#include "XmlObject.h" // Base class: model::XmlObject
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 Stream : XmlObject {
public:
Stream(Poco::XML::Node *pNode);
Stream() { };
public:
bool m_bSelected;
int m_iID;
int m_iStreamType;
int m_iIndex;
int m_iChannels;
std::string m_sCodec;
std::string m_sCodecId;
std::string m_sLanguage;
std::string m_sLanguageCode;
StreamType m_eStreamType;
std::string GetSetStreamQuery();
};
}
#endif // STREAM_H
|