add setInfo / setInfoString for iServiceInformation and iStaticServiceInformation
[enigma2.git] / lib / service / iservice.h
index ba14245ef9fbe0cd5577919518452c076a219f8a..73d35eed1f5c5c9dafb8d66d0f5d2ee3717d40a7 100644 (file)
@@ -226,6 +226,9 @@ public:
 
        virtual int getInfo(const eServiceReference &ref, int w);
        virtual std::string getInfoString(const eServiceReference &ref,int w);
 
        virtual int getInfo(const eServiceReference &ref, int w);
        virtual std::string getInfoString(const eServiceReference &ref,int w);
+
+       virtual int setInfo(const eServiceReference &ref, int w, int v);
+       virtual int setInfoString(const eServiceReference &ref, int w, const char *v);
 };
 
 TEMPLATE_TYPEDEF(ePtr<iStaticServiceInformation>, iStaticServiceInformationPtr);
 };
 
 TEMPLATE_TYPEDEF(ePtr<iStaticServiceInformation>, iStaticServiceInformationPtr);
@@ -285,6 +288,9 @@ public:
        virtual int getInfo(int w);
        virtual std::string getInfoString(int w);
        virtual PyObject *getInfoObject(int w);
        virtual int getInfo(int w);
        virtual std::string getInfoString(int w);
        virtual PyObject *getInfoObject(int w);
+       
+       virtual int setInfo(int w, int v);
+       virtual int setInfoString(int w, const char *v);
 };
 
 TEMPLATE_TYPEDEF(ePtr<iServiceInformation>, iServiceInformationPtr);
 };
 
 TEMPLATE_TYPEDEF(ePtr<iServiceInformation>, iServiceInformationPtr);