1 /////////////////////////////////////////////////////////////////////////////
3 // Purpose: HTTP and FTP file system
4 // Author: Vaclav Slavik
5 // Copyright: (c) 1999 Vaclav Slavik
6 // Licence: wxWindows Licence
7 /////////////////////////////////////////////////////////////////////////////
13 This FS creates local cache (in /tmp directory). The cache is freed
16 Size of cache is limited to cca 1000 items (due to GetTempFileName
23 #pragma interface "fs_inet.h"
26 #include "wx/wxprec.h"
32 #if wxUSE_FILESYSTEM && wxUSE_FS_INET && wxUSE_STREAMS && wxUSE_SOCKETS
38 #include "wx/filesys.h"
41 //--------------------------------------------------------------------------------
42 // wxInternetFSHandler
43 //--------------------------------------------------------------------------------
45 class WXDLLEXPORT wxInternetFSHandler
: public wxFileSystemHandler
51 virtual bool CanOpen(const wxString
& location
);
52 virtual wxFSFile
* OpenFile(wxFileSystem
& fs
, const wxString
& location
);
53 ~wxInternetFSHandler();
57 // wxUSE_FILESYSTEM && wxUSE_FS_INET && wxUSE_STREAMS && wxUSE_SOCKETS