diff options
author | chriszero <zerov83@gmail.com> | 2015-01-28 21:17:18 +0100 |
---|---|---|
committer | chriszero <zerov83@gmail.com> | 2015-01-28 21:17:18 +0100 |
commit | 87eb8a9e931606da4197391b6e3a09376b1383c2 (patch) | |
tree | 9427c28a2d7e9e44d4d77dc7fe53ff91f5152e23 /Stream.h | |
parent | 1da4dbe662e75be47e046472137c6bd72daa7b4d (diff) | |
download | vdr-plugin-plex-87eb8a9e931606da4197391b6e3a09376b1383c2.tar.gz vdr-plugin-plex-87eb8a9e931606da4197391b6e3a09376b1383c2.tar.bz2 |
- Counting played time correctly
- Implemented switching audiostreams
- Removed some compile warnings
Diffstat (limited to 'Stream.h')
-rw-r--r-- | Stream.h | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/Stream.h b/Stream.h new file mode 100644 index 0000000..f8a392c --- /dev/null +++ b/Stream.h @@ -0,0 +1,51 @@ +#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); + +public: + 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; +}; + +} + +#endif // STREAM_H |