summaryrefslogtreecommitdiff
path: root/live.h
diff options
context:
space:
mode:
Diffstat (limited to 'live.h')
-rw-r--r--live.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/live.h b/live.h
index 2544724..2b224a1 100644
--- a/live.h
+++ b/live.h
@@ -3,6 +3,7 @@
#include <memory>
#include <string>
+#include <vdr/config.h>
#include <vdr/plugin.h>
#include "thread.h"
@@ -23,12 +24,18 @@ public:
virtual bool SetupParse(const char *Name, const char *Value);
static std::string const& GetConfigDirectory() { return m_configDirectory; }
+#if APIVERSNUM > 10729
+ static std::string const& GetResourceDirectory() { return m_resourceDirectory; }
+#endif
private:
static const char *VERSION;
static const char *DESCRIPTION;
static std::string m_configDirectory;
+#if APIVERSNUM > 10729
+ static std::string m_resourceDirectory;
+#endif
std::auto_ptr< ServerThread > m_thread;
};