- added missing actions (sorry)
[enigma2.git] / lib / service / iservice.h
index 5a8a0627fa1ba913e142a4338f73aebfcb2324ff..c58421eddb77b923030a3dfe6c42bb832ae1809b 100644 (file)
@@ -6,14 +6,6 @@
 #include <connection.h>
 #include <list>
 
-#ifdef SWIG
-#define TEMPLATE_TYPEDEF(x, y) \
-%template(y) x; \
-typedef x y
-#else
-#define TEMPLATE_TYPEDEF(x, y) typedef x y
-#endif
-
 class eServiceReference
 {
 public:
@@ -155,10 +147,12 @@ public:
 
 TEMPLATE_TYPEDEF(ePtr<iStaticServiceInformation>, iStaticServiceInformationPtr);
 
+class eServiceEvent;
+
 class iServiceInformation: public iStaticServiceInformation
 {
 public:
-       
+       virtual RESULT getEvent(ePtr<eServiceEvent> &evt, int nownext);
 };
 
 TEMPLATE_TYPEDEF(ePtr<iServiceInformation>, iServiceInformationPtr);
@@ -179,7 +173,10 @@ public:
        enum
        {
                evStart,
-               evEnd
+               evEnd,
+               
+               // when iServiceInformation is implemented:
+               evUpdatedEventInfo
        };
        virtual RESULT connectEvent(const Slot2<void,iPlayableService*,int> &event, ePtr<eConnection> &connection)=0;
        virtual RESULT start()=0;