]> git.saurik.com Git - wxWidgets.git/blob - include/wx/fs_inet.h
Don't create multiple parent-less top level frames in layout sample.
[wxWidgets.git] / include / wx / fs_inet.h
1 /////////////////////////////////////////////////////////////////////////////
2 // Name: wx/fs_inet.h
3 // Purpose: HTTP and FTP file system
4 // Author: Vaclav Slavik
5 // Copyright: (c) 1999 Vaclav Slavik
6 // Licence: wxWindows licence
7 /////////////////////////////////////////////////////////////////////////////
8
9 #ifndef _WX_FS_INET_H_
10 #define _WX_FS_INET_H_
11
12 #include "wx/defs.h"
13
14 #if wxUSE_FILESYSTEM && wxUSE_FS_INET && wxUSE_STREAMS && wxUSE_SOCKETS
15
16 #include "wx/filesys.h"
17
18 // ----------------------------------------------------------------------------
19 // wxInternetFSHandler
20 // ----------------------------------------------------------------------------
21
22 class WXDLLIMPEXP_NET wxInternetFSHandler : public wxFileSystemHandler
23 {
24 public:
25 virtual bool CanOpen(const wxString& location);
26 virtual wxFSFile* OpenFile(wxFileSystem& fs, const wxString& location);
27 };
28
29 #endif
30 // wxUSE_FILESYSTEM && wxUSE_FS_INET && wxUSE_STREAMS && wxUSE_SOCKETS
31
32 #endif // _WX_FS_INET_H_
33