diff options
| -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. */ |
