customgui_htmlviewer.h File Reference

Classes

class  HtmlViewerCustomGui
 

Macros

#define CUSTOMGUI_HTMLVIEWER
 
#define WEBPAGE_GOBACK
 
#define WEBPAGE_GOFORWARD
 
#define WEBPAGE_GOHOME
 
#define WEBPAGE_SEARCH
 
#define WEBPAGE_REFRESH
 
#define WEBPAGE_STOP
 
#define URL_ENCODING_UTF16
 
#define URL_ENCODING_ESCAPED
 

Typedefs

typedef void HtmlViewerCustomGuiURLCallback(void *user_data, const maxon::String &url, Bool hasError, Int32 encoding, void *reserved)
 
typedef maxon::Opt< maxon::BaseArray< Char > > HtmlViewerCustomGuiResourceRequestInterceptCallback(void *user_data, const maxon::String &url, Int32 encoding, void *reserved)
 

Macro Definition Documentation

◆ CUSTOMGUI_HTMLVIEWER

#define CUSTOMGUI_HTMLVIEWER

HTML viewer custom GUI ID.

Typedef Documentation

◆ HtmlViewerCustomGuiURLCallback

typedef void HtmlViewerCustomGuiURLCallback(void *user_data, const maxon::String &url, Bool hasError, Int32 encoding, void *reserved)

HTML viewer GUI URL callback. Has to be registered/unregistered with HtmlViewerCustomGui::SetURLCallback().

Parameters
[in]user_dataThe user data.
[in]urlThe URL.
[in]encodingThe URL encoding: URL_ENCODING
[in,out]reservedReserved.

◆ HtmlViewerCustomGuiResourceRequestInterceptCallback

typedef maxon::Opt<maxon::BaseArray<Char> > HtmlViewerCustomGuiResourceRequestInterceptCallback(void *user_data, const maxon::String &url, Int32 encoding, void *reserved)

HTML viewer GUI resource request interception callback. Has to be registered/unregistered with HtmlViewerCustomGui::SetResourceRequestInterceptCallback().

Parameters
[in]user_dataThe user data.
[in]urlThe URL.
[in]encodingThe URL encoding: URL_ENCODING
[in,out]reservedReserved.