FireBreath  1.4.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Pages
void FB::JSAPIImpl::FireEvent ( const std::wstring &  eventName,
const std::vector< variant > &  args 
)
inlineprotectedvirtual

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Definition at line 92 of file JSAPIImpl.h.

References FB::wstring_to_utf8().

Referenced by FB::JSAPISimple::callFireEvent().

93  {
94  FireEvent(wstring_to_utf8(eventName), args);
95  }
std::string wstring_to_utf8(const std::wstring &src)
Accepts a std::wstring and returns a UTF8-encoded std::string.
Definition: utf8_tools.cpp:37
virtual void FireEvent(const std::wstring &eventName, const std::vector< variant > &args)
Definition: JSAPIImpl.h:92

Here is the call graph for this function: