Mercurial > hg > orthanc-stone
view Applications/Samples/Deprecated/SimpleViewer/Qt/mainQt.cpp @ 1355:4971b1c5dfa6 broker
Added DISABLE_DEPRECATED_FIND_EVENT_TARGET_BEHAVIOR
macro to control behavior based on the Emscripten option at
runtime. This will be removed once all apps have switched.
author | Benjamin Golinvaux <bgo@osimis.io> |
---|---|
date | Wed, 15 Apr 2020 14:52:53 +0200 |
parents | c53a4667f895 |
children |
line wrap: on
line source
#include "Applications/Qt/QtStoneApplicationRunner.h" #include "../../SimpleViewerApplication.h" #include "Framework/Messages/MessageBroker.h" int main(int argc, char* argv[]) { OrthancStone::MessageBroker broker; SimpleViewer::SimpleViewerApplication stoneApplication(broker); OrthancStone::QtStoneApplicationRunner qtAppRunner(broker, stoneApplication); return qtAppRunner.Execute(argc, argv); }