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

void FB::JSAPIImpl::registerEvent ( const std::wstring &  name)

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 257 of file JSAPIImpl.h.

References registerEvent(), and FB::wstring_to_utf8().

258  {
260  }
virtual void registerEvent(const std::string &name)
Register event so that event listeners can be added/attached from javascript.
Definition: JSAPIImpl.h:253
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

Here is the call graph for this function:

  • No labels