2011-08-04 14:46:49 -04:00
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
2011-08-19 09:30:46 -04:00
|
|
|
// Name: webviewarchivehandler.h
|
2011-08-14 08:15:34 -04:00
|
|
|
// Purpose: interface of wxWebViewArchiveHandler
|
2011-08-04 14:46:49 -04:00
|
|
|
// Author: wxWidgets team
|
|
|
|
// RCS-ID: $Id$
|
|
|
|
// Licence: wxWindows licence
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
/**
|
2011-08-14 08:15:34 -04:00
|
|
|
@class wxWebViewArchiveHandler
|
2011-08-04 14:46:49 -04:00
|
|
|
|
|
|
|
A custom handler for the file scheme which also supports loading from
|
2011-08-14 08:15:34 -04:00
|
|
|
archives. The syntax for wxWebViewArchiveHandler differs from virtual file
|
2011-08-04 14:46:49 -04:00
|
|
|
systems in the rest of wxWidgets by using a syntax such as
|
2011-08-14 08:15:34 -04:00
|
|
|
<code> scheme:///C:/exmaple/docs.zip;protocol=zip/main.htm </code>
|
|
|
|
Currently the only supported protocol is @c zip.
|
2011-08-04 14:46:49 -04:00
|
|
|
|
2011-08-19 09:30:46 -04:00
|
|
|
@library{wxwebview}
|
|
|
|
@category{webview}
|
2011-08-04 14:46:49 -04:00
|
|
|
|
2011-08-14 08:15:34 -04:00
|
|
|
@see wxWebView, wxWebViewHandler
|
2011-08-04 14:46:49 -04:00
|
|
|
*/
|
2011-08-14 08:15:34 -04:00
|
|
|
class wxWebViewArchiveHandler : public wxWebViewHandler
|
2011-08-04 14:46:49 -04:00
|
|
|
{
|
|
|
|
public:
|
|
|
|
/**
|
2011-08-14 08:15:34 -04:00
|
|
|
Constructor.
|
2011-08-04 14:46:49 -04:00
|
|
|
*/
|
2011-08-14 08:15:34 -04:00
|
|
|
wxWebViewArchiveHandler(const wxString& scheme);
|
2011-08-04 14:46:49 -04:00
|
|
|
virtual wxFSFile* GetFile(const wxString &uri);
|
|
|
|
};
|