diff options
| author | Felix Domke <tmbinc@elitedvb.net> | 2004-05-23 10:39:21 +0000 |
|---|---|---|
| committer | Felix Domke <tmbinc@elitedvb.net> | 2004-05-23 10:39:21 +0000 |
| commit | c0f5089ea04bd04fe25148e712fa62cd49dc17da (patch) | |
| tree | 4459439ba4fd730d69fd0216b43f41b6ebf010c3 /lib/service/iservice.h | |
| parent | 676c3e4b7ba3a01f5d69bed1b5b2c861e84a6211 (diff) | |
| download | enigma2-c0f5089ea04bd04fe25148e712fa62cd49dc17da.tar.gz enigma2-c0f5089ea04bd04fe25148e712fa62cd49dc17da.zip | |
added nav core
Diffstat (limited to 'lib/service/iservice.h')
| -rw-r--r-- | lib/service/iservice.h | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/lib/service/iservice.h b/lib/service/iservice.h index bedb0d6f..9eeb07c8 100644 --- a/lib/service/iservice.h +++ b/lib/service/iservice.h @@ -3,6 +3,7 @@ #include <lib/base/object.h> #include <lib/base/estring.h> +#include <connection.h> #include <list> class eServiceReference @@ -133,6 +134,12 @@ public: } }; +class iServiceInformation: public virtual iObject +{ +public: + virtual RESULT getName(eString &name)=0; +}; + class iPauseableService: public virtual iObject { public: @@ -144,9 +151,16 @@ class iPlayableService: public virtual iObject { friend class iServiceHandler; public: - // it's PRIVATE to the class factory + enum + { + evStart, + evEnd + }; + virtual RESULT connectEvent(const Slot2<void,iPlayableService*,int> &event, ePtr<eConnection> &connection)=0; virtual RESULT start()=0; + virtual RESULT stop()=0; virtual RESULT getIPausableService(ePtr<iPauseableService> &ptr)=0; + virtual RESULT getIServiceInformation(ePtr<iServiceInformation> &ptr)=0; }; class iRecordableService: public virtual iObject |
