]>
Commit | Line | Data |
---|---|---|
5526e819 VS |
1 | ///////////////////////////////////////////////////////////////////////////// |
2 | // Name: fs_inet.h | |
3 | // Purpose: HTTP and FTP file system | |
4 | // Author: Vaclav Slavik | |
5 | // Copyright: (c) 1999 Vaclav Slavik | |
65571936 | 6 | // Licence: wxWindows licence |
5526e819 VS |
7 | ///////////////////////////////////////////////////////////////////////////// |
8 | ||
4e8e18e2 VZ |
9 | #ifndef _WX_FS_INET_H_ |
10 | #define _WX_FS_INET_H_ | |
5526e819 | 11 | |
8b70ca26 | 12 | #include "wx/defs.h" |
5526e819 | 13 | |
24528b0c | 14 | #if wxUSE_FILESYSTEM && wxUSE_FS_INET && wxUSE_STREAMS && wxUSE_SOCKETS |
8a4df159 | 15 | |
ed58dbea | 16 | #include "wx/filesys.h" |
5526e819 | 17 | |
3caa34b7 | 18 | // ---------------------------------------------------------------------------- |
5526e819 | 19 | // wxInternetFSHandler |
3caa34b7 | 20 | // ---------------------------------------------------------------------------- |
5526e819 | 21 | |
7c4728f6 | 22 | class WXDLLIMPEXP_NET wxInternetFSHandler : public wxFileSystemHandler |
5526e819 | 23 | { |
5526e819 VS |
24 | public: |
25 | virtual bool CanOpen(const wxString& location); | |
26 | virtual wxFSFile* OpenFile(wxFileSystem& fs, const wxString& location); | |
5526e819 VS |
27 | }; |
28 | ||
8a4df159 | 29 | #endif |
24528b0c | 30 | // wxUSE_FILESYSTEM && wxUSE_FS_INET && wxUSE_STREAMS && wxUSE_SOCKETS |
5526e819 | 31 | |
4e8e18e2 VZ |
32 | #endif // _WX_FS_INET_H_ |
33 |