From 85f2616ef78700cf2639992abaf1011ecaa897bd Mon Sep 17 00:00:00 2001 From: Andreas Monzner Date: Sat, 31 Dec 2005 00:23:01 +0000 Subject: make many constructors and destructors invisible for python --- lib/driver/avswitch.h | 8 ++++++-- lib/driver/rfmod.h | 8 ++++++-- 2 files changed, 12 insertions(+), 4 deletions(-) (limited to 'lib/driver') diff --git a/lib/driver/avswitch.h b/lib/driver/avswitch.h index 9f6eccb7..d765e02a 100644 --- a/lib/driver/avswitch.h +++ b/lib/driver/avswitch.h @@ -4,12 +4,16 @@ class eAVSwitch { static eAVSwitch *instance; - +#ifdef SWIG + eAVSwitch(); + ~eAVSwitch(); +#endif protected: public: +#ifndef SWIG eAVSwitch(); ~eAVSwitch(); - +#endif static eAVSwitch *getInstance(); void setFastBlank(int val); diff --git a/lib/driver/rfmod.h b/lib/driver/rfmod.h index c95c47a9..909a08de 100644 --- a/lib/driver/rfmod.h +++ b/lib/driver/rfmod.h @@ -6,11 +6,15 @@ class eRFmod static eRFmod *instance; int fd; -protected: +#ifdef SWIG + eRFmod(); + ~eRFmod(); +#endif public: +#ifndef SWIG eRFmod(); ~eRFmod(); - +#endif static eRFmod *getInstance(); void setFunction(int val); //0=Enable 1=Disable -- cgit v1.2.3