better cast
[enigma2.git] / lib / python / enigma_python.i
index 04134636ca9d27d1edbef0d4643ff05ae71a5422..21f2b2ec2a3b15dd67cebddda9e224c8bd2f880d 100644 (file)
@@ -40,6 +40,7 @@ is usually caused by not marking PSignals as immutable.
 #include <lib/base/smartptr.h>
 #include <lib/base/eerror.h>
 #include <lib/base/console.h>
+#include <lib/base/nconfig.h>
 #include <lib/driver/rc.h>
 #include <lib/service/iservice.h>
 #include <lib/service/service.h>
@@ -141,7 +142,6 @@ typedef long time_t;
 %template(eServiceCenterPtr) ePtr<eServiceCenter>;
 %include <lib/service/event.h>
 
-
 // TODO: embed these...
 %immutable eConsoleAppContainer::appClosed;
 %immutable eConsoleAppContainer::dataAvail;
@@ -152,8 +152,10 @@ typedef long time_t;
 %immutable eComponentScan::newService;
 %immutable pNavigation::m_event;
 %immutable eListbox::selectionChanged;
+%immutable eDVBCI_UI::mmiAvail;
 
 %include <lib/base/console.h>
+%include <lib/base/nconfig.h>
 %include <lib/driver/rc.h>
 %include <lib/gdi/fb.h>
 %include <lib/gdi/font.h>
@@ -242,6 +244,14 @@ 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();