remove python support for some (unneeded) classes
authorAndreas Monzner <andreas.monzner@multimedia-labs.de>
Sun, 10 Dec 2006 22:20:44 +0000 (22:20 +0000)
committerAndreas Monzner <andreas.monzner@multimedia-labs.de>
Sun, 10 Dec 2006 22:20:44 +0000 (22:20 +0000)
lib/gdi/gpixmap.h
lib/python/enigma_python.i
lib/service/iservice.h

index 5b27730b17b99cb3eb52c3928afc7fbd7e10d4ca..cc2a4cf41e39a6dd8e12c623d2be85ff44ea1741 100644 (file)
@@ -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
 {
index e2e40bc77996f14f9de52b2b9e73173bdd0168b8..3ee1416e1491dacc027d3c597b42a6c7dab02b29 100644 (file)
@@ -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>
index 24d56a3ff80103fc2a0165c980d4135e369f80ff..2ada9095e56c8b03ab42bb00876f0e4e354e72ae 100644 (file)
@@ -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. */