]> git.saurik.com Git - wxWidgets.git/blame_incremental - include/wx/fs_inet.h
Fixed to work with the new wxMacControl system.
[wxWidgets.git] / include / wx / fs_inet.h
... / ...
CommitLineData
1/////////////////////////////////////////////////////////////////////////////
2// Name: 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#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
13#pragma interface "fs_inet.h"
14#endif
15
16#include "wx/defs.h"
17
18#if wxUSE_FILESYSTEM && wxUSE_FS_INET && wxUSE_STREAMS && wxUSE_SOCKETS
19
20#include "wx/filesys.h"
21
22// ----------------------------------------------------------------------------
23// wxInternetFSHandler
24// ----------------------------------------------------------------------------
25
26class WXDLLIMPEXP_NET wxInternetFSHandler : public wxFileSystemHandler
27{
28 public:
29 virtual bool CanOpen(const wxString& location);
30 virtual wxFSFile* OpenFile(wxFileSystem& fs, const wxString& location);
31};
32
33#endif
34 // wxUSE_FILESYSTEM && wxUSE_FS_INET && wxUSE_STREAMS && wxUSE_SOCKETS
35
36#endif // _WX_FS_INET_H_
37