Add generic wxFileSystem support to wxWebView using wxWebViewFSHandler.
Closes #14623. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@72461 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
32
interface/wx/webviewfshandler.h
Normal file
32
interface/wx/webviewfshandler.h
Normal file
@@ -0,0 +1,32 @@
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
// Name: webviewfshandler.h
|
||||
// Purpose: interface of wxWebViewFSHandler
|
||||
// Author: wxWidgets team
|
||||
// RCS-ID: $Id$
|
||||
// Licence: wxWindows licence
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
/**
|
||||
@class wxWebViewFSHandler
|
||||
|
||||
A wxWebView file system handler to support standard wxFileSystem protocols
|
||||
of the form <code> example:page.htm </code> The handler allows wxWebView to
|
||||
use wxFileSystem in a similar fashion to its use with wxHtml.
|
||||
|
||||
The wxMemoryFSHandler documentation gives an example of how it may be used.
|
||||
|
||||
@since 2.9.5
|
||||
@library{wxwebview}
|
||||
@category{webview}
|
||||
|
||||
@see wxWebView, wxWebViewHandler, wxWebViewArchiveHandler
|
||||
*/
|
||||
class wxWebViewFSHandler : public wxWebViewHandler
|
||||
{
|
||||
public:
|
||||
/**
|
||||
Constructor.
|
||||
*/
|
||||
wxWebViewFSHandler(const wxString& scheme);
|
||||
virtual wxFSFile* GetFile(const wxString &uri);
|
||||
};
|
Reference in New Issue
Block a user