git.cweiske.de
/
enigma2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix translations
[enigma2.git]
/
lib
/
python
/
enigma_python.i
diff --git
a/lib/python/enigma_python.i
b/lib/python/enigma_python.i
index 8582de8655788c2dcb2f7dca9ebd625a5bff40b9..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 int getPrevAsciiCode();
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__); */ "
@@
-153,6
+155,7
@@
typedef long time_t;
%immutable pNavigation::m_event;
%immutable eListbox::selectionChanged;
%immutable eDVBCI_UI::ciStateChanged;
%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>
@@
-258,8
+261,17
@@
int getPrevAsciiCode();
void runMainloop();
void quitMainloop(int exit_code);
eApplication *getApplication();
void runMainloop();
void quitMainloop(int exit_code);
eApplication *getApplication();
-
+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;