- add config slider
[enigma2.git] / lib / service / servicefs.h
index 9d49b42d71194d13c3c172d6c6f7f853a67971b6..e87b53a2b6bfff1f8a415074ae9c695105e7b695 100644 (file)
@@ -3,9 +3,9 @@
 
 #include <lib/service/iservice.h>
 
-class eServiceFactoryFS: public virtual iServiceHandler, public virtual iObject
+class eServiceFactoryFS: public iServiceHandler
 {
-DECLARE_REF;
+DECLARE_REF(eServiceFactoryFS);
 public:
        eServiceFactoryFS();
        virtual ~eServiceFactoryFS();
@@ -15,19 +15,26 @@ public:
        RESULT play(const eServiceReference &, ePtr<iPlayableService> &ptr);
        RESULT record(const eServiceReference &, ePtr<iRecordableService> &ptr);
        RESULT list(const eServiceReference &, ePtr<iListableService> &ptr);
+       RESULT info(const eServiceReference &, ePtr<iStaticServiceInformation> &ptr);
+private:
+       ePtr<iStaticServiceInformation> m_service_information;
 };
 
-class eServiceFS: public virtual iListableService, public virtual iObject
+class eServiceFS: public iListableService
 {
-DECLARE_REF;
+DECLARE_REF(eServiceFS);
 private:
-       eString path;
+       std::string path;
        friend class eServiceFactoryFS;
        eServiceFS(const char *path);
+       
+       int m_list_valid;
+       std::list<eServiceReference> m_list;
 public:
        virtual ~eServiceFS();
        
        RESULT getContent(std::list<eServiceReference> &list);
+       RESULT getNext(eServiceReference &ptr);
 };
 
 #endif