diff options
| author | Andreas Monzner <andreas.monzner@multimedia-labs.de> | 2006-12-10 22:20:44 +0000 |
|---|---|---|
| committer | Andreas Monzner <andreas.monzner@multimedia-labs.de> | 2006-12-10 22:20:44 +0000 |
| commit | 841d28608b2325f4d969eaea8ce53bbfad5e15be (patch) | |
| tree | e4679c1ac2a21f321454cad402410cbf8f0f42c5 | |
| parent | 4d855f82eafba2c96fdc31d852ac6b4278444cdf (diff) | |
| download | enigma2-841d28608b2325f4d969eaea8ce53bbfad5e15be.tar.gz enigma2-841d28608b2325f4d969eaea8ce53bbfad5e15be.zip | |
remove python support for some (unneeded) classes
| -rw-r--r-- | lib/gdi/gpixmap.h | 5 | ||||
| -rw-r--r-- | lib/python/enigma_python.i | 1 | ||||
| -rw-r--r-- | lib/service/iservice.h | 2 |
3 files changed, 6 insertions, 2 deletions
diff --git a/lib/gdi/gpixmap.h b/lib/gdi/gpixmap.h index 5b27730b..cc2a4cf4 100644 --- a/lib/gdi/gpixmap.h +++ b/lib/gdi/gpixmap.h @@ -8,8 +8,8 @@ #include <lib/base/elock.h> #include <lib/gdi/erect.h> #include <lib/gdi/fb.h> -#include <lib/gdi/region.h> +#ifndef SWIG struct gColor { int color; @@ -103,6 +103,9 @@ struct gSurface gSurface(eSize size, int bpp, int accel); ~gSurface(); }; +#endif + +class gRegion; class gPixmap: public iObject { diff --git a/lib/python/enigma_python.i b/lib/python/enigma_python.i index e2e40bc7..3ee1416e 100644 --- a/lib/python/enigma_python.i +++ b/lib/python/enigma_python.i @@ -181,7 +181,6 @@ typedef long time_t; %include <lib/gdi/epoint.h> %include <lib/gdi/erect.h> %include <lib/gdi/esize.h> -%include <lib/gdi/region.h> %include <lib/gui/ewidget.h> %include <lib/gui/elabel.h> %include <lib/gui/einput.h> diff --git a/lib/service/iservice.h b/lib/service/iservice.h index 24d56a3f..2ada9095 100644 --- a/lib/service/iservice.h +++ b/lib/service/iservice.h @@ -648,8 +648,10 @@ class iListableService: public iObject ~iListableService(); #endif public: +#ifndef SWIG /* legacy interface: get a list */ virtual RESULT getContent(std::list<eServiceReference> &list, bool sorted=false)=0; +#endif virtual PyObject *getContent(const char* format, bool sorted=false)=0; /* new, shiny interface: streaming. */ |
