summaryrefslogtreecommitdiff
path: root/PVideo.h
diff options
context:
space:
mode:
Diffstat (limited to 'PVideo.h')
-rw-r--r--PVideo.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/PVideo.h b/PVideo.h
index c419fff..03e0b0a 100644
--- a/PVideo.h
+++ b/PVideo.h
@@ -14,6 +14,9 @@
#include <vector>
#include <iostream>
+#include <memory>
+#include "libskindesigner/osdelements.h"
+#include "viewGridNavigator.h"
#include "XmlObject.h"
#include "MediaContainer.h"
@@ -32,7 +35,7 @@ namespace plexclient
{
class MediaContainer;
-class Video: XmlObject
+class Video: private XmlObject, public cGridElement
{
private:
void Parse(Poco::XML::Node* pNode);
@@ -72,11 +75,14 @@ public:
int m_iIndex;
int m_iParentIndex;
- std::string GetTitle();
+ virtual std::string GetTitle();
bool SetStream(Stream* stream);
bool UpdateFromServer();
bool SetWatched();
bool SetUnwatched();
+
+ // gridElement
+ virtual void AddTokens(std::shared_ptr<cViewGrid> grid);
};
}