Mercurial > hg > orthanc-stone
view Applications/Samples/SimpleViewer/Qt/mainQt.cpp @ 977:262a0244e9b2 toa2019090201
Added missing Unregister for objects that register by the broker + logs + guard in FetchContext
author | Benjamin Golinvaux <bgo@osimis.io> |
---|---|
date | Mon, 02 Sep 2019 17:29:26 +0200 |
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); }