X-Git-Url: https://git.cweiske.de/enigma2.git/blobdiff_plain/e6fc6c4c345bee12b57a76392abf95c92b29aa3b..1042aa5de2ce7e8431b740425169e656bf748eea:/lib/python/enigma_python.i diff --git a/lib/python/enigma_python.i b/lib/python/enigma_python.i index 77d9496d..84936375 100644 --- a/lib/python/enigma_python.i +++ b/lib/python/enigma_python.i @@ -39,7 +39,6 @@ is usually caused by not marking PSignals as immutable. #include #include #include -#include #include #include #include @@ -134,7 +133,6 @@ typedef long time_t; %include %include -%immutable eTimer::timeout; %immutable eSocketNotifier::activated; %include %include @@ -143,9 +141,7 @@ typedef long time_t; %include // TODO: embed these... -%immutable eConsoleAppContainer::appClosed; -%immutable eConsoleAppContainer::dataAvail; -%immutable eConsoleAppContainer::dataSent; +%immutable ePicLoad::PictureData; %immutable eButton::selected; %immutable eInput::changed; %immutable eComponentScan::statusChanged; @@ -154,12 +150,12 @@ typedef long time_t; %immutable pNavigation::m_record_event; %immutable eListbox::selectionChanged; %immutable eDVBCI_UI::ciStateChanged; +%immutable eSocket_UI::socketStateChanged; %immutable eDVBResourceManager::frontendUseMaskChanged; %immutable eAVSwitch::vcr_sb_notifier; %immutable ePythonMessagePump::recv_msg; %immutable eDVBLocalTimeHandler::m_timeUpdated; %include -%include %include %include %include @@ -287,9 +283,9 @@ PyObject *New_iRecordableServicePtr(const ePtr &ptr) /* needed for service groups */ -PyObject *getBestPlayableServiceReference(const eServiceReference &bouquet_ref, const eServiceReference &ignore); +PyObject *getBestPlayableServiceReference(const eServiceReference &bouquet_ref, const eServiceReference &ignore, bool simulate=false); %{ -PyObject *getBestPlayableServiceReference(const eServiceReference &bouquet_ref, const eServiceReference &ignore) +PyObject *getBestPlayableServiceReference(const eServiceReference &bouquet_ref, const eServiceReference &ignore, bool simulate=false) { eStaticServiceDVBBouquetInformation info; if (info.isPlayable(bouquet_ref, ignore)) @@ -317,6 +313,7 @@ extern eApplication *getApplication(); 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 addFont(const char *filename, const char *alias, int scale_factor, int is_replacement); @@ -325,3 +322,4 @@ extern void runMainloop(); extern void quitMainloop(int exit_code); extern eApplication *getApplication(); extern const char *getEnigmaVersionString(); +extern void dump_malloc_stats(void);