4 #include <lib/service/iservice.h>
6 class eServiceFactoryFS: public iServiceHandler
8 DECLARE_REF(eServiceFactoryFS);
11 virtual ~eServiceFactoryFS();
15 RESULT play(const eServiceReference &, ePtr<iPlayableService> &ptr);
16 RESULT record(const eServiceReference &, ePtr<iRecordableService> &ptr);
17 RESULT list(const eServiceReference &, ePtr<iListableService> &ptr);
18 RESULT info(const eServiceReference &, ePtr<iStaticServiceInformation> &ptr);
19 RESULT offlineOperations(const eServiceReference &, ePtr<iServiceOfflineOperations> &ptr);
21 ePtr<iStaticServiceInformation> m_service_information;
24 class eServiceFS: public iListableService
26 DECLARE_REF(eServiceFS);
29 friend class eServiceFactoryFS;
30 eServiceFS(const char *path);
33 std::list<eServiceReference> m_list;
35 virtual ~eServiceFS();
37 RESULT getContent(std::list<eServiceReference> &list);
38 RESULT getNext(eServiceReference &ptr);
39 int compareLessEqual(const eServiceReference &, const eServiceReference &);
40 RESULT startEdit(ePtr<iMutableServiceList> &);