diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2012-04-22 10:44:20 +0200 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2012-04-22 10:44:20 +0200 |
commit | 09e58657a1abc2dcebf1761c5c2406f3b4a4345f (patch) | |
tree | 5edabd98d7fa56df612ef83887fcfc2a6d37cebc /menu.h | |
parent | f822cdf2613096a2b545daed6cab1ed3a5c8ef5b (diff) | |
download | vdr-09e58657a1abc2dcebf1761c5c2406f3b4a4345f.tar.gz vdr-09e58657a1abc2dcebf1761c5c2406f3b4a4345f.tar.bz2 |
Added a function to get a cRecordControl for a given cTimer
Diffstat (limited to 'menu.h')
-rw-r--r-- | menu.h | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -4,7 +4,7 @@ * See the main source file 'vdr.c' for copyright information and * how to reach the author. * - * $Id: menu.h 2.5 2012/03/08 13:11:40 kls Exp $ + * $Id: menu.h 2.6 2012/04/19 14:28:37 kls Exp $ */ #ifndef __MENU_H @@ -243,6 +243,9 @@ public: static bool PauseLiveVideo(void); static const char *GetInstantId(const char *LastInstantId); static cRecordControl *GetRecordControl(const char *FileName); + static cRecordControl *GetRecordControl(const cTimer *Timer); + ///< Returns the cRecordControl for the given Timer. + ///< If there is no cRecordControl for Timer, NULL is returned. static void Process(time_t t); static void ChannelDataModified(cChannel *Channel); static bool Active(void); |