Mercurial > hg > orthanc-stone
comparison Applications/Samples/SampleList.h @ 238:126c9c0c9333 am
SimpleViewer demo running both with SDL and Wasm
author | am@osimis.io |
---|---|
date | Wed, 20 Jun 2018 09:25:39 +0200 |
parents | |
children | 3c190e2bb3af |
comparison
equal
deleted
inserted
replaced
237:b4642964c355 | 238:126c9c0c9333 |
---|---|
1 // The macro "ORTHANC_STONE_SAMPLE" must be set by the CMake script | |
2 | |
3 #if ORTHANC_STONE_SAMPLE == 1 | |
4 #include "EmptyApplication.h" | |
5 typedef OrthancStone::Samples::EmptyApplication Application; | |
6 | |
7 #elif ORTHANC_STONE_SAMPLE == 2 | |
8 #include "TestPatternApplication.h" | |
9 typedef OrthancStone::Samples::TestPatternApplication Application; | |
10 | |
11 #elif ORTHANC_STONE_SAMPLE == 3 | |
12 #include "SingleFrameApplication.h" | |
13 typedef OrthancStone::Samples::SingleFrameApplication Application; | |
14 | |
15 #elif ORTHANC_STONE_SAMPLE == 4 | |
16 #include "SingleVolumeApplication.h" | |
17 typedef OrthancStone::Samples::SingleVolumeApplication Application; | |
18 | |
19 #elif ORTHANC_STONE_SAMPLE == 5 | |
20 #include "BasicPetCtFusionApplication.h" | |
21 typedef OrthancStone::Samples::BasicPetCtFusionApplication Application; | |
22 | |
23 #elif ORTHANC_STONE_SAMPLE == 6 | |
24 #include "SynchronizedSeriesApplication.h" | |
25 typedef OrthancStone::Samples::SynchronizedSeriesApplication Application; | |
26 | |
27 #elif ORTHANC_STONE_SAMPLE == 7 | |
28 #include "LayoutPetCtFusionApplication.h" | |
29 typedef OrthancStone::Samples::LayoutPetCtFusionApplication Application; | |
30 | |
31 #elif ORTHANC_STONE_SAMPLE == 8 | |
32 #include "SimpleViewerApplication.h" | |
33 typedef OrthancStone::Samples::SimpleViewerApplication Application; | |
34 | |
35 #else | |
36 #error Please set the ORTHANC_STONE_SAMPLE macro | |
37 #endif |