From 841d28608b2325f4d969eaea8ce53bbfad5e15be Mon Sep 17 00:00:00 2001 From: Andreas Monzner Date: Sun, 10 Dec 2006 22:20:44 +0000 Subject: [PATCH] remove python support for some (unneeded) classes --- lib/gdi/gpixmap.h | 5 ++++- lib/python/enigma_python.i | 1 - 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 #include #include -#include +#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 %include %include -%include %include %include %include 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 &list, bool sorted=false)=0; +#endif virtual PyObject *getContent(const char* format, bool sorted=false)=0; /* new, shiny interface: streaming. */ -- 2.30.2