1999-07-07 18:04:58 -04:00
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
// Name: fs_inet.h
|
|
|
|
// Purpose: HTTP and FTP file system
|
|
|
|
// Author: Vaclav Slavik
|
|
|
|
// Copyright: (c) 1999 Vaclav Slavik
|
|
|
|
// Licence: wxWindows Licence
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
2002-03-06 06:17:14 -05:00
|
|
|
#ifndef _WX_FS_INET_H_
|
|
|
|
#define _WX_FS_INET_H_
|
1999-07-07 18:04:58 -04:00
|
|
|
|
2003-08-09 08:38:21 -04:00
|
|
|
#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
|
2001-04-28 19:31:03 -04:00
|
|
|
#pragma interface "fs_inet.h"
|
1999-07-07 18:04:58 -04:00
|
|
|
#endif
|
|
|
|
|
2001-07-13 09:52:19 -04:00
|
|
|
#include "wx/defs.h"
|
1999-07-07 18:04:58 -04:00
|
|
|
|
2000-02-27 16:06:17 -05:00
|
|
|
#if wxUSE_FILESYSTEM && wxUSE_FS_INET && wxUSE_STREAMS && wxUSE_SOCKETS
|
1999-07-29 15:52:37 -04:00
|
|
|
|
1999-08-20 18:52:21 -04:00
|
|
|
#include "wx/filesys.h"
|
1999-07-07 18:04:58 -04:00
|
|
|
|
2003-08-29 18:54:45 -04:00
|
|
|
// ----------------------------------------------------------------------------
|
1999-07-07 18:04:58 -04:00
|
|
|
// wxInternetFSHandler
|
2003-08-29 18:54:45 -04:00
|
|
|
// ----------------------------------------------------------------------------
|
1999-07-07 18:04:58 -04:00
|
|
|
|
2003-07-27 18:41:06 -04:00
|
|
|
class WXDLLIMPEXP_NET wxInternetFSHandler : public wxFileSystemHandler
|
1999-07-07 18:04:58 -04:00
|
|
|
{
|
|
|
|
public:
|
|
|
|
virtual bool CanOpen(const wxString& location);
|
|
|
|
virtual wxFSFile* OpenFile(wxFileSystem& fs, const wxString& location);
|
|
|
|
};
|
|
|
|
|
1999-07-29 15:52:37 -04:00
|
|
|
#endif
|
2000-02-27 16:06:17 -05:00
|
|
|
// wxUSE_FILESYSTEM && wxUSE_FS_INET && wxUSE_STREAMS && wxUSE_SOCKETS
|
1999-07-07 18:04:58 -04:00
|
|
|
|
2002-03-06 06:17:14 -05:00
|
|
|
#endif // _WX_FS_INET_H_
|
|
|
|
|