PtHtmlCallback

PtHtmlCallback — file loading callback information.

Synopsis

class PtHtmlCallback
{
    url;     // string
}
		

Description

This class holds information from four different PtHtml callbacks: Pt_CB_HTML_ERROR, Pt_CB_HTML_IMAGE, Pt_CB_HTML_POST_LOAD, and Pt_CB_HTML_PRE_LOAD.

Also see PtHtml in the Photon documentation.

Instance Variables

url

A string identifying the URL of a file, depending on the callback:

CallbackFile
Pt_CB_HTML_ERRORA file that couldn't be loaded.
Pt_CB_HTML_IMAGEAn image to be loaded.
Pt_CB_HTML_POSTThe currently loaded file.
Pt_CB_HTML_PREThe file to be loaded.

Associated Classes

PtHtml, PtCallbackInfo