view Applications/Samples/Deprecated/SimpleViewer/Qt/mainQt.cpp @ 2159:2ab121773f4a broker

closing broker
author Sebastien Jodogne <s.jodogne@gmail.com>
date Fri, 27 Sep 2024 22:33:04 +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);
}