]> git.saurik.com Git - wxWidgets.git/blob - interface/wx/webviewarchivehandler.h
Avoid needless second string conversion when adding files to memory FS.
[wxWidgets.git] / interface / wx / webviewarchivehandler.h
1 /////////////////////////////////////////////////////////////////////////////
2 // Name: webviewarchivehandler.h
3 // Purpose: interface of wxWebViewArchiveHandler
4 // Author: wxWidgets team
5 // RCS-ID: $Id$
6 // Licence: wxWindows licence
7 /////////////////////////////////////////////////////////////////////////////
8
9 /**
10 @class wxWebViewArchiveHandler
11
12 A custom handler for the file scheme which also supports loading from
13 archives. The syntax for wxWebViewArchiveHandler differs from virtual file
14 systems in the rest of wxWidgets by using a syntax such as
15 <code> scheme:///C:/exmaple/docs.zip;protocol=zip/main.htm </code>
16 Currently the only supported protocol is @c zip.
17
18 @since 2.9.3
19 @library{wxwebview}
20 @category{webview}
21
22 @see wxWebView, wxWebViewHandler
23 */
24 class wxWebViewArchiveHandler : public wxWebViewHandler
25 {
26 public:
27 /**
28 Constructor.
29 */
30 wxWebViewArchiveHandler(const wxString& scheme);
31 virtual wxFSFile* GetFile(const wxString &uri);
32 };