From 109586571a3cd6b011b6c2e348e3403a0d37c081 Mon Sep 17 00:00:00 2001 From: Klaus Schmidinger Date: Sat, 28 Apr 2012 10:56:05 +0200 Subject: cControl::Control() now has an additional boolean parameter, which can be set to true to get the current player control even if it is hidden --- player.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'player.h') diff --git a/player.h b/player.h index 77d00d5e..c38c7d7d 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 2.4 2009/03/08 12:29:10 kls Exp $ + * $Id: player.h 2.5 2012/04/28 10:56:00 kls Exp $ */ #ifndef __PLAYER_H @@ -92,7 +92,10 @@ public: static void Launch(cControl *Control); static void Attach(void); static void Shutdown(void); - static cControl *Control(void); + static cControl *Control(bool Hidden = false); + ///< Returns the current replay control (if any) in case it is currently + ///< visible. If Hidden is true, the control will be returned even if it is + ///< currently hidden. }; #endif //__PLAYER_H -- cgit v1.2.3