From c22c440067195e9e0787604f8fb15c6f1f670329 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Wed, 17 Jul 2024 12:46:36 -0400 Subject: Clean up includes and forward declarations According to include-what-you-use 0.22 on LLVM 18, anyway. Most of the changes seem vaguely reasonable, so as usual, just go with what the tool says because it's most useful when reports are typically clean. --- src/gui/BreadCrumbs.cpp | 1 - src/gui/ConnectWindow.cpp | 1 - src/gui/GraphBox.cpp | 1 - src/gui/GraphCanvas.cpp | 1 - src/gui/GraphTreeWindow.cpp | 1 - src/gui/GraphView.cpp | 1 - src/gui/LoadGraphWindow.cpp | 1 - src/gui/LoadPluginWindow.cpp | 1 - src/gui/MessagesWindow.cpp | 1 - src/gui/NewSubgraphWindow.cpp | 1 - src/gui/NodeMenu.cpp | 1 - src/gui/NodeModule.cpp | 1 - src/gui/ObjectMenu.cpp | 1 - src/gui/Port.cpp | 1 - src/gui/PortMenu.cpp | 1 - src/gui/PropertiesWindow.cpp | 1 - src/gui/RenameWindow.cpp | 1 - src/gui/ThreadedLoader.cpp | 2 ++ src/gui/WindowFactory.cpp | 1 - 19 files changed, 2 insertions(+), 18 deletions(-) (limited to 'src/gui') diff --git a/src/gui/BreadCrumbs.cpp b/src/gui/BreadCrumbs.cpp index eb2d511b..be613407 100644 --- a/src/gui/BreadCrumbs.cpp +++ b/src/gui/BreadCrumbs.cpp @@ -23,7 +23,6 @@ #include "raul/Path.hpp" #include "raul/Symbol.hpp" -#include #include #include diff --git a/src/gui/ConnectWindow.cpp b/src/gui/ConnectWindow.cpp index f645bb30..b33c3b81 100644 --- a/src/gui/ConnectWindow.cpp +++ b/src/gui/ConnectWindow.cpp @@ -40,7 +40,6 @@ #include #include -#include #include #include #include diff --git a/src/gui/GraphBox.cpp b/src/gui/GraphBox.cpp index e4a95bed..0764e4ed 100644 --- a/src/gui/GraphBox.cpp +++ b/src/gui/GraphBox.cpp @@ -56,7 +56,6 @@ #include #include #include -#include #include #include #include diff --git a/src/gui/GraphCanvas.cpp b/src/gui/GraphCanvas.cpp index e02c4e5b..6d5c3b5a 100644 --- a/src/gui/GraphCanvas.cpp +++ b/src/gui/GraphCanvas.cpp @@ -67,7 +67,6 @@ #include #include #include -#include #include #include #include diff --git a/src/gui/GraphTreeWindow.cpp b/src/gui/GraphTreeWindow.cpp index fa3318bf..9c3c4b3d 100644 --- a/src/gui/GraphTreeWindow.cpp +++ b/src/gui/GraphTreeWindow.cpp @@ -32,7 +32,6 @@ #include "raul/Symbol.hpp" #include -#include #include #include #include diff --git a/src/gui/GraphView.cpp b/src/gui/GraphView.cpp index 7c01c3ae..5464b7c4 100644 --- a/src/gui/GraphView.cpp +++ b/src/gui/GraphView.cpp @@ -29,7 +29,6 @@ #include #include -#include #include #include #include diff --git a/src/gui/LoadGraphWindow.cpp b/src/gui/LoadGraphWindow.cpp index c9c18ae9..794cfe71 100644 --- a/src/gui/LoadGraphWindow.cpp +++ b/src/gui/LoadGraphWindow.cpp @@ -36,7 +36,6 @@ #include #include #include -#include #include #include #include diff --git a/src/gui/LoadPluginWindow.cpp b/src/gui/LoadPluginWindow.cpp index 6951f87a..c19baa87 100644 --- a/src/gui/LoadPluginWindow.cpp +++ b/src/gui/LoadPluginWindow.cpp @@ -34,7 +34,6 @@ #include #include #include -#include #include #include #include diff --git a/src/gui/MessagesWindow.cpp b/src/gui/MessagesWindow.cpp index 7f3e4b8c..62bcfd00 100644 --- a/src/gui/MessagesWindow.cpp +++ b/src/gui/MessagesWindow.cpp @@ -25,7 +25,6 @@ #include #include -#include #include #include #include diff --git a/src/gui/NewSubgraphWindow.cpp b/src/gui/NewSubgraphWindow.cpp index 28a5afa7..3f2fcecb 100644 --- a/src/gui/NewSubgraphWindow.cpp +++ b/src/gui/NewSubgraphWindow.cpp @@ -32,7 +32,6 @@ #include #include -#include #include #include #include diff --git a/src/gui/NodeMenu.cpp b/src/gui/NodeMenu.cpp index 83e88264..ced303fb 100644 --- a/src/gui/NodeMenu.cpp +++ b/src/gui/NodeMenu.cpp @@ -34,7 +34,6 @@ #include #include #include -#include #include #include #include diff --git a/src/gui/NodeModule.cpp b/src/gui/NodeModule.cpp index 1d9b4c9f..20cfdbb3 100644 --- a/src/gui/NodeModule.cpp +++ b/src/gui/NodeModule.cpp @@ -47,7 +47,6 @@ #include "raul/Symbol.hpp" #include -#include #include #include #include diff --git a/src/gui/ObjectMenu.cpp b/src/gui/ObjectMenu.cpp index f6966bd8..1e9e0e94 100644 --- a/src/gui/ObjectMenu.cpp +++ b/src/gui/ObjectMenu.cpp @@ -27,7 +27,6 @@ #include "ingen/client/ObjectModel.hpp" #include -#include #include #include #include diff --git a/src/gui/Port.cpp b/src/gui/Port.cpp index 3925ed0c..ecba0ac7 100644 --- a/src/gui/Port.cpp +++ b/src/gui/Port.cpp @@ -46,7 +46,6 @@ #include "raul/Symbol.hpp" #include "sord/sordmm.hpp" -#include #include #include #include diff --git a/src/gui/PortMenu.cpp b/src/gui/PortMenu.cpp index 95ba88dc..6cd30066 100644 --- a/src/gui/PortMenu.cpp +++ b/src/gui/PortMenu.cpp @@ -35,7 +35,6 @@ #include "raul/Symbol.hpp" #include -#include #include #include #include diff --git a/src/gui/PropertiesWindow.cpp b/src/gui/PropertiesWindow.cpp index 958a73c9..91473c1a 100644 --- a/src/gui/PropertiesWindow.cpp +++ b/src/gui/PropertiesWindow.cpp @@ -36,7 +36,6 @@ #include #include -#include #include #include #include diff --git a/src/gui/RenameWindow.cpp b/src/gui/RenameWindow.cpp index 66d8e918..0b6bdae9 100644 --- a/src/gui/RenameWindow.cpp +++ b/src/gui/RenameWindow.cpp @@ -31,7 +31,6 @@ #include #include -#include #include #include #include diff --git a/src/gui/ThreadedLoader.cpp b/src/gui/ThreadedLoader.cpp index 4cd382a0..170b9a0e 100644 --- a/src/gui/ThreadedLoader.cpp +++ b/src/gui/ThreadedLoader.cpp @@ -20,12 +20,14 @@ #include "ingen/Log.hpp" #include "ingen/Parser.hpp" +#include "ingen/Properties.hpp" #include "ingen/Serialiser.hpp" #include "ingen/URI.hpp" #include "ingen/World.hpp" #include "ingen/client/GraphModel.hpp" #include "raul/Path.hpp" #include "raul/Semaphore.hpp" +#include "raul/Symbol.hpp" #include #include diff --git a/src/gui/WindowFactory.cpp b/src/gui/WindowFactory.cpp index 010ef704..4fce885c 100644 --- a/src/gui/WindowFactory.cpp +++ b/src/gui/WindowFactory.cpp @@ -33,7 +33,6 @@ #include "raul/Path.hpp" #include -#include #include #include -- cgit v1.2.1