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

void FB::JSAPIImpl::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 from FB::JSAPI.

Definition at line 306 of file JSAPIImpl.h.

307  {
308  boost::recursive_mutex::scoped_lock _l(m_eventMutex);
309  m_evtIfaces[event->getEventContext()][static_cast<void*>(event.get())] = event;
310  }
  • No labels