X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/7d8d6163ad4e9aeea1d18341462c23693a42b9a3..19f87dbe255b5e85236547bfb4e20ad310644373:/include/wx/webviewarchivehandler.h diff --git a/include/wx/webviewarchivehandler.h b/include/wx/webviewarchivehandler.h index da8a926794..40f4ce5195 100644 --- a/include/wx/webviewarchivehandler.h +++ b/include/wx/webviewarchivehandler.h @@ -12,7 +12,7 @@ #include "wx/setup.h" -#if wxUSE_WEB +#if wxUSE_WEBVIEW class wxFSFile; class wxFileSystem; @@ -20,17 +20,18 @@ class wxFileSystem; #include "wx/webview.h" //Loads from uris such as scheme:///C:/example/example.html or archives such as -//scheme:///C:/example/example.zip;protocol=zip/example.html +//scheme:///C:/example/example.zip;protocol=zip/example.html -class WXDLLIMPEXP_WEB wxWebViewArchiveHandler : public wxWebViewHandler +class WXDLLIMPEXP_WEBVIEW wxWebViewArchiveHandler : public wxWebViewHandler { public: wxWebViewArchiveHandler(const wxString& scheme); + virtual ~wxWebViewArchiveHandler(); virtual wxFSFile* GetFile(const wxString &uri); private: wxFileSystem* m_fileSystem; }; -#endif +#endif // wxUSE_WEBVIEW #endif // _WX_WEB_VIEW_FILE_HANDLER_H_