summaryrefslogtreecommitdiff
path: root/run.h
diff options
context:
space:
mode:
Diffstat (limited to 'run.h')
-rw-r--r--run.h27
1 files changed, 27 insertions, 0 deletions
diff --git a/run.h b/run.h
new file mode 100644
index 0000000..e6c035e
--- /dev/null
+++ b/run.h
@@ -0,0 +1,27 @@
+#ifndef __RUN_H
+#define __RUN_H
+
+#include <vdr/keys.h>
+
+enum eOrgin {oStartUp, oShutDown, oRunning};
+
+class cRun {
+private:
+ char *myConfigDirectory;
+ char *myCacheDirectory;
+ char *myResourceDirectory;
+ cKey myKey;
+public:
+ cRun() { };
+ ~cRun();
+ void SetConfigDirectory(const char *Directory);
+ void SetCacheDirectory(const char *Directory);
+ void SetResourceDirectory(const char *Directory);
+ void Call(eOrgin Orgin, bool Active=false);
+ void Call(eKeys Key);
+ void Call();
+};
+
+extern cRun Run;
+
+#endif //__RUN_H