summaryrefslogtreecommitdiff
path: root/diseqc.h
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2010-02-06 15:56:01 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2010-02-06 15:56:01 +0100
commit184db9ec8a9a5f14876a0049aa2dc36cb2e7a83b (patch)
tree423a0dba7f54ffe7ba287fce3ade6f2698dc9e70 /diseqc.h
parent91115a64e4cb8860aee4938b7359ad4dc35babe6 (diff)
downloadvdr-184db9ec8a9a5f14876a0049aa2dc36cb2e7a83b.tar.gz
vdr-184db9ec8a9a5f14876a0049aa2dc36cb2e7a83b.tar.bz2
Added device definitions to the diseqc.conf file format
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 602bdecb..1b9a41d2 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 1.2 2002/12/07 13:54:02 kls Exp $
+ * $Id: diseqc.h 2.1 2010/02/06 15:14:42 kls Exp $
*/
#ifndef __DISEQC_H
@@ -26,6 +26,7 @@ public:
};
enum { MaxDiseqcCodes = 6 };
private:
+ int devices;
int source;
int slof;
char polarization;
@@ -48,6 +49,7 @@ public:
// it. Call Execute() repeatedly (always providing the same CurrentAction pointer)
// until it returns daNone. After a successful execution of all commands
// *CurrentAction points to the value 0x00.
+ int Devices(void) const { return devices; }
int Source(void) const { return source; }
int Slof(void) const { return slof; }
char Polarization(void) const { return polarization; }
@@ -58,7 +60,7 @@ public:
class cDiseqcs : public cConfig<cDiseqc> {
public:
- cDiseqc *Get(int Source, int Frequency, char Polarization);
+ cDiseqc *Get(int Device, int Source, int Frequency, char Polarization);
};
extern cDiseqcs Diseqcs;