aboutsummaryrefslogtreecommitdiff
path: root/lib/driver/rfmod.h
diff options
context:
space:
mode:
authorFelix Domke <tmbinc@elitedvb.net>2003-10-17 15:35:43 +0000
committerFelix Domke <tmbinc@elitedvb.net>2003-10-17 15:35:43 +0000
commitfc2f5b2cd655f1391f2abda1b39e37cdec98a951 (patch)
tree312efcea86a319de407a7c314fb981fb1c71019a /lib/driver/rfmod.h
downloadenigma2-fc2f5b2cd655f1391f2abda1b39e37cdec98a951.tar.gz
enigma2-fc2f5b2cd655f1391f2abda1b39e37cdec98a951.zip
Initial revision
Diffstat (limited to 'lib/driver/rfmod.h')
-rw-r--r--lib/driver/rfmod.h33
1 files changed, 33 insertions, 0 deletions
diff --git a/lib/driver/rfmod.h b/lib/driver/rfmod.h
new file mode 100644
index 00000000..e3acc47d
--- /dev/null
+++ b/lib/driver/rfmod.h
@@ -0,0 +1,33 @@
+#ifdef ENABLE_RFMOD
+
+#ifndef __erfmod_h
+#define __erfmod_h
+
+#include <lib/base/ebase.h>
+
+class eRFmod: public Object
+{
+ static eRFmod *instance;
+
+ int rfmodfd;
+ int channel,soundsubcarrier,soundenable,finetune;
+
+public:
+ eRFmod();
+ ~eRFmod();
+
+ void init();
+
+ static eRFmod *getInstance();
+
+ int save();
+
+ int setChannel(int channel);
+ int setSoundSubCarrier(int val);
+ int setSoundEnable(int val);
+ int setFinetune(int val);
+ int setTestPattern(int val);
+};
+#endif
+
+#endif // ENABLE_RFMOD