mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-26 07:39:45 -06:00
wxWidgets3: update to svn r70933
This commit is contained in:
37
Externals/wxWidgets3/include/wx/webviewarchivehandler.h
vendored
Normal file
37
Externals/wxWidgets3/include/wx/webviewarchivehandler.h
vendored
Normal file
@ -0,0 +1,37 @@
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
// Name: webviewarchivehandler.h
|
||||
// Purpose: Custom webview handler to allow archive browsing
|
||||
// Author: Steven Lamerton
|
||||
// Id: $Id: webviewarchivehandler.h 69316 2011-10-05 21:21:51Z SJL $
|
||||
// Copyright: (c) 2011 Steven Lamerton
|
||||
// Licence: wxWindows licence
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
#ifndef _WX_WEB_VIEW_FILE_HANDLER_H_
|
||||
#define _WX_WEB_VIEW_FILE_HANDLER_H_
|
||||
|
||||
#include "wx/setup.h"
|
||||
|
||||
#if wxUSE_WEBVIEW
|
||||
|
||||
class wxFSFile;
|
||||
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
|
||||
|
||||
class WXDLLIMPEXP_WEBVIEW wxWebViewArchiveHandler : public wxWebViewHandler
|
||||
{
|
||||
public:
|
||||
wxWebViewArchiveHandler(const wxString& scheme);
|
||||
virtual ~wxWebViewArchiveHandler();
|
||||
virtual wxFSFile* GetFile(const wxString &uri);
|
||||
private:
|
||||
wxFileSystem* m_fileSystem;
|
||||
};
|
||||
|
||||
#endif // wxUSE_WEBVIEW
|
||||
|
||||
#endif // _WX_WEB_VIEW_FILE_HANDLER_H_
|
Reference in New Issue
Block a user