consistently use iServiceHandler instead of eServiceCenter to use properly wrapped...
[openblackhole/openblackhole-enigma2.git] / lib / service / servicedvb.cpp
index 64e62ca..ca08d48 100644 (file)
@@ -109,7 +109,7 @@ eServiceFactoryDVB::eServiceFactoryDVB()
 {
        ePtr<eServiceCenter> sc;
        
 {
        ePtr<eServiceCenter> sc;
        
-       eServiceCenter::getInstance(sc);
+       eServiceCenter::getPrivInstance(sc);
        if (sc)
                sc->addServiceFactory(eServiceFactoryDVB::id, this);
 }
        if (sc)
                sc->addServiceFactory(eServiceFactoryDVB::id, this);
 }
@@ -118,7 +118,7 @@ eServiceFactoryDVB::~eServiceFactoryDVB()
 {
        ePtr<eServiceCenter> sc;
        
 {
        ePtr<eServiceCenter> sc;
        
-       eServiceCenter::getInstance(sc);
+       eServiceCenter::getPrivInstance(sc);
        if (sc)
                sc->removeServiceFactory(eServiceFactoryDVB::id);
 }
        if (sc)
                sc->removeServiceFactory(eServiceFactoryDVB::id);
 }