diff options
author | David Robillard <d@drobilla.net> | 2022-05-26 23:20:33 -0400 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2022-05-26 23:22:40 -0400 |
commit | 40e71c72337f37dbab2220ec6f5b59425f7e51e8 (patch) | |
tree | a1c87418891db0dcba173c4bf09e0bca54092f8e /src | |
parent | d9c59e88cd521f5dee4f39c46fad4c1835591199 (diff) | |
download | patchage-40e71c72337f37dbab2220ec6f5b59425f7e51e8.tar.gz patchage-40e71c72337f37dbab2220ec6f5b59425f7e51e8.tar.bz2 patchage-40e71c72337f37dbab2220ec6f5b59425f7e51e8.zip |
Clean up includes
Diffstat (limited to 'src')
-rw-r--r-- | src/CanvasModule.hpp | 5 | ||||
-rw-r--r-- | src/Configuration.hpp | 1 | ||||
-rw-r--r-- | src/Drivers.hpp | 2 | ||||
-rw-r--r-- | src/Patchage.cpp | 1 | ||||
-rw-r--r-- | src/Patchage.hpp | 2 | ||||
-rw-r--r-- | src/PortID.hpp | 1 | ||||
-rw-r--r-- | src/Reactor.cpp | 1 | ||||
-rw-r--r-- | src/Setting.hpp | 5 | ||||
-rw-r--r-- | src/TextViewLog.hpp | 4 |
9 files changed, 10 insertions, 12 deletions
diff --git a/src/CanvasModule.hpp b/src/CanvasModule.hpp index cdea787..e86699c 100644 --- a/src/CanvasModule.hpp +++ b/src/CanvasModule.hpp @@ -27,14 +27,11 @@ PATCHAGE_DISABLE_GANV_WARNINGS PATCHAGE_RESTORE_WARNINGS #include <gdk/gdk.h> +#include <gtkmm/menu.h> #include <memory> #include <string> -namespace Gtk { -class Menu; -} // namespace Gtk - namespace patchage { struct PortID; diff --git a/src/Configuration.hpp b/src/Configuration.hpp index fd6b71d..d98968f 100644 --- a/src/Configuration.hpp +++ b/src/Configuration.hpp @@ -29,6 +29,7 @@ #include <map> #include <string> #include <tuple> +#include <utility> #define N_PORT_TYPES 5 diff --git a/src/Drivers.hpp b/src/Drivers.hpp index 582f953..ae3c063 100644 --- a/src/Drivers.hpp +++ b/src/Drivers.hpp @@ -17,6 +17,7 @@ #ifndef PATCHAGE_DRIVERS_HPP #define PATCHAGE_DRIVERS_HPP +#include "AudioDriver.hpp" #include "ClientType.hpp" #include "Driver.hpp" @@ -24,7 +25,6 @@ namespace patchage { -class AudioDriver; class ILog; /// Manager for all drivers diff --git a/src/Patchage.cpp b/src/Patchage.cpp index 7d10abf..7997354 100644 --- a/src/Patchage.cpp +++ b/src/Patchage.cpp @@ -65,6 +65,7 @@ PATCHAGE_RESTORE_WARNINGS #include <gtkmm/box.h> #include <gtkmm/builder.h> #include <gtkmm/checkbutton.h> +#include <gtkmm/checkmenuitem.h> #include <gtkmm/combobox.h> #include <gtkmm/dialog.h> #include <gtkmm/enums.h> diff --git a/src/Patchage.hpp b/src/Patchage.hpp index 504eaac..c3ed61d 100644 --- a/src/Patchage.hpp +++ b/src/Patchage.hpp @@ -19,7 +19,6 @@ #include <gdk/gdk.h> #include <glibmm/refptr.h> -#include <gtkmm/checkmenuitem.h> #include <gtkmm/treemodel.h> #include <gtkmm/treemodelcolumn.h> #include <gtkmm/widget.h> @@ -51,6 +50,7 @@ namespace Gtk { class AboutDialog; class Alignment; class Builder; +class CheckMenuItem; class ComboBox; class ImageMenuItem; class Label; diff --git a/src/PortID.hpp b/src/PortID.hpp index 03d655f..2ef7a0c 100644 --- a/src/PortID.hpp +++ b/src/PortID.hpp @@ -22,6 +22,7 @@ #include "warnings.hpp" #include <cassert> +#include <cstddef> #include <cstdint> #include <functional> #include <iostream> diff --git a/src/Reactor.cpp b/src/Reactor.cpp index b7458f2..b48d85d 100644 --- a/src/Reactor.cpp +++ b/src/Reactor.cpp @@ -28,6 +28,7 @@ #include "Setting.hpp" #include "warnings.hpp" +#include "ganv/Module.hpp" #include "ganv/Port.hpp" PATCHAGE_DISABLE_FMT_WARNINGS diff --git a/src/Setting.hpp b/src/Setting.hpp index ce4bd62..90fb124 100644 --- a/src/Setting.hpp +++ b/src/Setting.hpp @@ -17,14 +17,13 @@ #ifndef PATCHAGE_SETTING_HPP #define PATCHAGE_SETTING_HPP -#include "ClientID.hpp" #include "Coord.hpp" -#include "PortID.hpp" #include "PortType.hpp" -#include "SignalDirection.hpp" #include <boost/variant/variant.hpp> +#include <cstdint> + namespace patchage { namespace setting { diff --git a/src/TextViewLog.hpp b/src/TextViewLog.hpp index 9840303..5a91853 100644 --- a/src/TextViewLog.hpp +++ b/src/TextViewLog.hpp @@ -17,17 +17,15 @@ #ifndef PATCHAGE_TEXTVIEWLOG_HPP #define PATCHAGE_TEXTVIEWLOG_HPP -// IWYU pragma: no_include <gtkmm/texttag.h> - #include "ILog.hpp" #include <glibmm/refptr.h> +#include <gtkmm/texttag.h> #include <string> namespace Gtk { class TextView; -class TextTag; // IWYU pragma: keep } // namespace Gtk namespace patchage { |