summaryrefslogtreecommitdiff
path: root/status.h
diff options
context:
space:
mode:
Diffstat (limited to 'status.h')
-rw-r--r--status.h29
1 files changed, 29 insertions, 0 deletions
diff --git a/status.h b/status.h
new file mode 100644
index 0000000..b78e291
--- /dev/null
+++ b/status.h
@@ -0,0 +1,29 @@
+//////////////////////////////////////////////////////////////////////////////
+/// ///
+/// This file is part of the VDR mpv plugin and licensed under AGPLv3 ///
+/// ///
+/// See the README file for copyright information ///
+/// ///
+//////////////////////////////////////////////////////////////////////////////
+
+#ifndef __MPV_STATUS_H
+#define __MPV_STATUS_H
+
+#include <vdr/status.h>
+#include "player.h"
+
+class cMpvStatus:public cStatus
+{
+ private:
+ int Volume; // current volume
+ cMpvPlayer *Player;
+
+ public:
+ cMpvStatus(cMpvPlayer *player);
+
+ protected:
+ virtual void SetVolume(int volume, bool absolute); // volume changed
+};
+
+#endif
+