X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/7011055c55538a9f38bc265bbafab4afa3ae2981..a7689c49fe02c0c065facf736ab28b19f5997b7c:/include/wx/webviewarchivehandler.h?ds=sidebyside diff --git a/include/wx/webviewarchivehandler.h b/include/wx/webviewarchivehandler.h index 46d639e523..40f4ce5195 100644 --- a/include/wx/webviewarchivehandler.h +++ b/include/wx/webviewarchivehandler.h @@ -12,7 +12,7 @@ #include "wx/setup.h" -#if wxUSE_WEBVIEW && (wxUSE_WEBVIEW_WEBKIT || wxUSE_WEBVIEW_IE) +#if wxUSE_WEBVIEW class wxFSFile; class wxFileSystem; @@ -20,18 +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_WEBVIEW wxWebViewArchiveHandler : public wxWebViewHandler { public: wxWebViewArchiveHandler(const wxString& scheme); - virtual ~wxWebViewArchiveHandler() {} + virtual ~wxWebViewArchiveHandler(); virtual wxFSFile* GetFile(const wxString &uri); private: wxFileSystem* m_fileSystem; }; -#endif // wxUSE_WEBVIEW && (wxUSE_WEBVIEW_WEBKIT || wxUSE_WEBVIEW_IE) +#endif // wxUSE_WEBVIEW #endif // _WX_WEB_VIEW_FILE_HANDLER_H_