add hack for Kabel-BW 618Mhz Transponder.. (tsid is difference in PAT and
[enigma2.git] / lib / service / servicefs.h
index 73bfd985d416991ddc326c547ec39a43ee2feceb..d05eef19c70475a541d3ecf30478e2f9f7dbe7a6 100644 (file)
@@ -27,15 +27,21 @@ 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);
+
+       RESULT getContent(std::list<eServiceReference> &list, bool sorted=false);
+       PyObject *getContent(const char *format, bool sorted=false);
        RESULT getNext(eServiceReference &ptr);
+       int compareLessEqual(const eServiceReference &, const eServiceReference &);
+       RESULT startEdit(ePtr<iMutableServiceList> &);
 };
 
 #endif