FireBreath  1.4.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Pages
void FB::JSAPI::SetProperty ( const std::wstring &  propertyName,
const variant value 
)
inlinevirtual

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

Reimplemented in FB::JSAPIProxy.

Definition at line 405 of file JSAPI.h.

References FB::wstring_to_utf8().

Referenced by FB::Npapi::NPObjectAPI::SetProperty(), and FB::JSObject::SetPropertyAsync().

406  {
407  SetProperty(wstring_to_utf8(propertyName), value);
408  }
virtual void SetProperty(const std::wstring &propertyName, const variant &value)
Definition: JSAPI.h:405
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: