aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFelix Domke <tmbinc@elitedvb.net>2007-12-16 20:43:07 +0000
committerFelix Domke <tmbinc@elitedvb.net>2007-12-16 20:43:07 +0000
commitf359297fea04265130c187206da39db5beb9e675 (patch)
tree98643ddf069b59efc05829347e555a5ae38c8acc
parent162684da1ab0762f27043cd38a66a81c90916338 (diff)
downloadenigma2-f359297fea04265130c187206da39db5beb9e675.tar.gz
enigma2-f359297fea04265130c187206da39db5beb9e675.zip
patch by Pieter Grimmerink: fix order of class definitions to make swig happy
-rw-r--r--lib/service/iservice.h38
1 files changed, 18 insertions, 20 deletions
diff --git a/lib/service/iservice.h b/lib/service/iservice.h
index 0b03feb4..bfdca1ba 100644
--- a/lib/service/iservice.h
+++ b/lib/service/iservice.h
@@ -707,7 +707,24 @@ public:
};
};
-class iStreamableService;
+SWIG_IGNORE(iStreamableService);
+class iStreamableService: public iObject
+{
+#ifdef SWIG
+ iStreamableService();
+ ~iStreamableService();
+#endif
+public:
+ /* returns a dict:
+ { "demux": <n>,
+ "pids": [(x,type),(y,type),(z,type),..],
+ ...
+ }
+ with type being "video", "audio", "pmt", "pat"...
+ */
+ virtual PyObject *getStreamingData()=0;
+};
+SWIG_TEMPLATE_TYPEDEF(ePtr<iStreamableService>, iStreamableServicePtr);
SWIG_IGNORE(iPlayableService);
class iPlayableService: public iPlayableService_ENUMS, public iObject
@@ -741,25 +758,6 @@ public:
};
SWIG_TEMPLATE_TYPEDEF(ePtr<iPlayableService>, iPlayableServicePtr);
-SWIG_IGNORE(iStreamableService);
-class iStreamableService: public iObject
-{
-#ifdef SWIG
- iStreamableService();
- ~iStreamableService();
-#endif
-public:
- /* returns a dict:
- { "demux": <n>,
- "pids": [(x,type),(y,type),(z,type),..],
- ...
- }
- with type being "video", "audio", "pmt", "pat"...
- */
- virtual PyObject *getStreamingData()=0;
-};
-SWIG_TEMPLATE_TYPEDEF(ePtr<iStreamableService>, iStreamableServicePtr);
-
class iRecordableService_ENUMS
{
#ifdef SWIG