view Applications/Samples/SimpleViewer/Qt/mainQt.cpp @ 840:47fc7919977d

Added details on errors in LoaderStateMachine + dummy change in loader.cpp
author Benjamin Golinvaux <bgo@osimis.io>
date Sun, 09 Jun 2019 18:47:34 +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);
}