diff options
author | Christian <zerov83@gmail.com> | 2016-02-13 21:39:23 +0100 |
---|---|---|
committer | Christian <zerov83@gmail.com> | 2016-02-13 21:39:23 +0100 |
commit | 96a27aa661e2e5562dd9fac1b8eadf0304f92da1 (patch) | |
tree | 37d5ba75017552e71524be02c563aa97311b83ff /PVideo.h | |
parent | 63f30c89b51e54301d5dbfa981dc95e8f11af6c5 (diff) | |
download | vdr-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.h | 17 |
1 files changed, 13 insertions, 4 deletions
@@ -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 }; } |