1999-07-07 22:04:58 +00:00
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
2011-03-20 00:14:35 +00:00
|
|
|
// Name: wx/fs_inet.h
|
1999-07-07 22:04:58 +00:00
|
|
|
// Purpose: HTTP and FTP file system
|
|
|
|
// Author: Vaclav Slavik
|
|
|
|
// Copyright: (c) 1999 Vaclav Slavik
|
2004-05-23 20:53:33 +00:00
|
|
|
// Licence: wxWindows licence
|
1999-07-07 22:04:58 +00:00
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
2002-03-06 11:17:14 +00:00
|
|
|
#ifndef _WX_FS_INET_H_
|
|
|
|
#define _WX_FS_INET_H_
|
1999-07-07 22:04:58 +00:00
|
|
|
|
2001-07-13 13:52:19 +00:00
|
|
|
#include "wx/defs.h"
|
1999-07-07 22:04:58 +00:00
|
|
|
|
2000-02-27 21:06:17 +00:00
|
|
|
#if wxUSE_FILESYSTEM && wxUSE_FS_INET && wxUSE_STREAMS && wxUSE_SOCKETS
|
1999-07-29 19:52:37 +00:00
|
|
|
|
1999-08-20 22:52:21 +00:00
|
|
|
#include "wx/filesys.h"
|
1999-07-07 22:04:58 +00:00
|
|
|
|
2003-08-29 22:54:45 +00:00
|
|
|
// ----------------------------------------------------------------------------
|
1999-07-07 22:04:58 +00:00
|
|
|
// wxInternetFSHandler
|
2003-08-29 22:54:45 +00:00
|
|
|
// ----------------------------------------------------------------------------
|
1999-07-07 22:04:58 +00:00
|
|
|
|
2003-07-27 22:41:06 +00:00
|
|
|
class WXDLLIMPEXP_NET wxInternetFSHandler : public wxFileSystemHandler
|
1999-07-07 22:04:58 +00:00
|
|
|
{
|
|
|
|
public:
|
2014-03-30 00:02:23 +00:00
|
|
|
virtual bool CanOpen(const wxString& location) wxOVERRIDE;
|
|
|
|
virtual wxFSFile* OpenFile(wxFileSystem& fs, const wxString& location) wxOVERRIDE;
|
1999-07-07 22:04:58 +00:00
|
|
|
};
|
|
|
|
|
1999-07-29 19:52:37 +00:00
|
|
|
#endif
|
2000-02-27 21:06:17 +00:00
|
|
|
// wxUSE_FILESYSTEM && wxUSE_FS_INET && wxUSE_STREAMS && wxUSE_SOCKETS
|
1999-07-07 22:04:58 +00:00
|
|
|
|
2002-03-06 11:17:14 +00:00
|
|
|
#endif // _WX_FS_INET_H_
|
|
|
|
|