small optimiziations
[enigma2.git] / lib / service / iservice.h
index eb04eaddb2230b769555ea6845a6e6dd8eb31e17..962e4a95399978909156f11758be6a5b8487868e 100644 (file)
@@ -52,6 +52,8 @@ public:
        std::string name;
        std::string getName() { return name; }
 
+       void setName( const std::string &n ) { name=n; }
+
        eServiceReference()
                : type(idInvalid), flags(0)
        {
@@ -175,7 +177,7 @@ public:
        
                // doesn't need to be implemented, should return -1 then.
        virtual int getLength(const eServiceReference &ref);
-       virtual SWIG_VOID(RESULT) getEvent(const eServiceReference &ref, ePtr<eServiceEvent> &SWIG_OUTPUT);
+       virtual SWIG_VOID(RESULT) getEvent(const eServiceReference &ref, ePtr<eServiceEvent> &SWIG_OUTPUT, time_t start_time=0);
                // returns true when not implemented
        virtual bool isPlayable(const eServiceReference &ref, const eServiceReference &ignore);
 };