add GetText for showing config entries, update summary values when changed
[enigma2.git] / lib / network / http_file.h
index 109dc07e6487d0b7085accbe38dbfb595f645002..a9c86c5c907230ba9fb158c5fcb4f54ec81c0b88 100644 (file)
@@ -5,6 +5,8 @@
 
 class eHTTPFile: public eHTTPDataSource
 {
+       DECLARE_REF(eHTTPFile);
+private:       
        int fd, size;
        const char *mime;
        int method;
@@ -16,8 +18,10 @@ public:
        void haveData(void *data, int len);
 };
 
-class eHTTPFilePathResolver: public eHTTPPathResolver
+class eHTTPFilePathResolver: public iHTTPPathResolver
 {
+       DECLARE_REF(eHTTPFilePathResolver);
+public:
        struct eHTTPFilePath
        {
                std::string path;
@@ -30,7 +34,7 @@ class eHTTPFilePathResolver: public eHTTPPathResolver
        ePtrList<eHTTPFilePath> translate;
 public:
        eHTTPFilePathResolver();
-       eHTTPDataSource *getDataSource(std::string request, std::string path, eHTTPConnection *conn);
+       RESULT getDataSource(eHTTPDataSourcePtr &ptr, std::string request, std::string path, eHTTPConnection *conn);
        void addTranslation(std::string path, std::string root, int auth);
 };