aboutsummaryrefslogtreecommitdiff
path: root/lib/dvb/idvb.h
diff options
context:
space:
mode:
authorAndreas Monzner <andreas.monzner@multimedia-labs.de>2005-01-26 12:02:37 +0000
committerAndreas Monzner <andreas.monzner@multimedia-labs.de>2005-01-26 12:02:37 +0000
commitf9723e7fbf7669f063151eaf53bb1ee9f4189289 (patch)
tree777d15340fd19038215b9b426976a827ed9d6587 /lib/dvb/idvb.h
parenta5307ff8aa3456aa5bec285e7d94d8d7c014d131 (diff)
downloadenigma2-f9723e7fbf7669f063151eaf53bb1ee9f4189289.tar.gz
enigma2-f9723e7fbf7669f063151eaf53bb1ee9f4189289.zip
nicer code (api v3 / oldapi)
Diffstat (limited to 'lib/dvb/idvb.h')
-rw-r--r--lib/dvb/idvb.h9
1 files changed, 4 insertions, 5 deletions
diff --git a/lib/dvb/idvb.h b/lib/dvb/idvb.h
index 878b3619..306613da 100644
--- a/lib/dvb/idvb.h
+++ b/lib/dvb/idvb.h
@@ -4,6 +4,9 @@
#include <config.h>
#if HAVE_DVB_API_VERSION < 3
#include <ost/frontend.h>
+#define FRONTENDPARAMETERS FrontendParameters
+#else
+#define FRONTENDPARAMETERS struct frontend_parameters
#endif
#include <lib/base/object.h>
#include <lib/base/ebase.h>
@@ -271,11 +274,7 @@ public:
class iDVBSatelliteEquipmentControl: public iObject
{
public:
-#if HAVE_DVB_API_VERSION < 3
- virtual RESULT prepare(iDVBFrontend &frontend, FrontendParameters &parm, eDVBFrontendParametersSatellite &sat)=0;
-#else
- virtual RESULT prepare(iDVBFrontend &frontend, struct dvb_frontend_parameters &parm, eDVBFrontendParametersSatellite &sat)=0;
-#endif
+ virtual RESULT prepare(iDVBFrontend &frontend, FRONTENDPARAMETERS &parm, eDVBFrontendParametersSatellite &sat)=0;
};
struct eDVBCIRouting