X-Git-Url: https://git.cweiske.de/enigma2.git/blobdiff_plain/d63d2c3c6cbbd574dda4f8b00ebe6c661735edd5..fb298c769ccf5cb29f8461cbef280c969c8f6e26:/lib/service/servicefs.h diff --git a/lib/service/servicefs.h b/lib/service/servicefs.h index 9d49b42d..e87b53a2 100644 --- a/lib/service/servicefs.h +++ b/lib/service/servicefs.h @@ -3,9 +3,9 @@ #include -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 &ptr); RESULT record(const eServiceReference &, ePtr &ptr); RESULT list(const eServiceReference &, ePtr &ptr); + RESULT info(const eServiceReference &, ePtr &ptr); +private: + ePtr 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 m_list; public: virtual ~eServiceFS(); RESULT getContent(std::list &list); + RESULT getNext(eServiceReference &ptr); }; #endif