# HG changeset patch # User Sebastien Jodogne # Date 1790956728 -7200 # Node ID e6c612391386be100dd94ae0bcdcac17026e4534 # Parent 2c751c002ab541b0fcd39366804898d328c74349 fix diff -r 2c751c002ab5 -r e6c612391386 Applications/Samples/Sdl/SingleFrameViewer/SdlSimpleViewer.cpp --- a/Applications/Samples/Sdl/SingleFrameViewer/SdlSimpleViewer.cpp Fri Oct 02 17:52:01 2026 +0200 +++ b/Applications/Samples/Sdl/SingleFrameViewer/SdlSimpleViewer.cpp Fri Oct 02 17:58:48 2026 +0200 @@ -20,30 +20,14 @@ **/ -#include "../../Common/SimpleViewerCore.h" -#include "../../SingleViewportSdlApplication.h" - -#include "../../../../OrthancStone/Sources/Messages/TypedObserver.h" - -#include "../../../../OrthancStone/Sources/Loaders/DicomResourcesLoader.h" -#include "../../../../OrthancStone/Sources/Loaders/SeriesFramesLoader.h" -#include "../../../../OrthancStone/Sources/Scene2D/AnnotationsSceneLayer.h" -#include "../../../../OrthancStone/Sources/Scene2DViewport/UndoStack.h" -#include "../../../../OrthancStone/Sources/Scene2DViewport/ViewportController.h" #include "../../../../OrthancStone/Sources/StoneException.h" #include "../../../../OrthancStone/Sources/StoneInitialization.h" -#include "../../../../OrthancStone/Sources/Viewport/DefaultViewportInteractor.h" #include "../../Common/SampleHelpers.h" +#include "../../Common/SimpleViewerCore.h" #include "../SdlHelpers.h" +#include "../SingleViewportSdlApplication.h" -#include // For std::unique_ptr<> -#include - -#include -#include #include -#include - // TODO Refactoring @@ -51,7 +35,6 @@ #include "../../../../OrthancStone/Sources/Oracle/SleepOracleCommand.h" #include "../../../../OrthancStone/Sources/StoneApplication.h" - namespace OrthancStone { class Toto : public IOracleClient diff -r 2c751c002ab5 -r e6c612391386 Applications/Samples/WebAssembly/CMakeLists.txt --- a/Applications/Samples/WebAssembly/CMakeLists.txt Fri Oct 02 17:52:01 2026 +0200 +++ b/Applications/Samples/WebAssembly/CMakeLists.txt Fri Oct 02 17:58:48 2026 +0200 @@ -149,6 +149,7 @@ project(SingleFrameViewerWasm) add_executable(SingleFrameViewerWasm + ../Common/SimpleViewerCore.cpp SingleFrameViewer/SingleFrameViewer.cpp )