FireBreath  1.4.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Pages
void FB::JSAPIImpl::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 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  }