Called by the browser to invoke a method on the JSAPI object.
Implements FB::JSAPI. Definition at line 197 of file JSAPISimple.cpp. 00198 { 00199 if (!m_valid) 00200 throw object_invalidated(); 00201 00202 MethodMap::iterator fnd = m_methodMap.find(methodName); 00203 if (fnd != m_methodMap.end() && fnd->second.callFunc != NULL) { 00204 return (this->*fnd->second.callFunc)(args); 00205 } else { 00206 throw invalid_member(methodName); 00207 } 00208 } |
Generated on 19 Jun 2013 for FireBreath by
1.6.1
Labels
