]> git.saurik.com Git - wxWidgets.git/blame - include/wx/webviewarchivehandler.h
Revert "Make wxMSW stack walking methods work with Unicode identifiers."
[wxWidgets.git] / include / wx / webviewarchivehandler.h
CommitLineData
9e3d4a32 1/////////////////////////////////////////////////////////////////////////////
7d8d6163
SL
2// Name: webviewarchivehandler.h
3// Purpose: Custom webview handler to allow archive browsing
9e3d4a32 4// Author: Steven Lamerton
9e3d4a32
SL
5// Copyright: (c) 2011 Steven Lamerton
6// Licence: wxWindows licence
7/////////////////////////////////////////////////////////////////////////////
8
236cff73
SL
9#ifndef _WX_WEBVIEW_FILE_HANDLER_H_
10#define _WX_WEBVIEW_FILE_HANDLER_H_
9e3d4a32
SL
11
12#include "wx/setup.h"
13
88cc66f7 14#if wxUSE_WEBVIEW
9e3d4a32
SL
15
16class wxFSFile;
17class wxFileSystem;
18
19#include "wx/webview.h"
20
7d8d6163 21//Loads from uris such as scheme:///C:/example/example.html or archives such as
34326da7 22//scheme:///C:/example/example.zip;protocol=zip/example.html
9e3d4a32 23
467d261e 24class WXDLLIMPEXP_WEBVIEW wxWebViewArchiveHandler : public wxWebViewHandler
9e3d4a32
SL
25{
26public:
7d8d6163 27 wxWebViewArchiveHandler(const wxString& scheme);
f2ae0da1 28 virtual ~wxWebViewArchiveHandler();
9e3d4a32 29 virtual wxFSFile* GetFile(const wxString &uri);
9e3d4a32 30private:
9e3d4a32
SL
31 wxFileSystem* m_fileSystem;
32};
33
88cc66f7 34#endif // wxUSE_WEBVIEW
9e3d4a32 35
236cff73 36#endif // _WX_WEBVIEW_FILE_HANDLER_H_