X-Git-Url: https://git.cweiske.de/enigma2.git/blobdiff_plain/efc5aca651306518e6f21a6bd7cbfa1928821b60..47367fb1c159557cb3676f67172b9839531c8dc9:/lib/service/servicefs.h diff --git a/lib/service/servicefs.h b/lib/service/servicefs.h index 390757a2..d05eef19 100644 --- a/lib/service/servicefs.h +++ b/lib/service/servicefs.h @@ -27,13 +27,16 @@ DECLARE_REF(eServiceFS); private: std::string path; friend class eServiceFactoryFS; - eServiceFS(const char *path); + eServiceFS(const char *path, const char *additional_extensions=0); + std::map > m_additional_extensions; int m_list_valid; std::list m_list; + int getServiceTypeForExtension(const char *str); + int getServiceTypeForExtension(const std::string &str); public: virtual ~eServiceFS(); - + RESULT getContent(std::list &list, bool sorted=false); PyObject *getContent(const char *format, bool sorted=false); RESULT getNext(eServiceReference &ptr);