From 184db9ec8a9a5f14876a0049aa2dc36cb2e7a83b Mon Sep 17 00:00:00 2001 From: Klaus Schmidinger Date: Sat, 6 Feb 2010 15:56:01 +0100 Subject: Added device definitions to the diseqc.conf file format --- diseqc.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'diseqc.h') 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 { public: - cDiseqc *Get(int Source, int Frequency, char Polarization); + cDiseqc *Get(int Device, int Source, int Frequency, char Polarization); }; extern cDiseqcs Diseqcs; -- cgit v1.2.3