2011-08-04 18:46:49 +00:00
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
2011-08-19 13:30:46 +00:00
|
|
|
// Name: webviewarchivehandler.h
|
2011-08-14 12:15:34 +00:00
|
|
|
// Purpose: interface of wxWebViewArchiveHandler
|
2011-08-04 18:46:49 +00:00
|
|
|
// Author: wxWidgets team
|
|
|
|
// Licence: wxWindows licence
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
/**
|
2011-08-14 12:15:34 +00:00
|
|
|
@class wxWebViewArchiveHandler
|
2012-03-28 18:00:30 +00: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 18:46:49 +00:00
|
|
|
systems in the rest of wxWidgets by using a syntax such as
|
2012-02-23 13:56:10 +00:00
|
|
|
<code> scheme:///C:/example/docs.zip;protocol=zip/main.htm </code>
|
2012-03-28 18:00:30 +00:00
|
|
|
Currently the only supported protocol is @c zip.
|
|
|
|
|
2011-09-10 18:09:12 +00:00
|
|
|
@since 2.9.3
|
2011-08-19 13:30:46 +00:00
|
|
|
@library{wxwebview}
|
|
|
|
@category{webview}
|
2012-03-28 18:00:30 +00:00
|
|
|
|
2011-08-14 12:15:34 +00:00
|
|
|
@see wxWebView, wxWebViewHandler
|
2011-08-04 18:46:49 +00:00
|
|
|
*/
|
2011-08-14 12:15:34 +00:00
|
|
|
class wxWebViewArchiveHandler : public wxWebViewHandler
|
2011-08-04 18:46:49 +00:00
|
|
|
{
|
|
|
|
public:
|
|
|
|
/**
|
2011-08-14 12:15:34 +00:00
|
|
|
Constructor.
|
2011-08-04 18:46:49 +00:00
|
|
|
*/
|
2011-08-14 12:15:34 +00:00
|
|
|
wxWebViewArchiveHandler(const wxString& scheme);
|
2011-08-04 18:46:49 +00:00
|
|
|
virtual wxFSFile* GetFile(const wxString &uri);
|
2012-02-23 13:56:10 +00:00
|
|
|
};
|