FireBreath  1.4.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Pages
public FB::scoped_zonelock::scoped_zonelock ( const JSAPIPtr api,
const SecurityZone zone 
)
inline

Accepts a FB::JSAPIPtr and pushes the specified security zone to be used until this object goes out of scope.

Parameters
apiconst JSAPIPtr& JSAPI object to lock the zone for
zoneconst SecurityZone& Zone to push
Since
1.4a3

Definition at line 561 of file JSAPI.h.

562  : m_api(api.get()), ref(api) {
563  lock(zone);
564  }