Mercurial > hg > orthanc-stone
changeset 2330:e6c612391386 refactoring
fix
| author | Sebastien Jodogne <s.jodogne@gmail.com> |
|---|---|
| date | Fri, 02 Oct 2026 17:58:48 +0200 |
| parents | 2c751c002ab5 |
| children | be59ba6c8f71 |
| files | Applications/Samples/Sdl/SingleFrameViewer/SdlSimpleViewer.cpp Applications/Samples/WebAssembly/CMakeLists.txt |
| diffstat | 2 files changed, 3 insertions(+), 19 deletions(-) [+] |
line wrap: on
line diff
--- 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 <Compatibility.h> // For std::unique_ptr<> -#include <EmbeddedResources.h> - -#include <SDL.h> -#include <boost/make_shared.hpp> #include <boost/program_options.hpp> -#include <string> - // TODO Refactoring @@ -51,7 +35,6 @@ #include "../../../../OrthancStone/Sources/Oracle/SleepOracleCommand.h" #include "../../../../OrthancStone/Sources/StoneApplication.h" - namespace OrthancStone { class Toto : public IOracleClient
--- 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 )
