diff options
author | Keine_Ahnung <no@mail.com> | 2013-01-25 18:12:49 +0100 |
---|---|---|
committer | Keine_Ahnung <no@mail.com> | 2013-01-25 18:12:49 +0100 |
commit | 8e500e48aa6d27f3f61f6659e77cf49b599f7394 (patch) | |
tree | b1d2e14881346c2a76325174b83e8e078393b5aa /run.h | |
parent | 10c1a2a05d65a8e89c4e5c1da9452fef24280f77 (diff) | |
download | vdr-plugin-uactivity-8e500e48aa6d27f3f61f6659e77cf49b599f7394.tar.gz vdr-plugin-uactivity-8e500e48aa6d27f3f61f6659e77cf49b599f7394.tar.bz2 |
more to come
Diffstat (limited to 'run.h')
-rw-r--r-- | run.h | 27 |
1 files changed, 27 insertions, 0 deletions
@@ -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 |