add setInfo / setInfoString for iServiceInformation and iStaticServiceInformation
authorFelix Domke <tmbinc@elitedvb.net>
Tue, 31 Oct 2006 20:57:58 +0000 (20:57 +0000)
committerFelix Domke <tmbinc@elitedvb.net>
Tue, 31 Oct 2006 20:57:58 +0000 (20:57 +0000)
lib/service/iservice.h
lib/service/service.cpp

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);
index aa1ee4d855a0152a99b966f202b0bce57c635389..8ac7ebd41495c8e800fe0575fd73c68faa075de7 100644 (file)
@@ -208,4 +208,24 @@ PyObject* iServiceInformation::getInfoObject(int w)
        return Py_None;
 }
 
        return Py_None;
 }
 
+int iStaticServiceInformation::setInfo(const eServiceReference &ref, int w, int v)
+{
+       return -1;
+}
+
+int iStaticServiceInformation::setInfoString(const eServiceReference &ref, int w, const char *v)
+{
+       return -1;
+}
+
+int iServiceInformation::setInfo(int w, int v)
+{
+       return -1;
+}
+
+int iServiceInformation::setInfoString(int w, const char *v)
+{
+       return -1;
+}
+
 eAutoInitPtr<eServiceCenter> init_eServiceCenter(eAutoInitNumbers::service, "eServiceCenter");
 eAutoInitPtr<eServiceCenter> init_eServiceCenter(eAutoInitNumbers::service, "eServiceCenter");