summaryrefslogtreecommitdiff
path: root/receiver.h
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2015-01-12 14:12:19 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2015-01-12 14:12:19 +0100
commit6b229d7d5f6377a930191d9ba469b7707b8eb8a5 (patch)
treeee391c59906522d890d2de1dabe37a028f29ecea /receiver.h
parent67fff7f4fcb83b5e1439bd7b8b3952ae3f423bc3 (diff)
downloadvdr-6b229d7d5f6377a930191d9ba469b7707b8eb8a5.tar.gz
vdr-6b229d7d5f6377a930191d9ba469b7707b8eb8a5.tar.bz2
Added functions to set and retrieve the priority of a cReceiver
Diffstat (limited to 'receiver.h')
-rw-r--r--receiver.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/receiver.h b/receiver.h
index 1623f595..b3548258 100644
--- a/receiver.h
+++ b/receiver.h
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: receiver.h 3.2 2015/01/12 10:24:20 kls Exp $
+ * $Id: receiver.h 3.3 2015/01/12 14:03:22 kls Exp $
*/
#ifndef __RECEIVER_H
@@ -49,6 +49,8 @@ public:
///< that this cReceiver may be detached at any time in favor of a timer recording
///< or live viewing (without blocking the cDevice it is attached to).
virtual ~cReceiver();
+ int Priority(void) { return priority; }
+ void SetPriority(int Priority);
bool AddPid(int Pid);
///< Adds the given Pid to the list of PIDs of this receiver.
bool AddPids(const int *Pids);