view Applications/Samples/SimpleViewer/Qt/mainQt.cpp @ 663:b8b2bb75fde1

fix to include Stone within an Orthanc plugin
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 15 May 2019 11:51:22 +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);
}