From b1f6b586d4116bb46fffe9473d55da22b12563c9 Mon Sep 17 00:00:00 2001 From: Klaus Schmidinger Date: Sat, 17 Sep 2011 14:13:31 +0200 Subject: Added device number selection to scr.conf --- diseqc.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'diseqc.h') diff --git a/diseqc.h b/diseqc.h index 44b8e51e..6e9058c2 100644 --- a/diseqc.h +++ b/diseqc.h @@ -4,7 +4,7 @@ * See the main source file 'vdr.c' for copyright information and * how to reach the author. * - * $Id: diseqc.h 2.4 2011/09/11 13:40:16 kls Exp $ + * $Id: diseqc.h 2.5 2011/09/17 13:15:17 kls Exp $ */ #ifndef __DISEQC_H @@ -15,6 +15,7 @@ class cScr : public cListObject { private: + int devices; int channel; uint userBand; int pin; @@ -22,6 +23,7 @@ private: public: cScr(void); bool Parse(const char *s); + int Devices(void) const { return devices; } int Channel(void) const { return channel; } uint UserBand(void) const { return userBand; } int Pin(void) const { return pin; } @@ -33,7 +35,7 @@ class cScrs : public cConfig { private: cMutex mutex; public: - cScr *GetUnused(void); + cScr *GetUnused(int Device); }; extern cScrs Scrs; -- cgit v1.2.3