FireBreath  1.4.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Pages
void FB::JSAPI::registerEventInterface ( const JSObjectPtr event)
inlinevirtual

Called by the browser to register a JSObject interface that handles events. This is primarily used by IE. Objects provided to this method are called when events are fired by calling a method of the event name on the event interface.

Parameters
eventThe JSAPI interface

Reimplemented in FB::JSAPIImpl.

Definition at line 225 of file JSAPI.h.

226  {
227  // TODO: add support for this in IDispatchAPI and NPObjectAPI
228  throw FB::script_error("Not implemented");
229  }
Exception type; when thrown in a JSAPI method, a javascript exception will be thrown.
Definition: JSExceptions.h:28