summaryrefslogtreecommitdiff
path: root/run.h
diff options
context:
space:
mode:
authorKeine_Ahnung <no@mail.com>2013-01-25 18:12:49 +0100
committerKeine_Ahnung <no@mail.com>2013-01-25 18:12:49 +0100
commit8e500e48aa6d27f3f61f6659e77cf49b599f7394 (patch)
treeb1d2e14881346c2a76325174b83e8e078393b5aa /run.h
parent10c1a2a05d65a8e89c4e5c1da9452fef24280f77 (diff)
downloadvdr-plugin-uactivity-8e500e48aa6d27f3f61f6659e77cf49b599f7394.tar.gz
vdr-plugin-uactivity-8e500e48aa6d27f3f61f6659e77cf49b599f7394.tar.bz2
more to come
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