git.cweiske.de
/
enigma2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
sync
[enigma2.git]
/
lib
/
service
/
servicefs.cpp
diff --git
a/lib/service/servicefs.cpp
b/lib/service/servicefs.cpp
index 67b99c0865b623a5968f3107861ac10846a6c26f..057498d751de0191cb6a79426cbdaece4b55d451 100644
(file)
--- a/
lib/service/servicefs.cpp
+++ b/
lib/service/servicefs.cpp
@@
-12,7
+12,6
@@
#include <sys/stat.h>
#include <unistd.h>
#include <sys/stat.h>
#include <unistd.h>
-
class eStaticServiceFSInformation: public iStaticServiceInformation
{
DECLARE_REF(eStaticServiceFSInformation);
class eStaticServiceFSInformation: public iStaticServiceInformation
{
DECLARE_REF(eStaticServiceFSInformation);
@@
-34,7
+33,7
@@
eServiceFactoryFS::eServiceFactoryFS()
{
ePtr<eServiceCenter> sc;
{
ePtr<eServiceCenter> sc;
- eServiceCenter::getInstance(sc);
+ eServiceCenter::get
Priv
Instance(sc);
if (sc)
sc->addServiceFactory(eServiceFactoryFS::id, this);
if (sc)
sc->addServiceFactory(eServiceFactoryFS::id, this);
@@
-45,7
+44,7
@@
eServiceFactoryFS::~eServiceFactoryFS()
{
ePtr<eServiceCenter> sc;
{
ePtr<eServiceCenter> sc;
- eServiceCenter::getInstance(sc);
+ eServiceCenter::get
Priv
Instance(sc);
if (sc)
sc->removeServiceFactory(eServiceFactoryFS::id);
}
if (sc)
sc->removeServiceFactory(eServiceFactoryFS::id);
}
@@
-77,6
+76,12
@@
RESULT eServiceFactoryFS::info(const eServiceReference &ref, ePtr<iStaticService
return 0;
}
return 0;
}
+RESULT eServiceFactoryFS::offlineOperations(const eServiceReference &, ePtr<iServiceOfflineOperations> &ptr)
+{
+ ptr = 0;
+ return -1;
+}
+
// eServiceFS
DEFINE_REF(eServiceFS);
// eServiceFS
DEFINE_REF(eServiceFS);
@@
-148,7
+153,10
@@
RESULT eServiceFS::getNext(eServiceReference &ptr)
}
if (!m_list.size())
}
if (!m_list.size())
+ {
+ ptr = eServiceReference();
return -ERANGE;
return -ERANGE;
+ }
ptr = m_list.front();
m_list.pop_front();
ptr = m_list.front();
m_list.pop_front();