X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3beb50e570f1b4f7a97c767677451ffc558fa22f..7d8d6163ad4e9aeea1d18341462c23693a42b9a3:/interface/wx/webviewarchivehandler.h?ds=inline diff --git a/interface/wx/webviewarchivehandler.h b/interface/wx/webviewarchivehandler.h new file mode 100644 index 0000000000..4077bc1a1d --- /dev/null +++ b/interface/wx/webviewarchivehandler.h @@ -0,0 +1,31 @@ +///////////////////////////////////////////////////////////////////////////// +// Name: webfilehandler.h +// Purpose: interface of wxWebViewArchiveHandler +// Author: wxWidgets team +// RCS-ID: $Id$ +// Licence: wxWindows licence +///////////////////////////////////////////////////////////////////////////// + +/** + @class wxWebViewArchiveHandler + + A custom handler for the file scheme which also supports loading from + archives. The syntax for wxWebViewArchiveHandler differs from virtual file + systems in the rest of wxWidgets by using a syntax such as + scheme:///C:/exmaple/docs.zip;protocol=zip/main.htm + Currently the only supported protocol is @c zip. + + @library{wxweb} + @category{web} + + @see wxWebView, wxWebViewHandler + */ +class wxWebViewArchiveHandler : public wxWebViewHandler +{ +public: + /** + Constructor. + */ + wxWebViewArchiveHandler(const wxString& scheme); + virtual wxFSFile* GetFile(const wxString &uri); +}; \ No newline at end of file