# HG changeset patch # User Sebastien Jodogne # Date 1597924672 -7200 # Node ID b4ccd4963d37276eb95b0cf7bc042a920408c05f # Parent 97b34cb88600340ee72f1b34aa89b7bb92c24ed7 fix sdl and wasm samples diff -r 97b34cb88600 -r b4ccd4963d37 Applications/Samples/Common/RtViewerApp.h --- a/Applications/Samples/Common/RtViewerApp.h Thu Aug 20 11:57:41 2020 +0200 +++ b/Applications/Samples/Common/RtViewerApp.h Thu Aug 20 13:57:52 2020 +0200 @@ -30,6 +30,7 @@ #include "../../../OrthancStone/Sources/Messages/ObserverBase.h" #include "../../../OrthancStone/Sources/Oracle/OracleCommandExceptionMessage.h" #include "../../../OrthancStone/Sources/Scene2DViewport/ViewportController.h" +#include "../../../OrthancStone/Sources/Viewport/DefaultViewportInteractor.h" #include "../../../OrthancStone/Sources/Viewport/IViewport.h" #include "../../../OrthancStone/Sources/Volumes/DicomVolumeImage.h" diff -r 97b34cb88600 -r b4ccd4963d37 Applications/Samples/Sdl/SingleFrameViewer/SdlSimpleViewer.cpp --- a/Applications/Samples/Sdl/SingleFrameViewer/SdlSimpleViewer.cpp Thu Aug 20 11:57:41 2020 +0200 +++ b/Applications/Samples/Sdl/SingleFrameViewer/SdlSimpleViewer.cpp Thu Aug 20 13:57:52 2020 +0200 @@ -24,9 +24,10 @@ #include "../../Common/SampleHelpers.h" #include "../../../../OrthancStone/Sources/Loaders/GenericLoadersContext.h" +#include "../../../../OrthancStone/Sources/StoneEnumerations.h" #include "../../../../OrthancStone/Sources/StoneException.h" -#include "../../../../OrthancStone/Sources/StoneEnumerations.h" #include "../../../../OrthancStone/Sources/StoneInitialization.h" +#include "../../../../OrthancStone/Sources/Viewport/DefaultViewportInteractor.h" #include "../../../../OrthancStone/Sources/Viewport/SdlViewport.h" #include // For std::unique_ptr<> diff -r 97b34cb88600 -r b4ccd4963d37 Applications/Samples/Sdl/SingleFrameViewer/SdlSimpleViewerApplication.h --- a/Applications/Samples/Sdl/SingleFrameViewer/SdlSimpleViewerApplication.h Thu Aug 20 11:57:41 2020 +0200 +++ b/Applications/Samples/Sdl/SingleFrameViewer/SdlSimpleViewerApplication.h Thu Aug 20 13:57:52 2020 +0200 @@ -21,11 +21,12 @@ #pragma once -#include "../../../../OrthancStone/Sources/Viewport/IViewport.h" #include "../../../../OrthancStone/Sources/Loaders/DicomResourcesLoader.h" #include "../../../../OrthancStone/Sources/Loaders/ILoadersContext.h" #include "../../../../OrthancStone/Sources/Loaders/SeriesFramesLoader.h" #include "../../../../OrthancStone/Sources/Loaders/SeriesThumbnailsLoader.h" +#include "../../../../OrthancStone/Sources/Scene2DViewport/ViewportController.h" +#include "../../../../OrthancStone/Sources/Viewport/IViewport.h" #include // For std::unique_ptr<> diff -r 97b34cb88600 -r b4ccd4963d37 Applications/Samples/WebAssembly/SingleFrameViewer/SingleFrameViewerApplication.h --- a/Applications/Samples/WebAssembly/SingleFrameViewer/SingleFrameViewerApplication.h Thu Aug 20 11:57:41 2020 +0200 +++ b/Applications/Samples/WebAssembly/SingleFrameViewer/SingleFrameViewerApplication.h Thu Aug 20 13:57:52 2020 +0200 @@ -25,7 +25,7 @@ #include "../../../../OrthancStone/Sources/Loaders/ILoadersContext.h" #include "../../../../OrthancStone/Sources/Loaders/SeriesFramesLoader.h" #include "../../../../OrthancStone/Sources/Loaders/SeriesThumbnailsLoader.h" -#include "../../../../OrthancStone/Sources/Viewport/IViewport.h" +#include "../../../../OrthancStone/Sources/Scene2DViewport/ViewportController.h" #include // For std::unique_ptr<> diff -r 97b34cb88600 -r b4ccd4963d37 OrthancStone/Sources/Viewport/SdlViewport.cpp --- a/OrthancStone/Sources/Viewport/SdlViewport.cpp Thu Aug 20 11:57:41 2020 +0200 +++ b/OrthancStone/Sources/Viewport/SdlViewport.cpp Thu Aug 20 13:57:52 2020 +0200 @@ -20,6 +20,8 @@ #include "SdlViewport.h" +#include "../Scene2DViewport/ViewportController.h" + #include #include diff -r 97b34cb88600 -r b4ccd4963d37 OrthancStone/Sources/Viewport/SdlViewport.h --- a/OrthancStone/Sources/Viewport/SdlViewport.h Thu Aug 20 11:57:41 2020 +0200 +++ b/OrthancStone/Sources/Viewport/SdlViewport.h Thu Aug 20 13:57:52 2020 +0200 @@ -48,6 +48,7 @@ #include #include +#include namespace OrthancStone {