summaryrefslogtreecommitdiff
path: root/PVideo.h
diff options
context:
space:
mode:
authorChristian <zerov83@gmail.com>2016-02-13 21:39:23 +0100
committerChristian <zerov83@gmail.com>2016-02-13 21:39:23 +0100
commit96a27aa661e2e5562dd9fac1b8eadf0304f92da1 (patch)
tree37d5ba75017552e71524be02c563aa97311b83ff /PVideo.h
parent63f30c89b51e54301d5dbfa981dc95e8f11af6c5 (diff)
downloadvdr-plugin-plex-96a27aa661e2e5562dd9fac1b8eadf0304f92da1.tar.gz
vdr-plugin-plex-96a27aa661e2e5562dd9fac1b8eadf0304f92da1.tar.bz2
define for compiling without libskindesiger.
Use 'make DISABLESKINDESIGNER=1'
Diffstat (limited to 'PVideo.h')
-rw-r--r--PVideo.h17
1 files changed, 13 insertions, 4 deletions
diff --git a/PVideo.h b/PVideo.h
index 493f464..f4d8e0c 100644
--- a/PVideo.h
+++ b/PVideo.h
@@ -15,8 +15,12 @@
#include <vector>
#include <iostream>
#include <memory>
-#include <libskindesignerapi/osdelements.h>
-#include "viewGridNavigator.h"
+
+#ifdef SKINDESIGNER
+ #include <libskindesignerapi/osdelements.h>
+ #include "viewGridNavigator.h"
+ #include "pictureCache.h"
+#endif
#include "XmlObject.h"
#include "MediaContainer.h"
@@ -35,7 +39,10 @@ namespace plexclient
{
class MediaContainer;
-class Video: private XmlObject, public cGridElement
+class Video: private XmlObject
+#ifdef SKINDESIGNER
+,public cGridElement
+#endif
{
private:
MediaContainer* m_pParent;
@@ -90,9 +97,11 @@ public:
std::string ArtUri();
std::string GetSubtitleUrl();
-
+
+#ifdef SKINDESIGNER
// gridElement
virtual void AddTokens(std::shared_ptr<skindesignerapi::cOsdElement> grid, bool clear = true, std::function<void(cGridElement*)> OnCached = NULL);
+#endif
};
}