From faf4b759d70de4e3a54089afc447545b72a693ee Mon Sep 17 00:00:00 2001 From: Krisjanis Rijnieks Date: Wed, 25 Jan 2017 19:47:52 +0100 Subject: [PATCH] Organize Application includes --- src/Application/Application.h | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) diff --git a/src/Application/Application.h b/src/Application/Application.h index 134fd58..c117dce 100644 --- a/src/Application/Application.h +++ b/src/Application/Application.h @@ -1,7 +1,17 @@ #pragma once +// OpenFrameworks components #include "ofEvents.h" #include "ofLog.h" + +// OfxPiMapper Components +#include "FboSource.h" +#include "Info.h" +#include "SurfaceStack.h" +#include "Gui.h" +#include "TerminalListener.h" + +// Commands #include "SetApplicationModeCmd.h" #include "ClearSurfacesCmd.h" #include "SetPresetCmd.h" @@ -12,16 +22,13 @@ #include "DuplicateSurfaceCmd.h" #include "TogglePerspectiveCmd.h" #include "SetNextSourceCmd.h" + +// Modes #include "ApplicationBaseMode.h" #include "PresentationMode.h" #include "ProjectionMappingMode.h" #include "TextureMappingMode.h" #include "SourceSelectionMode.h" -#include "FboSource.h" -#include "Info.h" -#include "SurfaceStack.h" -#include "Gui.h" -#include "TerminalListener.h" // TODO: Move all command executors to here (Application class) // This would allow one not to repeat. Commands would be called in