]> git.saurik.com Git - wxWidgets.git/blame - include/wx/fs_inet.h
don't use numbers in URLs if truncateFilenames=no
[wxWidgets.git] / include / wx / fs_inet.h
CommitLineData
5526e819
VS
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
4e8e18e2
VZ
9#ifndef _WX_FS_INET_H_
10#define _WX_FS_INET_H_
5526e819 11
12028905 12#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
c3f4609e 13#pragma interface "fs_inet.h"
5526e819
VS
14#endif
15
8b70ca26 16#include "wx/defs.h"
5526e819 17
24528b0c 18#if wxUSE_FILESYSTEM && wxUSE_FS_INET && wxUSE_STREAMS && wxUSE_SOCKETS
8a4df159 19
ed58dbea 20#include "wx/filesys.h"
5526e819 21
3caa34b7 22// ----------------------------------------------------------------------------
5526e819 23// wxInternetFSHandler
3caa34b7 24// ----------------------------------------------------------------------------
5526e819 25
7c4728f6 26class WXDLLIMPEXP_NET wxInternetFSHandler : public wxFileSystemHandler
5526e819 27{
5526e819
VS
28 public:
29 virtual bool CanOpen(const wxString& location);
30 virtual wxFSFile* OpenFile(wxFileSystem& fs, const wxString& location);
5526e819
VS
31};
32
8a4df159 33#endif
24528b0c 34 // wxUSE_FILESYSTEM && wxUSE_FS_INET && wxUSE_STREAMS && wxUSE_SOCKETS
5526e819 35
4e8e18e2
VZ
36#endif // _WX_FS_INET_H_
37