From 6b229d7d5f6377a930191d9ba469b7707b8eb8a5 Mon Sep 17 00:00:00 2001 From: Klaus Schmidinger Date: Mon, 12 Jan 2015 14:12:19 +0100 Subject: Added functions to set and retrieve the priority of a cReceiver --- receiver.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'receiver.h') 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); -- cgit v1.2.3