Mercurial > hg > orthanc-stone
comparison Platforms/Wasm/WasmDelayedCallExecutor.cpp @ 726:4f2416d519b4
moving layers, widgets and loaders to Deprecated namespace
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Tue, 21 May 2019 11:43:25 +0200 |
parents | 26b90b110719 |
children |
comparison
equal
deleted
inserted
replaced
714:d2c0e347ddc2 | 726:4f2416d519b4 |
---|---|
19 { | 19 { |
20 throw; | 20 throw; |
21 } | 21 } |
22 else | 22 else |
23 { | 23 { |
24 reinterpret_cast<OrthancStone::MessageHandler<OrthancStone::IDelayedCallExecutor::TimeoutMessage>*>(callable)-> | 24 reinterpret_cast<OrthancStone::MessageHandler<Deprecated::IDelayedCallExecutor::TimeoutMessage>*>(callable)-> |
25 Apply(OrthancStone::IDelayedCallExecutor::TimeoutMessage()); // uri, reinterpret_cast<Orthanc::IDynamicObject*>(payload))); | 25 Apply(Deprecated::IDelayedCallExecutor::TimeoutMessage()); // uri, reinterpret_cast<Orthanc::IDynamicObject*>(payload))); |
26 } | 26 } |
27 } | 27 } |
28 | 28 |
29 | 29 |
30 #ifdef __cplusplus | 30 #ifdef __cplusplus |
31 } | 31 } |
32 #endif | 32 #endif |
33 | 33 |
34 | 34 |
35 | 35 |
36 namespace OrthancStone | 36 namespace Deprecated |
37 { | 37 { |
38 MessageBroker* WasmDelayedCallExecutor::broker_ = NULL; | 38 OrthancStone::MessageBroker* WasmDelayedCallExecutor::broker_ = NULL; |
39 | 39 |
40 | 40 |
41 void WasmDelayedCallExecutor::Schedule(MessageHandler<IDelayedCallExecutor::TimeoutMessage>* callback, | 41 void WasmDelayedCallExecutor::Schedule(OrthancStone::MessageHandler<IDelayedCallExecutor::TimeoutMessage>* callback, |
42 unsigned int timeoutInMs) | 42 unsigned int timeoutInMs) |
43 { | 43 { |
44 WasmDelayedCallExecutor_Schedule(callback, timeoutInMs); | 44 WasmDelayedCallExecutor_Schedule(callback, timeoutInMs); |
45 } | 45 } |
46 } | 46 } |