Mercurial > hg > orthanc-stone
comparison Applications/Samples/SampleMainSdl.cpp @ 274:dc1beee33134 am-2
split SdlApplication into NativeApplication and SdlApplication
author | am@osimis.io |
---|---|
date | Fri, 24 Aug 2018 13:52:55 +0200 |
parents | 192e6e349e69 |
children |
comparison
equal
deleted
inserted
replaced
273:f21ba2468570 | 274:dc1beee33134 |
---|---|
26 int main(int argc, char* argv[]) | 26 int main(int argc, char* argv[]) |
27 { | 27 { |
28 OrthancStone::MessageBroker broker; | 28 OrthancStone::MessageBroker broker; |
29 Application application(broker); | 29 Application application(broker); |
30 | 30 |
31 return OrthancStone::BasicSdlApplication::ExecuteWithSdl(broker, application, argc, argv); | 31 OrthancStone::BasicSdlApplication sdlApplication; |
32 return sdlApplication.Execute(broker, application, argc, argv); | |
32 } | 33 } |