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_
12 #if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
13 #pragma interface "fs_inet.h"
18 #if wxUSE_FILESYSTEM && wxUSE_FS_INET && wxUSE_STREAMS && wxUSE_SOCKETS
20 #include "wx/filesys.h"
22 // ----------------------------------------------------------------------------
23 // wxInternetFSHandler
24 // ----------------------------------------------------------------------------
26 class WXDLLIMPEXP_NET wxInternetFSHandler
: public wxFileSystemHandler
29 virtual bool CanOpen(const wxString
& location
);
30 virtual wxFSFile
* OpenFile(wxFileSystem
& fs
, const wxString
& location
);
34 // wxUSE_FILESYSTEM && wxUSE_FS_INET && wxUSE_STREAMS && wxUSE_SOCKETS
36 #endif // _WX_FS_INET_H_