summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--CONTRIBUTORS1
-rw-r--r--HISTORY1
-rw-r--r--timers.c7
-rw-r--r--timers.h3
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
diff --git a/HISTORY b/HISTORY
index 6d47feb3..f7ee13a6 100644
--- a/HISTORY
+++ b/HISTORY
@@ -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).
diff --git a/timers.c b/timers.c
index bcf24336..5ad4cbee 100644
--- a/timers.c
+++ b/timers.c
@@ -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;
diff --git a/timers.h b/timers.h
index b843d5ca..17a55fb8 100644
--- a/timers.h
+++ b/timers.h
@@ -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);