diff options
| author | Felix Domke <tmbinc@elitedvb.net> | 2005-01-09 16:29:34 +0000 |
|---|---|---|
| committer | Felix Domke <tmbinc@elitedvb.net> | 2005-01-09 16:29:34 +0000 |
| commit | ba02fb4aced5868d047a5bffbd2ed87583daee4d (patch) | |
| tree | bcfea66b1f7fd2212539a99abc074de1424ac9a0 /lib/network/http_file.h | |
| parent | 2494509cd031727d92c6556089c99711d16d8af9 (diff) | |
| download | enigma2-ba02fb4aced5868d047a5bffbd2ed87583daee4d.tar.gz enigma2-ba02fb4aced5868d047a5bffbd2ed87583daee4d.zip | |
- add more python stuff
- fix some gui/gdi
- add eslider
- improve windowstyle
Diffstat (limited to 'lib/network/http_file.h')
| -rw-r--r-- | lib/network/http_file.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/lib/network/http_file.h b/lib/network/http_file.h index 109dc07e..6feb562d 100644 --- a/lib/network/http_file.h +++ b/lib/network/http_file.h @@ -5,6 +5,8 @@ class eHTTPFile: public eHTTPDataSource { + DECLARE_REF; +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; +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); }; |
