FireBreath  1.4.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Pages
void FB::JSAPIAuto::unregisterMethod ( const std::string &  name)
virtual

Unregisters a method that has been exposed to javascript.

This is the opposite of registerMethod

Parameters
nameThe name that the method will have when accessed from javascript.
See Also
registerMethod
Since
1.4b4

Definition at line 90 of file JSAPIAuto.cpp.

91 {
92  FB::MethodFunctorMap::iterator fnd = m_methodFunctorMap.find(name);
93  if (fnd != m_methodFunctorMap.end()) {
94  m_methodFunctorMap.erase(name);
95  m_zoneMap.erase(name);
96  }
97 }