diff options
author | David Robillard <d@drobilla.net> | 2020-08-03 12:34:15 +0200 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2020-08-03 12:34:15 +0200 |
commit | 5e3d6fd5cf29ce89741fdd5c61dfa62877d276d2 (patch) | |
tree | 8efa2c487c555850e61833b771cfc36056858975 /src/server/internals | |
parent | 7f711e938900cc7ab714ebb5279d2312964a41b1 (diff) | |
download | ingen-5e3d6fd5cf29ce89741fdd5c61dfa62877d276d2.tar.gz ingen-5e3d6fd5cf29ce89741fdd5c61dfa62877d276d2.tar.bz2 ingen-5e3d6fd5cf29ce89741fdd5c61dfa62877d276d2.zip |
Clean up includes
As directed by include-what-you-use. Unfortunately, it is still confused by
quite a few things, but this gets a lot closer to a clean report, and at least
makes the output more tolerable to manually check.
Diffstat (limited to 'src/server/internals')
-rw-r--r-- | src/server/internals/BlockDelay.cpp | 5 | ||||
-rw-r--r-- | src/server/internals/BlockDelay.hpp | 13 | ||||
-rw-r--r-- | src/server/internals/Controller.cpp | 16 | ||||
-rw-r--r-- | src/server/internals/Controller.hpp | 13 | ||||
-rw-r--r-- | src/server/internals/Note.cpp | 11 | ||||
-rw-r--r-- | src/server/internals/Note.hpp | 13 | ||||
-rw-r--r-- | src/server/internals/Time.cpp | 16 | ||||
-rw-r--r-- | src/server/internals/Time.hpp | 14 | ||||
-rw-r--r-- | src/server/internals/Trigger.cpp | 16 | ||||
-rw-r--r-- | src/server/internals/Trigger.hpp | 13 |
10 files changed, 114 insertions, 16 deletions
diff --git a/src/server/internals/BlockDelay.cpp b/src/server/internals/BlockDelay.cpp index cd9dbf9b..682438cc 100644 --- a/src/server/internals/BlockDelay.cpp +++ b/src/server/internals/BlockDelay.cpp @@ -16,15 +16,20 @@ #include "internals/BlockDelay.hpp" +#include "BlockImpl.hpp" #include "Buffer.hpp" +#include "BufferFactory.hpp" #include "InputPort.hpp" #include "InternalPlugin.hpp" #include "OutputPort.hpp" +#include "PortType.hpp" #include "ingen/Forge.hpp" +#include "ingen/URI.hpp" #include "ingen/URIs.hpp" #include "raul/Array.hpp" #include "raul/Maid.hpp" +#include "raul/Symbol.hpp" #include <memory> diff --git a/src/server/internals/BlockDelay.hpp b/src/server/internals/BlockDelay.hpp index ed8073c8..2b523e37 100644 --- a/src/server/internals/BlockDelay.hpp +++ b/src/server/internals/BlockDelay.hpp @@ -21,13 +21,22 @@ #include "InternalBlock.hpp" #include "types.hpp" +namespace Raul { +class Symbol; +} // namespace Raul + namespace ingen { + +class URIs; + namespace server { +class BufferFactory; +class GraphImpl; class InputPort; -class OutputPort; class InternalPlugin; -class BufferFactory; +class OutputPort; +class RunContext; namespace internals { diff --git a/src/server/internals/Controller.cpp b/src/server/internals/Controller.cpp index 22549ae4..12786dac 100644 --- a/src/server/internals/Controller.cpp +++ b/src/server/internals/Controller.cpp @@ -14,20 +14,27 @@ along with Ingen. If not, see <http://www.gnu.org/licenses/>. */ +#include "BlockImpl.hpp" #include "Buffer.hpp" -#include "Engine.hpp" +#include "BufferFactory.hpp" +#include "BufferRef.hpp" #include "InputPort.hpp" #include "InternalPlugin.hpp" #include "OutputPort.hpp" -#include "PostProcessor.hpp" +#include "PortType.hpp" #include "RunContext.hpp" -#include "util.hpp" +#include "ingen/Atom.hpp" #include "ingen/Forge.hpp" +#include "ingen/URI.hpp" #include "ingen/URIs.hpp" #include "internals/Controller.hpp" +#include "lv2/atom/atom.h" #include "lv2/atom/util.h" #include "lv2/midi/midi.h" +#include "raul/Array.hpp" +#include "raul/Maid.hpp" +#include "raul/Symbol.hpp" #include <cassert> #include <cmath> @@ -36,6 +43,9 @@ namespace ingen { namespace server { + +class GraphImpl; + namespace internals { InternalPlugin* ControllerNode::internal_plugin(URIs& uris) { diff --git a/src/server/internals/Controller.hpp b/src/server/internals/Controller.hpp index bb3c8369..383ce152 100644 --- a/src/server/internals/Controller.hpp +++ b/src/server/internals/Controller.hpp @@ -18,15 +18,26 @@ #define INGEN_INTERNALS_CONTROLLER_HPP #include "InternalBlock.hpp" +#include "types.hpp" #include <cstdint> +namespace Raul { +class Symbol; +} // namespace Raul + namespace ingen { + +class URIs; + namespace server { +class BufferFactory; +class GraphImpl; class InputPort; -class OutputPort; class InternalPlugin; +class OutputPort; +class RunContext; namespace internals { diff --git a/src/server/internals/Note.cpp b/src/server/internals/Note.cpp index 76dde8af..d2e03a56 100644 --- a/src/server/internals/Note.cpp +++ b/src/server/internals/Note.cpp @@ -16,18 +16,26 @@ #include "internals/Note.hpp" +#include "BlockImpl.hpp" #include "Buffer.hpp" +#include "BufferFactory.hpp" +#include "BufferRef.hpp" #include "InputPort.hpp" #include "InternalPlugin.hpp" #include "OutputPort.hpp" +#include "PortType.hpp" #include "RunContext.hpp" +#include "ingen/Atom.hpp" #include "ingen/Forge.hpp" +#include "ingen/URI.hpp" #include "ingen/URIs.hpp" +#include "lv2/atom/atom.h" #include "lv2/atom/util.h" #include "lv2/midi/midi.h" #include "raul/Array.hpp" #include "raul/Maid.hpp" +#include "raul/Symbol.hpp" #include <cassert> #include <cmath> @@ -37,6 +45,9 @@ namespace ingen { namespace server { + +class GraphImpl; + namespace internals { InternalPlugin* NoteNode::internal_plugin(URIs& uris) { diff --git a/src/server/internals/Note.hpp b/src/server/internals/Note.hpp index cb41c37c..945ae99c 100644 --- a/src/server/internals/Note.hpp +++ b/src/server/internals/Note.hpp @@ -20,17 +20,28 @@ #include "InternalBlock.hpp" #include "types.hpp" +#include "raul/Array.hpp" #include "raul/Maid.hpp" #include <cstdint> #include <memory> +namespace Raul { +class Symbol; +} // namespace Raul + namespace ingen { + +class URIs; + namespace server { +class BufferFactory; +class GraphImpl; class InputPort; -class OutputPort; class InternalPlugin; +class OutputPort; +class RunContext; namespace internals { diff --git a/src/server/internals/Time.cpp b/src/server/internals/Time.cpp index d81ca04d..47f85867 100644 --- a/src/server/internals/Time.cpp +++ b/src/server/internals/Time.cpp @@ -16,23 +16,33 @@ #include "internals/Time.hpp" +#include "BlockImpl.hpp" #include "Buffer.hpp" +#include "BufferFactory.hpp" +#include "BufferRef.hpp" #include "Driver.hpp" #include "Engine.hpp" #include "InternalPlugin.hpp" #include "OutputPort.hpp" +#include "PortType.hpp" #include "RunContext.hpp" -#include "util.hpp" +#include "ingen/Atom.hpp" #include "ingen/Forge.hpp" +#include "ingen/URI.hpp" #include "ingen/URIs.hpp" -#include "lv2/atom/util.h" -#include "lv2/midi/midi.h" +#include "lv2/atom/atom.h" +#include "raul/Array.hpp" +#include "raul/Maid.hpp" +#include "raul/Symbol.hpp" #include <memory> namespace ingen { namespace server { + +class GraphImpl; + namespace internals { InternalPlugin* TimeNode::internal_plugin(URIs& uris) { diff --git a/src/server/internals/Time.hpp b/src/server/internals/Time.hpp index 85d5199e..ec0f5528 100644 --- a/src/server/internals/Time.hpp +++ b/src/server/internals/Time.hpp @@ -18,13 +18,23 @@ #define INGEN_INTERNALS_TIME_HPP #include "InternalBlock.hpp" +#include "types.hpp" + +namespace Raul { +class Symbol; +} // namespace Raul namespace ingen { + +class URIs; + namespace server { -class InputPort; -class OutputPort; +class BufferFactory; +class GraphImpl; class InternalPlugin; +class OutputPort; +class RunContext; namespace internals { diff --git a/src/server/internals/Trigger.cpp b/src/server/internals/Trigger.cpp index cc966eb3..450a7040 100644 --- a/src/server/internals/Trigger.cpp +++ b/src/server/internals/Trigger.cpp @@ -16,19 +16,26 @@ #include "internals/Trigger.hpp" +#include "BlockImpl.hpp" #include "Buffer.hpp" -#include "Engine.hpp" +#include "BufferFactory.hpp" +#include "BufferRef.hpp" #include "InputPort.hpp" #include "InternalPlugin.hpp" #include "OutputPort.hpp" +#include "PortType.hpp" #include "RunContext.hpp" -#include "ingen_config.h" -#include "util.hpp" +#include "ingen/Atom.hpp" #include "ingen/Forge.hpp" +#include "ingen/URI.hpp" #include "ingen/URIs.hpp" +#include "lv2/atom/atom.h" #include "lv2/atom/util.h" #include "lv2/midi/midi.h" +#include "raul/Array.hpp" +#include "raul/Maid.hpp" +#include "raul/Symbol.hpp" #include <cassert> #include <cmath> @@ -36,6 +43,9 @@ namespace ingen { namespace server { + +class GraphImpl; + namespace internals { InternalPlugin* TriggerNode::internal_plugin(URIs& uris) { diff --git a/src/server/internals/Trigger.hpp b/src/server/internals/Trigger.hpp index 17671098..ba14db68 100644 --- a/src/server/internals/Trigger.hpp +++ b/src/server/internals/Trigger.hpp @@ -18,15 +18,26 @@ #define INGEN_INTERNALS_TRIGGER_HPP #include "InternalBlock.hpp" +#include "types.hpp" #include <cstdint> +namespace Raul { +class Symbol; +} // namespace Raul + namespace ingen { + +class URIs; + namespace server { +class BufferFactory; +class GraphImpl; class InputPort; -class OutputPort; class InternalPlugin; +class OutputPort; +class RunContext; namespace internals { |