X-Git-Url: http://code.vuplus.com/gitweb/?a=blobdiff_plain;f=lib%2Fpython%2Fenigma_python.i;h=eee5ef0001920ee8a3adf6d5178330bb958bd2f2;hb=3550753caccf5f770598d67f9f8093978534a1f9;hp=eef5ec17b45a0774a1fd7600bc4257d46095617a;hpb=e059d69c2ce61b1ba1ae2e0b9c75eb53bb26f1bb;p=vuplus_dvbapp diff --git a/lib/python/enigma_python.i b/lib/python/enigma_python.i index eef5ec1..eee5ef0 100644 --- a/lib/python/enigma_python.i +++ b/lib/python/enigma_python.i @@ -61,12 +61,12 @@ is usually caused by not marking PSignals as immutable. #include #include #include +#include #include #include #include #include #include -#include #include #include #include @@ -90,8 +90,6 @@ is usually caused by not marking PSignals as immutable. extern void runMainloop(); extern void quitMainloop(int exit_code); -extern void setLCD(const char *c); -extern void setLCDClock(const char *c); extern eApplication *getApplication(); extern PSignal1 &keyPressedSignal(); @@ -180,9 +178,9 @@ typedef long time_t; %include %include %include +%include %include %include -%include %include %include %include @@ -244,12 +242,18 @@ public: PyObject *get(); }; +/************** temp *****************/ + + /* need a better place for this, i agree. */ +%{ +void addFont(const char *filename, const char *alias, int scale_factor, int is_replacement); +%} +void addFont(const char *filename, const char *alias, int scale_factor, int is_replacement); + /************** debug **************/ void runMainloop(); void quitMainloop(int exit_code); -void setLCD(const char*); -void setLCDClock(const char*); eApplication *getApplication(); %immutable keyPressed; PSignal1 &keyPressedSignal();