summaryrefslogtreecommitdiff
path: root/plugin/status.h
diff options
context:
space:
mode:
authorJochen Dolze <vdr@dolze.de>2010-03-30 18:49:58 +0200
committerJochen Dolze <vdr@dolze.de>2010-03-30 18:49:58 +0200
commit74cdd9ffa1d0e5f74942051e7e22e07542929c03 (patch)
treee59472547b1ed3543b8e2d1d0e2a7c52fcb24c04 /plugin/status.h
parent6446f24dce1b30fa341b7de078ca4385d1378457 (diff)
downloadvdr-plugin-markad-74cdd9ffa1d0e5f74942051e7e22e07542929c03.tar.gz
vdr-plugin-markad-74cdd9ffa1d0e5f74942051e7e22e07542929c03.tar.bz2
Changed directory structure, added Makefiles
Diffstat (limited to 'plugin/status.h')
-rw-r--r--plugin/status.h30
1 files changed, 30 insertions, 0 deletions
diff --git a/plugin/status.h b/plugin/status.h
new file mode 100644
index 0000000..fbdd7c7
--- /dev/null
+++ b/plugin/status.h
@@ -0,0 +1,30 @@
+/*
+ * status.h: A plugin for the Video Disk Recorder
+ *
+ * See the README file for copyright information and how to reach the author.
+ *
+ */
+#ifndef __status_h_
+#define __status_h_
+
+#include <vdr/status.h>
+
+#define UNUSED(v) UNUSED_ ## v __attribute__((unused))
+
+// --- cStatusMarkAd
+class cStatusMarkAd : public cStatus
+{
+private:
+ char *recs[MAXDEVICES*MAXRECEIVERS];
+ const char *bindir;
+ const char *logodir;
+ void Add(const char *FileName);
+protected:
+ virtual void Recording(const cDevice *Device, const char *Name, const char *FileName, bool On);
+public:
+ cStatusMarkAd(const char *BinDir,const char *LogoDir);
+ ~cStatusMarkAd();
+ bool MarkAdRunning(void);
+};
+
+#endif