1 /////////////////////////////////////////////////////////////////////////////
3 // Purpose: HTTP and FTP file system
4 // Author: Vaclav Slavik
5 // Copyright: (c) 1999 Vaclav Slavik
6 // Licence: wxWindows licence
7 /////////////////////////////////////////////////////////////////////////////
10 #define _WX_FS_INET_H_
14 #if wxUSE_FILESYSTEM && wxUSE_FS_INET && wxUSE_STREAMS && wxUSE_SOCKETS
16 #include "wx/filesys.h"
18 // ----------------------------------------------------------------------------
19 // wxInternetFSHandler
20 // ----------------------------------------------------------------------------
22 class WXDLLIMPEXP_NET wxInternetFSHandler
: public wxFileSystemHandler
25 virtual bool CanOpen(const wxString
& location
);
26 virtual wxFSFile
* OpenFile(wxFileSystem
& fs
, const wxString
& location
);
30 // wxUSE_FILESYSTEM && wxUSE_FS_INET && wxUSE_STREAMS && wxUSE_SOCKETS
32 #endif // _WX_FS_INET_H_