| 308 | } |
| 309 | |
| 310 | void FlashControl::handleFlashCall(const std::wstring& xmlString) |
| 311 | { |
| 312 | std::wstring funcName; |
| 313 | Arguments args; |
| 314 | |
| 315 | if (!deserializeInvocation(xmlString, funcName, args)) |
| 316 | return; |
| 317 | |
| 318 | DelegateIter i = delegateMap.find(funcName); |
| 319 | if (i != delegateMap.end()) |
| 320 | { |
| 321 | FlashValue retval = FlashValue(); |
| 322 | i->second(mOwner, args, retval); |
| 323 | flashInterface->SetReturnValue(serializeValue(retval).c_str()); |
| 324 | } |
| 325 | } |
| 326 | |
| 327 | void FlashControl::update() |
| 328 | { |
no test coverage detected