Mercurial > hg > orthanc-stone
comparison Platforms/Wasm/WasmPlatformApplicationAdapter.cpp @ 322:a902a07769d4 am-2
wip: preload slice
author | am@osimis.io |
---|---|
date | Mon, 15 Oct 2018 22:43:02 +0200 |
parents | daa04d15192c |
children | 5055031f4a06 |
comparison
equal
deleted
inserted
replaced
321:56b2e47d3c0c | 322:a902a07769d4 |
---|---|
36 } | 36 } |
37 } | 37 } |
38 | 38 |
39 void WasmPlatformApplicationAdapter::NotifyStatusUpdateFromCppToWeb(const std::string& statusUpdateMessage) | 39 void WasmPlatformApplicationAdapter::NotifyStatusUpdateFromCppToWeb(const std::string& statusUpdateMessage) |
40 { | 40 { |
41 printf("NotifyStatusUpdateFromCppToWeb (TODO)\n"); | 41 try |
42 UpdateStoneApplicationStatusFromCpp(statusUpdateMessage.c_str()); | 42 { |
43 printf("NotifyStatusUpdateFromCppToWeb (DONE)\n"); | 43 UpdateStoneApplicationStatusFromCpp(statusUpdateMessage.c_str()); |
44 } | |
45 catch (...) | |
46 { | |
47 printf("Error while handling message to web\n"); | |
48 } | |
44 } | 49 } |
45 | 50 |
46 } | 51 } |