lcd: fix inverted mode
[enigma2.git] / lib / service / service.h
index 9f4b45607fae62c8c156f97960a9d9992193af69..17614c2f87273bc7f20a84f9f066c1637bd64622 100644 (file)
@@ -11,7 +11,7 @@ typedef ePtr<eServiceCenter> eServiceCenterPtr;
 
 class eServiceCenter: public iServiceHandler
 {
 
 class eServiceCenter: public iServiceHandler
 {
-DECLARE_REF;
+DECLARE_REF(eServiceCenter);
 private:
        std::map<int,iServiceHandlerPtr> handler;
        static eServiceCenter *instance;
 private:
        std::map<int,iServiceHandlerPtr> handler;
        static eServiceCenter *instance;
@@ -24,9 +24,11 @@ public:
        RESULT record(const eServiceReference &, iRecordableServicePtr &ptr);
        RESULT list(const eServiceReference &, iListableServicePtr &ptr);
        RESULT info(const eServiceReference &, ePtr<iStaticServiceInformation> &ptr);
        RESULT record(const eServiceReference &, iRecordableServicePtr &ptr);
        RESULT list(const eServiceReference &, iListableServicePtr &ptr);
        RESULT info(const eServiceReference &, ePtr<iStaticServiceInformation> &ptr);
+       RESULT offlineOperations(const eServiceReference &, ePtr<iServiceOfflineOperations> &ptr);
        
                // eServiceCenter
        
                // eServiceCenter
-       static RESULT getInstance(eServiceCenterPtr &ptr) { ptr = instance; return 0; }
+       static RESULT getPrivInstance(eServiceCenterPtr &ptr) { ptr = instance; return 0; }
+       static SWIG_VOID(RESULT) getInstance(iServiceHandlerPtr &SWIG_NAMED_OUTPUT(ptr)) { ptr = instance; return 0; }
        RESULT addServiceFactory(int id, iServiceHandler *hnd);
        RESULT removeServiceFactory(int id);
 };
        RESULT addServiceFactory(int id, iServiceHandler *hnd);
        RESULT removeServiceFactory(int id);
 };