summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2024-07-13 12:41:21 -0400
committerDavid Robillard <d@drobilla.net>2024-07-13 12:41:47 -0400
commitbbdab98ed282291b6e29a944359c360c9cca127e (patch)
treee0e891790fae597c4979bc6b3efd8d3d6913d2a9 /src
parentece338095efe1d5aa2f9b3b6e85ba9b2cbfb1ab4 (diff)
downloadingen-bbdab98ed282291b6e29a944359c360c9cca127e.tar.gz
ingen-bbdab98ed282291b6e29a944359c360c9cca127e.tar.bz2
ingen-bbdab98ed282291b6e29a944359c360c9cca127e.zip
Add missing includes
According to include-what-you-use, anyway. Most of these seem questionable/unnecessary, but since the whole point here is to avoid wasting time doing manually what machines can do, just do what the tool says to keep the checks clean even if it's suboptimal.
Diffstat (limited to 'src')
-rw-r--r--src/gui/App.cpp2
-rw-r--r--src/gui/BreadCrumbs.hpp1
-rw-r--r--src/gui/ConnectWindow.cpp1
-rw-r--r--src/gui/GraphCanvas.cpp1
-rw-r--r--src/gui/LoadPluginWindow.cpp1
-rw-r--r--src/gui/MessagesWindow.cpp1
-rw-r--r--src/gui/NodeMenu.cpp1
-rw-r--r--src/gui/NodeModule.cpp1
-rw-r--r--src/gui/Port.cpp1
-rw-r--r--src/gui/SubgraphModule.cpp1
-rw-r--r--src/server/CompiledGraph.cpp1
-rw-r--r--src/server/ControlBindings.hpp5
-rw-r--r--src/server/GraphImpl.hpp5
-rw-r--r--src/server/InputPort.hpp7
-rw-r--r--src/server/JackDriver.hpp5
-rw-r--r--src/server/LV2Block.hpp11
-rw-r--r--src/server/PortAudioDriver.hpp8
17 files changed, 18 insertions, 35 deletions
diff --git a/src/gui/App.cpp b/src/gui/App.cpp
index 5ae1c8d9..bd57696e 100644
--- a/src/gui/App.cpp
+++ b/src/gui/App.cpp
@@ -52,6 +52,7 @@
#include <glibmm/main.h>
#include <glibmm/miscutils.h>
#include <glibmm/propertyproxy.h>
+#include <glibmm/ustring.h>
#include <gtk/gtk.h>
#include <gtkmm/aboutdialog.h>
#include <gtkmm/dialog.h>
@@ -62,6 +63,7 @@
#include <gtkmm/stock.h>
#include <gtkmm/widget.h>
#include <sigc++/functors/mem_fun.h>
+#include <sigc++/functors/slot.h>
#include <algorithm>
#include <cassert>
diff --git a/src/gui/BreadCrumbs.hpp b/src/gui/BreadCrumbs.hpp
index e7fffc18..6501288d 100644
--- a/src/gui/BreadCrumbs.hpp
+++ b/src/gui/BreadCrumbs.hpp
@@ -24,6 +24,7 @@
#include "ingen/client/GraphModel.hpp"
#include "raul/Path.hpp"
+#include <glibmm/ustring.h>
#include <gtkmm/box.h>
#include <gtkmm/label.h>
#include <gtkmm/object.h>
diff --git a/src/gui/ConnectWindow.cpp b/src/gui/ConnectWindow.cpp
index f49b8788..82447888 100644
--- a/src/gui/ConnectWindow.cpp
+++ b/src/gui/ConnectWindow.cpp
@@ -56,6 +56,7 @@
#include <gtkmm/stock.h>
#include <sigc++/adaptors/bind.h>
#include <sigc++/functors/mem_fun.h>
+#include <sigc++/functors/slot.h>
#include <sigc++/signal.h>
#include <limits>
diff --git a/src/gui/GraphCanvas.cpp b/src/gui/GraphCanvas.cpp
index 896cbf1f..5ea39de0 100644
--- a/src/gui/GraphCanvas.cpp
+++ b/src/gui/GraphCanvas.cpp
@@ -80,6 +80,7 @@
#include <gtkmm/menuitem.h>
#include <gtkmm/object.h>
#include <gtkmm/stock.h>
+#include <gtkmm/stockid.h>
#include <sigc++/adaptors/bind.h>
#include <sigc++/functors/mem_fun.h>
#include <sigc++/signal.h>
diff --git a/src/gui/LoadPluginWindow.cpp b/src/gui/LoadPluginWindow.cpp
index 6a4d998c..6951f87a 100644
--- a/src/gui/LoadPluginWindow.cpp
+++ b/src/gui/LoadPluginWindow.cpp
@@ -43,6 +43,7 @@
#include <gtkmm/enums.h>
#include <gtkmm/messagedialog.h>
#include <gtkmm/treeiter.h>
+#include <gtkmm/treepath.h>
#include <gtkmm/treeview.h>
#include <gtkmm/treeviewcolumn.h>
#include <gtkmm/window.h>
diff --git a/src/gui/MessagesWindow.cpp b/src/gui/MessagesWindow.cpp
index db32af91..7f3e4b8c 100644
--- a/src/gui/MessagesWindow.cpp
+++ b/src/gui/MessagesWindow.cpp
@@ -26,6 +26,7 @@
#include <gdkmm/color.h>
#include <glibmm/propertyproxy.h>
#include <glibmm/signalproxy.h>
+#include <glibmm/ustring.h>
#include <gtkmm/builder.h>
#include <gtkmm/button.h>
#include <gtkmm/enums.h>
diff --git a/src/gui/NodeMenu.cpp b/src/gui/NodeMenu.cpp
index 0b511fc1..5559db71 100644
--- a/src/gui/NodeMenu.cpp
+++ b/src/gui/NodeMenu.cpp
@@ -52,6 +52,7 @@
#include <gtkmm/object.h>
#include <gtkmm/separatormenuitem.h>
#include <gtkmm/stock.h>
+#include <gtkmm/stockid.h>
#include <sigc++/adaptors/bind.h>
#include <sigc++/functors/mem_fun.h>
diff --git a/src/gui/NodeModule.cpp b/src/gui/NodeModule.cpp
index 223c0832..1d9b4c9f 100644
--- a/src/gui/NodeModule.cpp
+++ b/src/gui/NodeModule.cpp
@@ -56,6 +56,7 @@
#include <sigc++/adaptors/bind.h>
#include <sigc++/adaptors/retype_return.h>
#include <sigc++/functors/mem_fun.h>
+#include <sigc++/functors/slot.h>
#include <sigc++/signal.h>
#include <cassert>
diff --git a/src/gui/Port.cpp b/src/gui/Port.cpp
index 7b5988b7..36e03c5c 100644
--- a/src/gui/Port.cpp
+++ b/src/gui/Port.cpp
@@ -47,6 +47,7 @@
#include "sord/sordmm.hpp"
#include <glibmm/signalproxy.h>
+#include <glibmm/ustring.h>
#include <gtkmm/menu.h>
#include <gtkmm/menu_elems.h>
#include <gtkmm/menuitem.h>
diff --git a/src/gui/SubgraphModule.cpp b/src/gui/SubgraphModule.cpp
index fee602b5..a2f13b8a 100644
--- a/src/gui/SubgraphModule.cpp
+++ b/src/gui/SubgraphModule.cpp
@@ -30,6 +30,7 @@
#include <cassert>
#include <memory>
+#include <utility>
namespace ingen {
diff --git a/src/server/CompiledGraph.cpp b/src/server/CompiledGraph.cpp
index 08e558a8..a89623d0 100644
--- a/src/server/CompiledGraph.cpp
+++ b/src/server/CompiledGraph.cpp
@@ -35,6 +35,7 @@
#include <cstdint>
#include <cstdio>
#include <exception>
+#include <functional>
#include <limits>
#include <memory>
#include <utility>
diff --git a/src/server/ControlBindings.hpp b/src/server/ControlBindings.hpp
index 9a7f66a2..a4ed0f94 100644
--- a/src/server/ControlBindings.hpp
+++ b/src/server/ControlBindings.hpp
@@ -22,6 +22,7 @@
#include "lv2/atom/forge.h"
#include "raul/Maid.hpp"
+#include <boost/intrusive/options.hpp>
#include <boost/intrusive/set.hpp>
#include <boost/intrusive/set_hook.hpp>
@@ -34,10 +35,6 @@ namespace raul {
class Path;
} // namespace raul
-namespace boost::intrusive {
-template <class Compare> struct compare;
-} // namespace boost::intrusive
-
namespace ingen {
class Atom;
diff --git a/src/server/GraphImpl.hpp b/src/server/GraphImpl.hpp
index c5f978fb..7c3a56df 100644
--- a/src/server/GraphImpl.hpp
+++ b/src/server/GraphImpl.hpp
@@ -26,6 +26,7 @@
#include "lv2/urid/urid.h"
#include "raul/Maid.hpp"
+#include <boost/intrusive/options.hpp>
#include <boost/intrusive/slist.hpp>
#include <cassert>
@@ -39,10 +40,6 @@ namespace raul {
class Symbol;
} // namespace raul
-namespace boost::intrusive {
-template <bool Enabled> struct constant_time_size;
-} // namespace boost::intrusive
-
namespace ingen::server {
class ArcImpl;
diff --git a/src/server/InputPort.hpp b/src/server/InputPort.hpp
index 834a6d8a..ab4c3e54 100644
--- a/src/server/InputPort.hpp
+++ b/src/server/InputPort.hpp
@@ -25,6 +25,7 @@
#include "lv2/urid/urid.h"
#include "raul/Maid.hpp"
+#include <boost/intrusive/options.hpp>
#include <boost/intrusive/slist.hpp>
#include <cstdint>
@@ -34,12 +35,6 @@ namespace raul {
class Symbol;
} // namespace raul
-namespace boost::intrusive {
-
-template <bool Enabled> struct constant_time_size;
-
-} // namespace boost::intrusive
-
namespace ingen {
class Atom;
diff --git a/src/server/JackDriver.hpp b/src/server/JackDriver.hpp
index 8bb7cff3..3f0e28dc 100644
--- a/src/server/JackDriver.hpp
+++ b/src/server/JackDriver.hpp
@@ -26,6 +26,7 @@
#include "lv2/atom/forge.h"
#include "raul/Semaphore.hpp"
+#include <boost/intrusive/options.hpp>
#include <boost/intrusive/slist.hpp>
#include <jack/jack.h>
#include <jack/thread.h>
@@ -42,10 +43,6 @@ namespace raul {
class Path;
} // namespace raul
-namespace boost::intrusive {
-template <bool Enabled> struct cache_last;
-} // namespace boost::intrusive
-
namespace ingen {
class Atom;
diff --git a/src/server/LV2Block.hpp b/src/server/LV2Block.hpp
index fd446106..bbcc1039 100644
--- a/src/server/LV2Block.hpp
+++ b/src/server/LV2Block.hpp
@@ -31,6 +31,7 @@
#include "raul/Maid.hpp"
#include "raul/Noncopyable.hpp"
+#include <boost/intrusive/options.hpp>
#include <boost/intrusive/slist.hpp>
#include <boost/intrusive/slist_hook.hpp>
@@ -46,16 +47,6 @@ namespace raul {
class Symbol;
} // namespace raul
-namespace boost::intrusive {
-
-template <bool Enabled>
-struct cache_last;
-
-template <bool Enabled>
-struct constant_time_size;
-
-} // namespace boost::intrusive
-
namespace ingen {
class Resource;
diff --git a/src/server/PortAudioDriver.hpp b/src/server/PortAudioDriver.hpp
index 9f17a100..c0a28ba9 100644
--- a/src/server/PortAudioDriver.hpp
+++ b/src/server/PortAudioDriver.hpp
@@ -24,6 +24,7 @@
#include "ingen/URI.hpp"
#include "raul/Semaphore.hpp"
+#include <boost/intrusive/options.hpp>
#include <boost/intrusive/slist.hpp>
#include <portaudio.h>
@@ -36,13 +37,6 @@ namespace raul {
class Path;
} // namespace raul
-namespace boost::intrusive {
-
-template <bool Enabled>
-struct cache_last;
-
-} // namespace boost::intrusive
-
namespace ingen {
class Atom;