Creates a JSAPIProxy that holds a weak_ptr reference to the JSAPI object provided.
Definition at line 31 of file JSAPIProxy.cpp. 00032 { 00033 // This is necessary because you can't use shared_from_this in the constructor 00034 FB::JSAPIProxyPtr ptr(new FB::JSAPIProxy(inner)); 00035 FB::JSAPIImplPtr impl(FB::ptr_cast<JSAPIImpl>(inner.lock())); 00036 if (impl) 00037 impl->registerProxy(ptr); 00038 00039 return ptr; 00040 } |
Generated on 25 May 2013 for FireBreath by
1.6.1
Labels
