diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2006-01-03 11:46:57 +0100 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2006-01-03 11:46:57 +0100 |
commit | a9eed7bb7c6e5d92fe9be1d4aa090d17e971ab75 (patch) | |
tree | 75a7f9c92e8efc4531c33964b9e3d4a15ee44b04 | |
parent | f00372190d4b101a6dbf8b964fa0885908d2a9c9 (diff) | |
download | vdr-a9eed7bb7c6e5d92fe9be1d4aa090d17e971ab75.tar.gz vdr-a9eed7bb7c6e5d92fe9be1d4aa090d17e971ab75.tar.bz2 |
Added cTimer::SetPriority() to set a timer's priority
-rw-r--r-- | CONTRIBUTORS | 1 | ||||
-rw-r--r-- | HISTORY | 1 | ||||
-rw-r--r-- | timers.c | 7 | ||||
-rw-r--r-- | timers.h | 3 |
4 files changed, 10 insertions, 2 deletions
diff --git a/CONTRIBUTORS b/CONTRIBUTORS index f7cd34b6..52ae691a 100644 --- a/CONTRIBUTORS +++ b/CONTRIBUTORS @@ -1582,6 +1582,7 @@ Christof Steininger <christof.steininger@t-online.de> Kendy Kutzner <kutzner@ira.uka.de> for making the version number of EPG events be stored in the epg.data file + for suggesting to add cTimer::SetPriority() to set a timer's priority Bob Withers <bwit@pobox.com> for publishing a Base64 encoder at http://www.ruffboy.com/download.htm @@ -4071,3 +4071,4 @@ Video Disk Recorder Revision History Patrick Fischer). - Fixed setting the main thread id if VDR is running as a daemon. - Fixed handling TS packets in cTS2PES (thanks to Reinhard Nissl). +- Added cTimer::SetPriority() to set a timer's priority (suggested by Kendy Kutzner). @@ -4,7 +4,7 @@ * See the main source file 'vdr.c' for copyright information and * how to reach the author. * - * $Id: timers.c 1.38 2006/01/01 15:41:46 kls Exp $ + * $Id: timers.c 1.39 2006/01/03 11:45:19 kls Exp $ */ #include "timers.h" @@ -462,6 +462,11 @@ void cTimer::SetInVpsMargin(bool InVpsMargin) inVpsMargin = InVpsMargin; } +void cTimer::SetPriority(int Priority) +{ + priority = Priority; +} + void cTimer::SetFlags(int Flags) { flags |= Flags; @@ -4,7 +4,7 @@ * See the main source file 'vdr.c' for copyright information and * how to reach the author. * - * $Id: timers.h 1.21 2006/01/01 15:41:26 kls Exp $ + * $Id: timers.h 1.22 2006/01/03 11:45:26 kls Exp $ */ #ifndef __TIMERS_H @@ -81,6 +81,7 @@ public: void SetRecording(bool Recording); void SetPending(bool Pending); void SetInVpsMargin(bool InVpsMargin); + void SetPriority(int Priority); void SetFlags(int Flags); void ClrFlags(int Flags); void InvFlags(int Flags); |