FireBreath  1.4.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Pages
public SecurityZone FB::JSAPIImpl::getZone ( ) const
inlinevirtual

Gets the currently active zone.

Returns
SecurityZone the current zone
Since
1.4a3
See Also
FB::scoped_zonelock
pushZone
popZone

Reimplemented from FB::JSAPI.

Definition at line 238 of file JSAPIImpl.h.

239  {
240  assert(!m_zoneStack.empty());
241  boost::recursive_mutex::scoped_lock lock(m_zoneMutex);
242  return m_zoneStack.back();
243  }