wxWidgets: wxWebViewHandler Class Reference

| Version: 3.0.4

Public Member Functions | List of all members
wxWebViewHandler Class Referenceabstract
Class List by Category » WebView

`#include </usr/src/ports/wxWidgets3.0/wxWidgets3.0-3.0.4-1.i686/src/wxWidgets-3.0.4/interface/wx/webview.h>`

Inheritance diagram for wxWebViewHandler:
[legend]

## Detailed Description

The base class for handling custom schemes in wxWebView, for example to allow virtual file system support.

Since
  2.9.3

  ##

Library: wxWebView

<>< =''>:</>&;&;< =''>\ </></>

See also
  wxWebView

## Public Member Functions
| wxWebViewHandler (const wxString &scheme)
| Constructor. More...
virtual wxFSFile * | GetFile (const wxString &uri)=0
virtual wxString | GetName () const

## Constructor & Destructor Documentation

## ◆ wxWebViewHandler()

wxWebViewHandler::wxWebViewHandler | ( | const wxString & | scheme | ) |

Constructor.

Takes the name of the scheme that will be handled by this class for example `file` or `zip`.

## Member Function Documentation

## ◆ GetFile()

virtual wxFSFile* wxWebViewHandler::GetFile | ( | const wxString & | uri | ) |
| pure virtual

Returns
  A pointer to the file represented by `uri`.

Implemented in wxWebViewArchiveHandler, and wxWebViewFSHandler.

## ◆ GetName()

virtual wxString wxWebViewHandler::GetName | ( |  | ) | const
| virtual

Returns
  The name of the scheme, as passed to the constructor.