summaryrefslogtreecommitdiff
path: root/dvbapi.h
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2001-02-02 15:49:46 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2001-02-02 15:49:46 +0100
commitb79ccf22921a93ee79d844e9f777ce5d6bf5ee3c (patch)
tree2005e91d27ed5b087f57450b17cba77f14c88597 /dvbapi.h
parent495f8b06697a8478a130edd4a7f65ea59bdc9388 (diff)
downloadvdr-b79ccf22921a93ee79d844e9f777ce5d6bf5ee3c.tar.gz
vdr-b79ccf22921a93ee79d844e9f777ce5d6bf5ee3c.tar.bz2
New command line option -D
Diffstat (limited to 'dvbapi.h')
-rw-r--r--dvbapi.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/dvbapi.h b/dvbapi.h
index cf0584f8..ea92a040 100644
--- a/dvbapi.h
+++ b/dvbapi.h
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: dvbapi.h 1.30 2001/01/07 15:56:10 kls Exp $
+ * $Id: dvbapi.h 1.31 2001/02/02 15:21:30 kls Exp $
*/
#ifndef __DVBAPI_H
@@ -73,8 +73,13 @@ public:
static int NumDvbApis;
private:
static cDvbApi *dvbApi[MAXDVBAPI];
+ static int useDvbApi;
public:
static cDvbApi *PrimaryDvbApi;
+ static void SetUseDvbApi(int n);
+ // Sets the 'useDvbApi' flag of the given DVB device.
+ // If this function is not called before Init(), all DVB devices
+ // will be used.
static bool SetPrimaryDvbApi(int n);
// Sets the primary DVB device to 'n' (which must be in the range
// 1...NumDvbApis) and returns true if this was possible.