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

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

Reimplemented from FB::JSAPI.

Definition at line 205 of file JSAPIProxy.cpp.

206 {
207  FB::scoped_zonelock _l(getAPI(), getZone());
208  getAPI()->SetProperty(propertyName, value);
209 }
Provides a helper class for locking.
Definition: JSAPI.h:548
virtual SecurityZone getZone() const
Gets the currently active zone.
Definition: JSAPIImpl.h:238