Page tree
Skip to end of metadata
Go to start of metadata

void FB::JSAPI::registerEventInterface ( const JSObjectPtr event)

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.

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
  • No labels