#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();
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