comparison Applications/Samples/SampleMainSdl.cpp @ 235:ce4405d98b92 am

Added SimpleViewerApplication (working in SDL)
author am@osimis.io
date Tue, 19 Jun 2018 16:02:41 +0200
parents 4cff7b1ed31d
children b4642964c355
comparison
equal deleted inserted replaced
234:9afb50d1ac14 235:ce4405d98b92
47 47
48 #elif ORTHANC_STONE_SAMPLE == 7 48 #elif ORTHANC_STONE_SAMPLE == 7
49 #include "LayoutPetCtFusionApplication.h" 49 #include "LayoutPetCtFusionApplication.h"
50 typedef OrthancStone::Samples::LayoutPetCtFusionApplication Application; 50 typedef OrthancStone::Samples::LayoutPetCtFusionApplication Application;
51 51
52 #elif ORTHANC_STONE_SAMPLE == 8
53 #include "SimpleViewerApplication.h"
54 typedef OrthancStone::Samples::SimpleViewerApplication Application;
55
52 #else 56 #else
53 #error Please set the ORTHANC_STONE_SAMPLE macro 57 #error Please set the ORTHANC_STONE_SAMPLE macro
54 #endif 58 #endif
55 59
56 60
57 int main(int argc, char* argv[]) 61 int main(int argc, char* argv[])
58 { 62 {
59 Application application; 63 Application application;
60 64
61 return OrthancStone::IBasicApplication::ExecuteWithSdl(application, argc, argv); 65 return OrthancStone::BasicSdlApplication::ExecuteWithSdl(application, argc, argv);
62 } 66 }