Mercurial > hg > orthanc-stone
view Applications/Samples/SimpleViewer/Qt/mainQt.cpp @ 1310:9bea7e15b519 broker
- first pass at changes to cope with the refactoring of the loading system
- global loader-related data accessible through ILoadersContext::ILock
- many changes in legacy loaders (CT, RTSTRUCT, DOSE) + loader cache
- NOT FINISHED! there are shared_from_this calls in ctors! this will crash!
author | Benjamin Golinvaux <bgo@osimis.io> |
---|---|
date | Mon, 09 Mar 2020 14:53:22 +0100 |
parents | daa04d15192c |
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); }