diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2011-09-17 14:13:31 +0200 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2011-09-17 14:13:31 +0200 |
commit | b1f6b586d4116bb46fffe9473d55da22b12563c9 (patch) | |
tree | 930977feda28a8ac0af788042f74064dc36be455 /diseqc.h | |
parent | b40cd95dcccf7a37901d660d49a3ac1ff6bdecc8 (diff) | |
download | vdr-b1f6b586d4116bb46fffe9473d55da22b12563c9.tar.gz vdr-b1f6b586d4116bb46fffe9473d55da22b12563c9.tar.bz2 |
Added device number selection to scr.conf
Diffstat (limited to 'diseqc.h')
-rw-r--r-- | diseqc.h | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -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<cScr> { private: cMutex mutex; public: - cScr *GetUnused(void); + cScr *GetUnused(int Device); }; extern cScrs Scrs; |