summaryrefslogtreecommitdiff
path: root/diseqc.h
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2011-09-17 14:13:31 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2011-09-17 14:13:31 +0200
commitb1f6b586d4116bb46fffe9473d55da22b12563c9 (patch)
tree930977feda28a8ac0af788042f74064dc36be455 /diseqc.h
parentb40cd95dcccf7a37901d660d49a3ac1ff6bdecc8 (diff)
downloadvdr-b1f6b586d4116bb46fffe9473d55da22b12563c9.tar.gz
vdr-b1f6b586d4116bb46fffe9473d55da22b12563c9.tar.bz2
Added device number selection to scr.conf
Diffstat (limited to 'diseqc.h')
-rw-r--r--diseqc.h6
1 files changed, 4 insertions, 2 deletions
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<cScr> {
private:
cMutex mutex;
public:
- cScr *GetUnused(void);
+ cScr *GetUnused(int Device);
};
extern cScrs Scrs;