X-Git-Url: https://git.cweiske.de/enigma2.git/blobdiff_plain/d63d2c3c6cbbd574dda4f8b00ebe6c661735edd5..b25ec1d66bcdd921e76d5e15b4ff4832eabd1b98:/lib/driver/rfmod.h?ds=sidebyside diff --git a/lib/driver/rfmod.h b/lib/driver/rfmod.h index e3acc47d..909a08de 100644 --- a/lib/driver/rfmod.h +++ b/lib/driver/rfmod.h @@ -1,33 +1,28 @@ -#ifdef ENABLE_RFMOD +#ifndef __rfmod_h +#define __rfmod_h -#ifndef __erfmod_h -#define __erfmod_h - -#include - -class eRFmod: public Object +class eRFmod { static eRFmod *instance; - - int rfmodfd; - int channel,soundsubcarrier,soundenable,finetune; - + + int fd; +#ifdef SWIG + eRFmod(); + ~eRFmod(); +#endif public: +#ifndef SWIG eRFmod(); ~eRFmod(); - - void init(); - +#endif 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); + 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 setSoundCarrier(int val); + void setChannel(int val); + void setFinetune(int val); }; -#endif -#endif // ENABLE_RFMOD +#endif