aboutsummaryrefslogtreecommitdiff
path: root/lib/driver
diff options
context:
space:
mode:
authorAndreas Monzner <andreas.monzner@multimedia-labs.de>2005-12-31 00:23:01 +0000
committerAndreas Monzner <andreas.monzner@multimedia-labs.de>2005-12-31 00:23:01 +0000
commit85f2616ef78700cf2639992abaf1011ecaa897bd (patch)
tree86b10403cdb942ec5a4a168a7012fe3ac859a703 /lib/driver
parent39862e4439df37f150796d3d99352b8859de0736 (diff)
downloadenigma2-85f2616ef78700cf2639992abaf1011ecaa897bd.tar.gz
enigma2-85f2616ef78700cf2639992abaf1011ecaa897bd.zip
make many constructors and destructors invisible for python
Diffstat (limited to 'lib/driver')
-rw-r--r--lib/driver/avswitch.h8
-rw-r--r--lib/driver/rfmod.h8
2 files changed, 12 insertions, 4 deletions
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