X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/7d8d6163ad4e9aeea1d18341462c23693a42b9a3..66c2bf7b1d9326fb650acfaae22ec50528cfbf7c:/include/wx/webviewarchivehandler.h?ds=sidebyside diff --git a/include/wx/webviewarchivehandler.h b/include/wx/webviewarchivehandler.h index da8a926794..8b2eb19908 100644 --- a/include/wx/webviewarchivehandler.h +++ b/include/wx/webviewarchivehandler.h @@ -2,17 +2,16 @@ // Name: webviewarchivehandler.h // Purpose: Custom webview handler to allow archive browsing // Author: Steven Lamerton -// Id: $Id$ // Copyright: (c) 2011 Steven Lamerton // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifndef _WX_WEB_VIEW_FILE_HANDLER_H_ -#define _WX_WEB_VIEW_FILE_HANDLER_H_ +#ifndef _WX_WEBVIEW_FILE_HANDLER_H_ +#define _WX_WEBVIEW_FILE_HANDLER_H_ #include "wx/setup.h" -#if wxUSE_WEB +#if wxUSE_WEBVIEW class wxFSFile; class wxFileSystem; @@ -20,17 +19,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_ +#endif // _WX_WEBVIEW_FILE_HANDLER_H_