Now checking the driver's DVB_API_VERSION

This commit is contained in:
Klaus Schmidinger
2002-11-03 12:31:51 +01:00
parent 7c40984f1b
commit 35a69ee743
3 changed files with 18 additions and 13 deletions

View File

@@ -4,17 +4,22 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
* $Id: dvbdevice.h 1.17 2002/11/02 14:32:25 kls Exp $
* $Id: dvbdevice.h 1.18 2002/11/03 12:31:15 kls Exp $
*/
#ifndef __DVBDEVICE_H
#define __DVBDEVICE_H
#include <linux/dvb/frontend.h>
#include <linux/dvb/version.h>
#include "device.h"
#include "dvbspu.h"
#include "eit.h"
#if DVB_API_VERSION != 3
#error VDR requires Linux DVB driver API version 3!
#endif
#define MAXDVBDEVICES 4
class cDvbDevice : public cDevice {