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
|
2012-03-28 14:00:30 -04:00
|
|
|
|
|
|
|
A custom handler for the file scheme which also supports loading from
|
|
|
|
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
|
2012-02-23 08:56:10 -05:00
|
|
|
<code> scheme:///C:/example/docs.zip;protocol=zip/main.htm </code>
|
2012-03-28 14:00:30 -04:00
|
|
|
Currently the only supported protocol is @c zip.
|
|
|
|
|
2011-09-10 14:09:12 -04:00
|
|
|
@since 2.9.3
|
2011-08-19 09:30:46 -04:00
|
|
|
@library{wxwebview}
|
|
|
|
@category{webview}
|
2012-03-28 14:00:30 -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);
|
2012-02-23 08:56:10 -05:00
|
|
|
};
|