From d0899514fa9495013cb73c8ead8c5a5baaf49111 Mon Sep 17 00:00:00 2001 From: Felix Domke Date: Thu, 29 Sep 2005 22:12:32 +0000 Subject: add offline operations to services --- lib/service/servicefs.cpp | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'lib/service/servicefs.cpp') diff --git a/lib/service/servicefs.cpp b/lib/service/servicefs.cpp index 67b99c08..5b5957eb 100644 --- a/lib/service/servicefs.cpp +++ b/lib/service/servicefs.cpp @@ -12,7 +12,6 @@ #include #include - class eStaticServiceFSInformation: public iStaticServiceInformation { DECLARE_REF(eStaticServiceFSInformation); @@ -77,6 +76,12 @@ RESULT eServiceFactoryFS::info(const eServiceReference &ref, ePtr &ptr) +{ + ptr = 0; + return -1; +} + // eServiceFS DEFINE_REF(eServiceFS); @@ -148,7 +153,10 @@ RESULT eServiceFS::getNext(eServiceReference &ptr) } if (!m_list.size()) + { + ptr = eServiceReference(); return -ERANGE; + } ptr = m_list.front(); m_list.pop_front(); -- cgit v1.2.3