fix for previous commit
[enigma2.git] / lib / service / servicefs.h
index 479718d867ff789d4778d8defad8947fc585d59b..d05eef19c70475a541d3ecf30478e2f9f7dbe7a6 100644 (file)
@@ -27,15 +27,17 @@ 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<int, std::list<std::string> > m_additional_extensions;
        
        int m_list_valid;
        std::list<eServiceReference> m_list;
+       int getServiceTypeForExtension(const char *str);
+       int getServiceTypeForExtension(const std::string &str);
 public:
        virtual ~eServiceFS();
-       
+
        RESULT getContent(std::list<eServiceReference> &list, bool sorted=false);
-       RESULT getContent(SWIG_PYOBJECT(ePyObject) list, bool sorted=false);
        PyObject *getContent(const char *format, bool sorted=false);
        RESULT getNext(eServiceReference &ptr);
        int compareLessEqual(const eServiceReference &, const eServiceReference &);