annotate Applications/Samples/SampleList.h @ 928:1b49e78d91d0

fix for older compilers
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 23 Jul 2019 11:50:21 +0200
parents 37ab9d83dc9b
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
238
126c9c0c9333 SimpleViewer demo running both with SDL and Wasm
am@osimis.io
parents:
diff changeset
1 // The macro "ORTHANC_STONE_SAMPLE" must be set by the CMake script
126c9c0c9333 SimpleViewer demo running both with SDL and Wasm
am@osimis.io
parents:
diff changeset
2
126c9c0c9333 SimpleViewer demo running both with SDL and Wasm
am@osimis.io
parents:
diff changeset
3 #if ORTHANC_STONE_SAMPLE == 1
126c9c0c9333 SimpleViewer demo running both with SDL and Wasm
am@osimis.io
parents:
diff changeset
4 #include "EmptyApplication.h"
285
3c190e2bb3af refactoring: ApplicationRunner + app hierarchy
am@osimis.io
parents: 238
diff changeset
5 typedef OrthancStone::Samples::EmptyApplication SampleApplication;
238
126c9c0c9333 SimpleViewer demo running both with SDL and Wasm
am@osimis.io
parents:
diff changeset
6
126c9c0c9333 SimpleViewer demo running both with SDL and Wasm
am@osimis.io
parents:
diff changeset
7 #elif ORTHANC_STONE_SAMPLE == 2
126c9c0c9333 SimpleViewer demo running both with SDL and Wasm
am@osimis.io
parents:
diff changeset
8 #include "TestPatternApplication.h"
285
3c190e2bb3af refactoring: ApplicationRunner + app hierarchy
am@osimis.io
parents: 238
diff changeset
9 typedef OrthancStone::Samples::TestPatternApplication SampleApplication;
238
126c9c0c9333 SimpleViewer demo running both with SDL and Wasm
am@osimis.io
parents:
diff changeset
10
126c9c0c9333 SimpleViewer demo running both with SDL and Wasm
am@osimis.io
parents:
diff changeset
11 #elif ORTHANC_STONE_SAMPLE == 3
126c9c0c9333 SimpleViewer demo running both with SDL and Wasm
am@osimis.io
parents:
diff changeset
12 #include "SingleFrameApplication.h"
285
3c190e2bb3af refactoring: ApplicationRunner + app hierarchy
am@osimis.io
parents: 238
diff changeset
13 typedef OrthancStone::Samples::SingleFrameApplication SampleApplication;
238
126c9c0c9333 SimpleViewer demo running both with SDL and Wasm
am@osimis.io
parents:
diff changeset
14
126c9c0c9333 SimpleViewer demo running both with SDL and Wasm
am@osimis.io
parents:
diff changeset
15 #elif ORTHANC_STONE_SAMPLE == 4
126c9c0c9333 SimpleViewer demo running both with SDL and Wasm
am@osimis.io
parents:
diff changeset
16 #include "SingleVolumeApplication.h"
285
3c190e2bb3af refactoring: ApplicationRunner + app hierarchy
am@osimis.io
parents: 238
diff changeset
17 typedef OrthancStone::Samples::SingleVolumeApplication SampleApplication;
238
126c9c0c9333 SimpleViewer demo running both with SDL and Wasm
am@osimis.io
parents:
diff changeset
18
126c9c0c9333 SimpleViewer demo running both with SDL and Wasm
am@osimis.io
parents:
diff changeset
19 #elif ORTHANC_STONE_SAMPLE == 5
126c9c0c9333 SimpleViewer demo running both with SDL and Wasm
am@osimis.io
parents:
diff changeset
20 #include "BasicPetCtFusionApplication.h"
285
3c190e2bb3af refactoring: ApplicationRunner + app hierarchy
am@osimis.io
parents: 238
diff changeset
21 typedef OrthancStone::Samples::BasicPetCtFusionApplication SampleApplication;
238
126c9c0c9333 SimpleViewer demo running both with SDL and Wasm
am@osimis.io
parents:
diff changeset
22
126c9c0c9333 SimpleViewer demo running both with SDL and Wasm
am@osimis.io
parents:
diff changeset
23 #elif ORTHANC_STONE_SAMPLE == 6
126c9c0c9333 SimpleViewer demo running both with SDL and Wasm
am@osimis.io
parents:
diff changeset
24 #include "SynchronizedSeriesApplication.h"
285
3c190e2bb3af refactoring: ApplicationRunner + app hierarchy
am@osimis.io
parents: 238
diff changeset
25 typedef OrthancStone::Samples::SynchronizedSeriesApplication SampleApplication;
238
126c9c0c9333 SimpleViewer demo running both with SDL and Wasm
am@osimis.io
parents:
diff changeset
26
126c9c0c9333 SimpleViewer demo running both with SDL and Wasm
am@osimis.io
parents:
diff changeset
27 #elif ORTHANC_STONE_SAMPLE == 7
126c9c0c9333 SimpleViewer demo running both with SDL and Wasm
am@osimis.io
parents:
diff changeset
28 #include "LayoutPetCtFusionApplication.h"
285
3c190e2bb3af refactoring: ApplicationRunner + app hierarchy
am@osimis.io
parents: 238
diff changeset
29 typedef OrthancStone::Samples::LayoutPetCtFusionApplication SampleApplication;
238
126c9c0c9333 SimpleViewer demo running both with SDL and Wasm
am@osimis.io
parents:
diff changeset
30
126c9c0c9333 SimpleViewer demo running both with SDL and Wasm
am@osimis.io
parents:
diff changeset
31 #elif ORTHANC_STONE_SAMPLE == 8
319
daa04d15192c new SimpleViewer sample that has been split in multiple files to be able to scale it
am@osimis.io
parents: 285
diff changeset
32 #include "SimpleViewerApplicationSingleFile.h"
285
3c190e2bb3af refactoring: ApplicationRunner + app hierarchy
am@osimis.io
parents: 238
diff changeset
33 typedef OrthancStone::Samples::SimpleViewerApplication SampleApplication;
238
126c9c0c9333 SimpleViewer demo running both with SDL and Wasm
am@osimis.io
parents:
diff changeset
34
325
37ab9d83dc9b reactivate SingleFrameApplication sample + Added SingleFrameEditorApplication (SDL only)
am@osimis.io
parents: 319
diff changeset
35 #elif ORTHANC_STONE_SAMPLE == 9
37ab9d83dc9b reactivate SingleFrameApplication sample + Added SingleFrameEditorApplication (SDL only)
am@osimis.io
parents: 319
diff changeset
36 #include "SingleFrameEditorApplication.h"
37ab9d83dc9b reactivate SingleFrameApplication sample + Added SingleFrameEditorApplication (SDL only)
am@osimis.io
parents: 319
diff changeset
37 typedef OrthancStone::Samples::SingleFrameEditorApplication SampleApplication;
37ab9d83dc9b reactivate SingleFrameApplication sample + Added SingleFrameEditorApplication (SDL only)
am@osimis.io
parents: 319
diff changeset
38
238
126c9c0c9333 SimpleViewer demo running both with SDL and Wasm
am@osimis.io
parents:
diff changeset
39 #else
126c9c0c9333 SimpleViewer demo running both with SDL and Wasm
am@osimis.io
parents:
diff changeset
40 #error Please set the ORTHANC_STONE_SAMPLE macro
126c9c0c9333 SimpleViewer demo running both with SDL and Wasm
am@osimis.io
parents:
diff changeset
41 #endif