Merge branch 'bug_538_ignore_global_actions_in_standby'
[enigma2.git] / lib / driver / rfmod.h
index c95c47a..56f9ef5 100644 (file)
@@ -6,13 +6,17 @@ class eRFmod
        static eRFmod *instance;
        
        int fd;
        static eRFmod *instance;
        
        int fd;
-protected:     
+#ifdef SWIG
+       eRFmod();
+       ~eRFmod();
+#endif
 public:
 public:
+#ifndef SWIG
        eRFmod();
        ~eRFmod();
        eRFmod();
        ~eRFmod();
-
+#endif
        static eRFmod *getInstance();
        static eRFmod *getInstance();
-
+       bool detected() { return fd >= 0; }
        void setFunction(int val);                                              //0=Enable 1=Disable
        void setTestmode(int val);                                              //0=Enable 1=Disable
        void setSoundFunction(int val);                         //0=Enable 1=Disable
        void setFunction(int val);                                              //0=Enable 1=Disable
        void setTestmode(int val);                                              //0=Enable 1=Disable
        void setSoundFunction(int val);                         //0=Enable 1=Disable