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

public void FB::JSAPIImpl::setDefaultZone ( const SecurityZone securityLevel)
inlinevirtual

Sets the default zone (the zone the class operates on before a push)

Returns
void
Since
1.4a3
See Also
FB::scoped_zonelock
pushZone
popZone
getDefaultZone

Reimplemented from FB::JSAPI.

Definition at line 200 of file JSAPIImpl.h.

201  {
202  boost::recursive_mutex::scoped_lock lock(m_zoneMutex);
203  assert(!m_zoneStack.empty());
204  m_zoneStack.pop_front();
205  m_zoneStack.push_front(securityLevel);
206  }
  • No labels