summaryrefslogtreecommitdiff
path: root/status.h
diff options
context:
space:
mode:
authorSascha Volkenandt <sascha (at) akv-soft (dot) de>2007-01-18 18:29:30 +0000
committerSascha Volkenandt <sascha (at) akv-soft (dot) de>2007-01-18 18:29:30 +0000
commit2f936c22b443086d6d621ab37dd9523d8f153f1d (patch)
treecda6945944457d965d5a4a4dc0c5130c41d34a75 /status.h
parentb571722150e379925cc55ec7a9f52f1b9f2ad61a (diff)
downloadvdr-plugin-live-2f936c22b443086d6d621ab37dd9523d8f153f1d.tar.gz
vdr-plugin-live-2f936c22b443086d6d621ab37dd9523d8f153f1d.tar.bz2
- added status monitor to reload timers when a recording starts or stops
Diffstat (limited to 'status.h')
-rw-r--r--status.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/status.h b/status.h
new file mode 100644
index 0000000..6f1b3ce
--- /dev/null
+++ b/status.h
@@ -0,0 +1,23 @@
+#ifndef VDR_LIVE_STATUS_H
+#define VDR_LIVE_STATUS_H
+
+#include <vdr/status.h>
+
+namespace vdrlive {
+
+class StatusMonitor: public cStatus
+{
+ friend StatusMonitor& LiveStatusMonitor();
+
+private:
+ StatusMonitor();
+ StatusMonitor( StatusMonitor const& );
+
+ virtual void Recording( cDevice const* Device, char const* Name, char const* FileName, bool On );
+};
+
+StatusMonitor& LiveStatusMonitor();
+
+} // namespace vdrlive
+
+#endif // VDR_LIVE_STATUS_H