summaryrefslogtreecommitdiff
path: root/status.h
diff options
context:
space:
mode:
authorManiac <na@na.na>2015-07-03 22:29:41 +0200
committerManiac <na@na.na>2015-07-03 22:29:41 +0200
commitda407909879f82c15f786bda3fedda0cae892100 (patch)
tree143c2b842028c38e8f7facfe576567039459afd9 /status.h
downloadvdr-plugin-mpv-da407909879f82c15f786bda3fedda0cae892100.tar.gz
vdr-plugin-mpv-da407909879f82c15f786bda3fedda0cae892100.tar.bz2
import 0.0.40.0.4
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
+