X-Git-Url: http://code.vuplus.com/gitweb/?p=vuplus_dvbapp;a=blobdiff_plain;f=lib%2Fpython%2Fenigma_python.i;h=61af4e972bcc69a13adbc1fa7c3d76095fd2c940;hp=6386702346bdd86a6d3d530cb4b749441ee42779;hb=74f5884fdc5a23465cf40c27b5c069ff7d882746;hpb=dba8122997839f5084ebb20594f28ac9ceff207a diff --git a/lib/python/enigma_python.i b/lib/python/enigma_python.i index 6386702..61af4e9 100755 --- a/lib/python/enigma_python.i +++ b/lib/python/enigma_python.i @@ -100,6 +100,7 @@ is usually caused by not marking PSignals as immutable. #include #include #include +#include %} %feature("ref") iObject "$this->AddRef(); /* eDebug(\"AddRef (%s:%d)!\", __FILE__, __LINE__); */ " @@ -163,6 +164,7 @@ typedef long time_t; %immutable eHdmiCEC::messageReceivedKey; %immutable ePythonMessagePump::recv_msg; %immutable eDVBLocalTimeHandler::m_timeUpdated; +%immutable eFCCServiceManager::m_fcc_event; %include %include %include @@ -221,6 +223,7 @@ typedef long time_t; %include %include %include +%include /************** eptr **************/ /************** signals **************/ @@ -334,6 +337,35 @@ void setPreferredTuner(int index) } %} +int getLinkedSlotID(int); +%{ +int getLinkedSlotID(int fe) +{ + eFBCTunerManager *mgr = eFBCTunerManager::getInstance(); + if (mgr) return mgr->getLinkedSlotID(fe); + return -1; +} +%} + +void setFCCEnable(int); +%{ +void setFCCEnable(int enable) +{ + eFCCServiceManager *fcc_mng = eFCCServiceManager::getInstance(); + if (fcc_mng) setFCCEnable(enable); +} +%} + +bool isFBCLink(int); +%{ +bool isFBCLink(int fe) +{ + eFBCTunerManager *mgr = eFBCTunerManager::getInstance(); + if (mgr) return mgr->isFBCLink(fe); + return false; +} +%} + /************** temp *****************/ /* need a better place for this, i agree. */ @@ -345,6 +377,9 @@ extern int getPrevAsciiCode(); extern void addFont(const char *filename, const char *alias, int scale_factor, int is_replacement); extern const char *getEnigmaVersionString(); extern void dump_malloc_stats(void); +extern void setAnimation_current(int a); +extern void setAnimation_speed(int speed); +extern void setAnimation_current_listbox(int a); %} extern void addFont(const char *filename, const char *alias, int scale_factor, int is_replacement); @@ -354,3 +389,6 @@ extern void quitMainloop(int exit_code); extern eApplication *getApplication(); extern const char *getEnigmaVersionString(); extern void dump_malloc_stats(void); +extern void setAnimation_current(int a); +extern void setAnimation_speed(int speed); +extern void setAnimation_current_listbox(int a);