FireBreath  1.4.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Pages
JSAPIPtr FB::PluginCore::createJSAPI ( )
protectedpure virtual

Called the first time something calls getRootJSAPI() to get the Root JSAPI instance.

This must be implemented by each class extending PluginCore. The JSAPI object returned from this function in a FB::JSAPIPtr (boost::shared_ptr<JSAPI>) provides the primary interface with javascript for calls made on the plugin <object> tag.

Returns
FB::JSAPIPtr to the default JSAPI implementation for this plugin.

Definition at line 222 of file PluginCore.h.

Referenced by getRootJSAPI().