summaryrefslogtreecommitdiff
path: root/status.h
diff options
context:
space:
mode:
authorkamel5 <vdr.kamel5 (at) gmx (dot) net>2022-05-24 17:27:53 +0200
committerkamel5 <vdr.kamel5 (at) gmx (dot) net>2022-05-28 14:47:56 +0200
commitaeb1dc8099631e4ce427e7e07997acf02c75c9cf (patch)
treef9b25af17cbea29ccedeefd9e8a776ac5d12ca22 /status.h
parent87fafc9d6531a2fcb06190005d0486aaf8fe1dc7 (diff)
downloadskin-lcarsng-aeb1dc8099631e4ce427e7e07997acf02c75c9cf.tar.gz
skin-lcarsng-aeb1dc8099631e4ce427e7e07997acf02c75c9cf.tar.bz2
Add volume bar to main menus
Diffstat (limited to 'status.h')
-rw-r--r--status.h24
1 files changed, 24 insertions, 0 deletions
diff --git a/status.h b/status.h
new file mode 100644
index 0000000..4a2d864
--- /dev/null
+++ b/status.h
@@ -0,0 +1,24 @@
+/*
+ * status.h: Keeping track of several VDR status settings
+ */
+
+#ifndef __STATUS_H_
+#define __STATUS_H_
+
+#include <vdr/status.h>
+
+class cLCARSNGStatusMonitor : public cStatus
+{
+private:
+ int Volume = 0;
+protected:
+ virtual void SetVolume(int Volume, bool Absolute);
+public:
+ cLCARSNGStatusMonitor(void) {};
+ ~cLCARSNGStatusMonitor(void) {};
+ int GetVolume(void) { return Volume; };
+};
+
+extern cLCARSNGStatusMonitor *statusMonitor;
+
+#endif