diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2015-01-12 14:12:19 +0100 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2015-01-12 14:12:19 +0100 |
commit | 6b229d7d5f6377a930191d9ba469b7707b8eb8a5 (patch) | |
tree | ee391c59906522d890d2de1dabe37a028f29ecea /receiver.h | |
parent | 67fff7f4fcb83b5e1439bd7b8b3952ae3f423bc3 (diff) | |
download | vdr-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.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: 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); |