diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2000-11-12 14:06:53 +0100 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2000-11-12 14:06:53 +0100 |
commit | 5b65773ec836a6086374657098bbcc55e74abd60 (patch) | |
tree | 0983e42cee97453e7286461da4f9e9dee4d8246c /menu.h | |
parent | 54a2e99c7b86cafa5ad350171f021589ef2a80df (diff) | |
download | vdr-5b65773ec836a6086374657098bbcc55e74abd60.tar.gz vdr-5b65773ec836a6086374657098bbcc55e74abd60.tar.bz2 |
Using timer priority to interrupt lower priority timer recording
Diffstat (limited to 'menu.h')
-rw-r--r-- | menu.h | 4 |
1 files changed, 3 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 1.13 2000/11/01 14:03:09 kls Exp $ + * $Id: menu.h 1.14 2000/11/12 12:33:00 kls Exp $ */ #ifndef _MENU_H @@ -59,6 +59,7 @@ public: cRecordControl(cDvbApi *DvbApi, cTimer *Timer = NULL); virtual ~cRecordControl(); bool Process(void); + bool Uses(cDvbApi *DvbApi) { return DvbApi == dvbApi; } void Stop(bool KeepInstant = false); bool IsInstant(void) { return instantId; } const char *InstantId(void) { return instantId; } @@ -70,6 +71,7 @@ private: public: static bool Start(cTimer *Timer = NULL); static void Stop(const char *InstantId); + static void Stop(cDvbApi *DvbApi); static const char *GetInstantId(const char *LastInstantId); static void Process(void); }; |