git.cweiske.de
/
enigma2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
add comment
[enigma2.git]
/
lib
/
python
/
enigma_python.i
diff --git
a/lib/python/enigma_python.i
b/lib/python/enigma_python.i
index 0ca55bb9fc84e406ae2570ee1d37e998f8950f77..89aef414479881f947c81cec461a6989ac3fcfe6 100644
(file)
--- a/
lib/python/enigma_python.i
+++ b/
lib/python/enigma_python.i
@@
-92,8
+92,10
@@
is usually caused by not marking PSignals as immutable.
extern void runMainloop();
extern void quitMainloop(int exit_code);
extern eApplication *getApplication();
extern void runMainloop();
extern void quitMainloop(int exit_code);
extern eApplication *getApplication();
-
-extern PSignal1<void,int> &keyPressedSignal();
+extern int getPrevAsciiCode();
+extern int isUTF8(const std::string &);
+extern std::string convertUTF8DVB(const std::string &, int);
+extern std::string convertDVBUTF8(const unsigned char *data, int len, int table, int tsidonid);
%}
%feature("ref") iObject "$this->AddRef(); /* eDebug(\"AddRef (%s:%d)!\", __FILE__, __LINE__); */ "
%}
%feature("ref") iObject "$this->AddRef(); /* eDebug(\"AddRef (%s:%d)!\", __FILE__, __LINE__); */ "
@@
-142,7
+144,6
@@
typedef long time_t;
%template(eServiceCenterPtr) ePtr<eServiceCenter>;
%include <lib/service/event.h>
%template(eServiceCenterPtr) ePtr<eServiceCenter>;
%include <lib/service/event.h>
-
// TODO: embed these...
%immutable eConsoleAppContainer::appClosed;
%immutable eConsoleAppContainer::dataAvail;
// TODO: embed these...
%immutable eConsoleAppContainer::appClosed;
%immutable eConsoleAppContainer::dataAvail;
@@
-153,6
+154,8
@@
typedef long time_t;
%immutable eComponentScan::newService;
%immutable pNavigation::m_event;
%immutable eListbox::selectionChanged;
%immutable eComponentScan::newService;
%immutable pNavigation::m_event;
%immutable eListbox::selectionChanged;
+%immutable eDVBCI_UI::ciStateChanged;
+%immutable eDVBResourceManager::frontendUseMaskChanged;
%include <lib/base/console.h>
%include <lib/base/nconfig.h>
%include <lib/base/console.h>
%include <lib/base/nconfig.h>
@@
-254,13
+257,21
@@
void addFont(const char *filename, const char *alias, int scale_factor, int is_r
/************** debug **************/
/************** debug **************/
+int getPrevAsciiCode();
void runMainloop();
void quitMainloop(int exit_code);
eApplication *getApplication();
void runMainloop();
void quitMainloop(int exit_code);
eApplication *getApplication();
-
%immutable keyPressed
;
-
PSignal1<void,int> &keyPressedSignal(
);
-
+
int isUTF8(const std::string &)
;
+
std::string convertUTF8DVB(const std::string &, int
);
+std::string convertDVBUTF8(std::string text, int table);
%{
%{
+
+std::string convertDVBUTF8(std::string text, int table)
+{
+ int len = text.length();
+ return convertDVBUTF8(len?(unsigned char*)text.c_str():(unsigned char*)"", len, table, 0);
+}
+
RESULT SwigFromPython(ePtr<gPixmap> &result, PyObject *obj)
{
ePtr<gPixmap> *res;
RESULT SwigFromPython(ePtr<gPixmap> &result, PyObject *obj)
{
ePtr<gPixmap> *res;