summaryrefslogtreecommitdiff
path: root/player.h
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2016-12-22 09:26:40 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2016-12-22 09:26:40 +0100
commit1135a1f9d5d2ee7a36b717ce0fb8f4093d62f982 (patch)
tree59e76d5caa18557a02494e4f6c4f5c63614f50ce /player.h
parentd71544d797039e043284b76a171d648430b112de (diff)
downloadvdr-1135a1f9d5d2ee7a36b717ce0fb8f4093d62f982.tar.gz
vdr-1135a1f9d5d2ee7a36b717ce0fb8f4093d62f982.tar.bz2
Made the cPlayer member functions FramesPerSecond, GetIndex and GetReplayMode 'const'
Diffstat (limited to 'player.h')
-rw-r--r--player.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/player.h b/player.h
index 9ec47faa..e53a952d 100644
--- a/player.h
+++ b/player.h
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: player.h 3.1 2013/12/25 13:25:02 kls Exp $
+ * $Id: player.h 4.1 2016/12/22 09:22:27 kls Exp $
*/
#ifndef __PLAYER_H
@@ -98,9 +98,9 @@ public:
///< skins as a last resort, in case they want to display the state of the
///< current player. The return value is expected to be a short, single line
///< string. The default implementation returns an empty string.
- double FramesPerSecond(void) { return player->FramesPerSecond(); }
- bool GetIndex(int &Current, int &Total, bool SnapToIFrame = false) { return player->GetIndex(Current, Total, SnapToIFrame); }
- bool GetReplayMode(bool &Play, bool &Forward, int &Speed) { return player->GetReplayMode(Play, Forward, Speed); }
+ double FramesPerSecond(void) const { return player->FramesPerSecond(); }
+ bool GetIndex(int &Current, int &Total, bool SnapToIFrame = false) const { return player->GetIndex(Current, Total, SnapToIFrame); }
+ bool GetReplayMode(bool &Play, bool &Forward, int &Speed) const { return player->GetReplayMode(Play, Forward, Speed); }
static void Launch(cControl *Control);
static void Attach(void);
static void Shutdown(void);