From e8e446c2b4863a0ff8f9a4a835dd34e2159c93d9 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Wed, 23 May 2012 23:23:10 +0000 Subject: Trim unnecessary includes. git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4455 a436a847-0d15-0410-975c-d299462d15a1 --- src/gui/WindowFactory.cpp | 1 - src/gui/WindowFactory.hpp | 3 --- src/gui/ingen_gui_lv2.cpp | 1 - src/ingen/main.cpp | 8 -------- src/serialisation/Serialiser.cpp | 7 ++----- src/server/AudioBuffer.cpp | 7 ++----- src/server/Broadcaster.cpp | 8 +++----- src/server/Buffer.cpp | 4 ++-- src/server/BufferFactory.cpp | 3 --- src/server/ControlBindings.cpp | 2 -- src/server/DuplexPort.cpp | 6 ------ src/server/EdgeImpl.cpp | 7 ------- src/server/Engine.cpp | 4 ---- src/server/EngineStore.cpp | 2 -- src/server/EventWriter.cpp | 6 ------ src/server/GraphObjectImpl.cpp | 1 - src/server/InputPort.cpp | 3 --- src/server/LV2Info.cpp | 1 - src/server/LV2Node.cpp | 2 -- src/server/LV2Plugin.cpp | 5 ----- src/server/MessageContext.cpp | 7 ++----- src/server/NodeFactory.cpp | 9 --------- src/server/NodeImpl.cpp | 4 ---- src/server/OutputPort.cpp | 1 - src/server/PatchImpl.cpp | 2 -- src/server/PortImpl.cpp | 1 - src/server/PostProcessor.cpp | 4 ---- src/server/ProcessContext.cpp | 1 + src/server/ProcessContext.hpp | 1 - src/server/ProcessSlave.cpp | 5 +++-- src/server/ProcessSlave.hpp | 12 +++++------- src/server/events/Connect.cpp | 5 ----- src/server/events/Connect.hpp | 3 +-- src/server/events/CreateNode.cpp | 2 -- src/server/events/CreatePatch.cpp | 2 -- src/server/events/Delete.hpp | 2 -- src/server/events/Delta.cpp | 6 ------ src/server/events/Delta.hpp | 9 ++++++--- src/shared/LV2Features.cpp | 1 - src/shared/URIMap.cpp | 7 ------- src/shared/URIs.cpp | 12 ------------ src/shared/World.cpp | 11 ++++++++--- 42 files changed, 35 insertions(+), 153 deletions(-) (limited to 'src') diff --git a/src/gui/WindowFactory.cpp b/src/gui/WindowFactory.cpp index 2454a726..6042a190 100644 --- a/src/gui/WindowFactory.cpp +++ b/src/gui/WindowFactory.cpp @@ -28,7 +28,6 @@ #include "RenameWindow.hpp" #include "WidgetFactory.hpp" #include "WindowFactory.hpp" -#include "ingen_config.h" using namespace std; diff --git a/src/gui/WindowFactory.hpp b/src/gui/WindowFactory.hpp index 2bf36e85..0712c656 100644 --- a/src/gui/WindowFactory.hpp +++ b/src/gui/WindowFactory.hpp @@ -22,8 +22,6 @@ #include "ingen/GraphObject.hpp" #include "raul/SharedPtr.hpp" -namespace Raul { class Path; } - namespace Ingen { namespace Client { @@ -43,7 +41,6 @@ class PatchBox; class PatchView; class PatchWindow; class RenameWindow; -class UploadPatchWindow; /** Manager/Factory for all windows. * diff --git a/src/gui/ingen_gui_lv2.cpp b/src/gui/ingen_gui_lv2.cpp index f7510f62..cead2acb 100644 --- a/src/gui/ingen_gui_lv2.cpp +++ b/src/gui/ingen_gui_lv2.cpp @@ -20,7 +20,6 @@ #include "ingen/shared/AtomReader.hpp" #include "ingen/shared/AtomSink.hpp" #include "ingen/shared/AtomWriter.hpp" -#include "ingen/shared/Configuration.hpp" #include "ingen/shared/World.hpp" #include "ingen/shared/runtime_paths.hpp" #include "lv2/lv2plug.in/ns/extensions/ui/ui.h" diff --git a/src/ingen/main.cpp b/src/ingen/main.cpp index e8cfbcd8..abf8aa51 100644 --- a/src/ingen/main.cpp +++ b/src/ingen/main.cpp @@ -20,22 +20,14 @@ #include #include -#include - -#include -#include #include #include #include "raul/Configuration.hpp" #include "raul/Path.hpp" #include "raul/SharedPtr.hpp" -#include "raul/Thread.hpp" #include "raul/log.hpp" -#include "serd/serd.h" -#include "sord/sordmm.hpp" - #include "ingen_config.h" #include "ingen/EngineBase.hpp" diff --git a/src/serialisation/Serialiser.cpp b/src/serialisation/Serialiser.cpp index 6a674eb5..4d715f7a 100644 --- a/src/serialisation/Serialiser.cpp +++ b/src/serialisation/Serialiser.cpp @@ -14,12 +14,10 @@ along with Ingen. If not, see . */ -#include #include -#include #include -#include #include +#include #include #include @@ -34,15 +32,14 @@ #include "ingen/Patch.hpp" #include "ingen/Plugin.hpp" #include "ingen/Port.hpp" +#include "ingen/Resource.hpp" #include "ingen/serialisation/Serialiser.hpp" -#include "ingen/shared/ResourceImpl.hpp" #include "ingen/shared/Store.hpp" #include "ingen/shared/URIMap.hpp" #include "ingen/shared/URIs.hpp" #include "ingen/shared/World.hpp" #include "lv2/lv2plug.in/ns/ext/state/state.h" #include "lv2/lv2plug.in/ns/extensions/ui/ui.h" -#include "raul/Atom.hpp" #include "raul/Path.hpp" #include "raul/log.hpp" #include "sord/sordmm.hpp" diff --git a/src/server/AudioBuffer.cpp b/src/server/AudioBuffer.cpp index a3c87fea..740e780c 100644 --- a/src/server/AudioBuffer.cpp +++ b/src/server/AudioBuffer.cpp @@ -14,16 +14,13 @@ along with Ingen. If not, see . */ -#include #include +#include +#include -#include "ingen/shared/LV2Features.hpp" #include "lv2/lv2plug.in/ns/ext/atom/atom.h" -#include "raul/SharedPtr.hpp" -#include "raul/log.hpp" #include "AudioBuffer.hpp" -#include "ProcessContext.hpp" using namespace std; diff --git a/src/server/Broadcaster.cpp b/src/server/Broadcaster.cpp index d65c48ac..aa7b7aae 100644 --- a/src/server/Broadcaster.cpp +++ b/src/server/Broadcaster.cpp @@ -14,17 +14,15 @@ along with Ingen. If not, see . */ -#include -#include +#include +#include #include "ingen/Interface.hpp" #include "raul/log.hpp" #include "Broadcaster.hpp" -#include "EdgeImpl.hpp" -#include "EngineStore.hpp" #include "PluginImpl.hpp" -#include "util.hpp" +#include "NodeFactory.hpp" #define LOG(s) (s("[Broadcaster] ")) diff --git a/src/server/Buffer.cpp b/src/server/Buffer.cpp index 30a0781c..85fe727c 100644 --- a/src/server/Buffer.cpp +++ b/src/server/Buffer.cpp @@ -16,12 +16,12 @@ #define __STDC_LIMIT_MACROS 1 +#include #include #include -#include +#include -#include "ingen/shared/LV2Features.hpp" #include "ingen/shared/URIMap.hpp" #include "ingen/shared/URIs.hpp" #include "ingen/shared/World.hpp" diff --git a/src/server/BufferFactory.cpp b/src/server/BufferFactory.cpp index a11f1c35..2bcf8201 100644 --- a/src/server/BufferFactory.cpp +++ b/src/server/BufferFactory.cpp @@ -14,8 +14,6 @@ along with Ingen. If not, see . */ -#include - #include "ingen/shared/URIs.hpp" #include "raul/log.hpp" @@ -23,7 +21,6 @@ #include "BufferFactory.hpp" #include "Driver.hpp" #include "Engine.hpp" -#include "ThreadManager.hpp" namespace Ingen { namespace Server { diff --git a/src/server/ControlBindings.cpp b/src/server/ControlBindings.cpp index a9c0c546..82b15408 100644 --- a/src/server/ControlBindings.cpp +++ b/src/server/ControlBindings.cpp @@ -16,8 +16,6 @@ #include -#include - #include "ingen/shared/URIs.hpp" #include "ingen/shared/World.hpp" #include "lv2/lv2plug.in/ns/ext/atom/util.h" diff --git a/src/server/DuplexPort.cpp b/src/server/DuplexPort.cpp index ca555e60..6d332ad6 100644 --- a/src/server/DuplexPort.cpp +++ b/src/server/DuplexPort.cpp @@ -14,18 +14,13 @@ along with Ingen. If not, see . */ -#include -#include #include #include "ingen/shared/URIs.hpp" #include "Buffer.hpp" #include "DuplexPort.hpp" -#include "NodeImpl.hpp" #include "OutputPort.hpp" -#include "ProcessContext.hpp" -#include "util.hpp" using namespace std; @@ -48,7 +43,6 @@ DuplexPort::DuplexPort(BufferFactory& bufs, , OutputPort(bufs, parent, name, index, poly, type, buffer_type, value, buffer_size) , _is_output(is_output) { - assert(PortImpl::_parent == parent); set_property(bufs.uris().ingen_polyphonic, bufs.forge().make(polyphonic)); } diff --git a/src/server/EdgeImpl.cpp b/src/server/EdgeImpl.cpp index 50e69ec9..46d45f27 100644 --- a/src/server/EdgeImpl.cpp +++ b/src/server/EdgeImpl.cpp @@ -14,14 +14,10 @@ along with Ingen. If not, see . */ -#include - #include "ingen/shared/URIs.hpp" #include "lv2/lv2plug.in/ns/ext/atom/util.h" -#include "raul/Maid.hpp" #include "raul/log.hpp" -#include "AudioBuffer.hpp" #include "BufferFactory.hpp" #include "EdgeImpl.hpp" #include "Engine.hpp" @@ -30,9 +26,6 @@ #include "NodeImpl.hpp" #include "OutputPort.hpp" #include "PortImpl.hpp" -#include "ProcessContext.hpp" -#include "mix.hpp" -#include "util.hpp" namespace Ingen { namespace Server { diff --git a/src/server/Engine.cpp b/src/server/Engine.cpp index ead11895..c5a7bddd 100644 --- a/src/server/Engine.cpp +++ b/src/server/Engine.cpp @@ -15,18 +15,14 @@ */ #include -#include #include "events/CreatePort.hpp" #include "ingen/shared/Configuration.hpp" -#include "ingen/shared/LV2Features.hpp" #include "ingen/shared/Store.hpp" #include "ingen/shared/URIs.hpp" #include "ingen/shared/World.hpp" -#include "raul/Deletable.hpp" #include "raul/Maid.hpp" #include "raul/SharedPtr.hpp" -#include "raul/log.hpp" #include "Broadcaster.hpp" #include "BufferFactory.hpp" diff --git a/src/server/EngineStore.cpp b/src/server/EngineStore.cpp index a492c471..35ae6d83 100644 --- a/src/server/EngineStore.cpp +++ b/src/server/EngineStore.cpp @@ -15,9 +15,7 @@ */ #include -#include #include "raul/log.hpp" -#include "raul/List.hpp" #include "raul/PathTable.hpp" #include "raul/TableImpl.hpp" #include "EngineStore.hpp" diff --git a/src/server/EventWriter.cpp b/src/server/EventWriter.cpp index a6482a38..f0a2f100 100644 --- a/src/server/EventWriter.cpp +++ b/src/server/EventWriter.cpp @@ -14,14 +14,8 @@ along with Ingen. If not, see . */ -#include - -#include "raul/log.hpp" - #include "ingen/shared/URIs.hpp" -#include "Broadcaster.hpp" -#include "Driver.hpp" #include "Engine.hpp" #include "EventWriter.hpp" #include "events.hpp" diff --git a/src/server/GraphObjectImpl.cpp b/src/server/GraphObjectImpl.cpp index 8310b670..901be3eb 100644 --- a/src/server/GraphObjectImpl.cpp +++ b/src/server/GraphObjectImpl.cpp @@ -18,7 +18,6 @@ #include "GraphObjectImpl.hpp" #include "PatchImpl.hpp" -#include "EngineStore.hpp" #include "ThreadManager.hpp" using namespace std; diff --git a/src/server/InputPort.cpp b/src/server/InputPort.cpp index 8cb6415b..2510edfa 100644 --- a/src/server/InputPort.cpp +++ b/src/server/InputPort.cpp @@ -19,7 +19,6 @@ #include "ingen/Patch.hpp" -#include "AudioBuffer.hpp" #include "BufferFactory.hpp" #include "EdgeImpl.hpp" #include "Engine.hpp" @@ -28,10 +27,8 @@ #include "Notification.hpp" #include "OutputPort.hpp" #include "ProcessContext.hpp" -#include "ThreadManager.hpp" #include "ingen/shared/URIs.hpp" #include "mix.hpp" -#include "util.hpp" using namespace std; diff --git a/src/server/LV2Info.cpp b/src/server/LV2Info.cpp index 5355b11b..6e5d046a 100644 --- a/src/server/LV2Info.cpp +++ b/src/server/LV2Info.cpp @@ -17,7 +17,6 @@ #define __STDC_LIMIT_MACROS 1 #include -#include #include "lv2/lv2plug.in/ns/ext/atom/atom.h" diff --git a/src/server/LV2Node.cpp b/src/server/LV2Node.cpp index 2e2631ac..91c1d2d1 100644 --- a/src/server/LV2Node.cpp +++ b/src/server/LV2Node.cpp @@ -14,7 +14,6 @@ along with Ingen. If not, see . */ -#include #include #include @@ -35,7 +34,6 @@ #include "InputPort.hpp" #include "LV2Node.hpp" #include "LV2Plugin.hpp" -#include "MessageContext.hpp" #include "OutputPort.hpp" #include "ProcessContext.hpp" diff --git a/src/server/LV2Plugin.cpp b/src/server/LV2Plugin.cpp index d05690b9..9280d520 100644 --- a/src/server/LV2Plugin.cpp +++ b/src/server/LV2Plugin.cpp @@ -14,19 +14,14 @@ along with Ingen. If not, see . */ -#include #include -#include #include "ingen/shared/URIs.hpp" -#include "raul/log.hpp" -#include "sord/sordmm.hpp" #include "Driver.hpp" #include "Engine.hpp" #include "LV2Node.hpp" #include "LV2Plugin.hpp" -#include "NodeImpl.hpp" using namespace std; diff --git a/src/server/MessageContext.cpp b/src/server/MessageContext.cpp index d67437ca..3a4f9742 100644 --- a/src/server/MessageContext.cpp +++ b/src/server/MessageContext.cpp @@ -15,15 +15,12 @@ */ #include -#include "lv2/lv2plug.in/ns/ext/worker/worker.h" + #include "raul/log.hpp" -#include "EdgeImpl.hpp" + #include "Engine.hpp" #include "MessageContext.hpp" #include "NodeImpl.hpp" -#include "PatchImpl.hpp" -#include "PortImpl.hpp" -#include "ProcessContext.hpp" #include "ThreadManager.hpp" using namespace std; diff --git a/src/server/NodeFactory.cpp b/src/server/NodeFactory.cpp index 7bcb4088..c0b4d1e9 100644 --- a/src/server/NodeFactory.cpp +++ b/src/server/NodeFactory.cpp @@ -14,17 +14,11 @@ along with Ingen. If not, see . */ -#include -#include #include #include -#include - #include "lilv/lilv.h" -#include "raul/log.hpp" -#include "sord/sordmm.hpp" #include "internals/Controller.hpp" #include "internals/Delay.hpp" @@ -32,12 +26,9 @@ #include "internals/Trigger.hpp" #include "ingen/shared/World.hpp" -#include "Engine.hpp" #include "InternalPlugin.hpp" -#include "LV2Node.hpp" #include "LV2Plugin.hpp" #include "NodeFactory.hpp" -#include "PatchImpl.hpp" #include "ThreadManager.hpp" using namespace std; diff --git a/src/server/NodeImpl.cpp b/src/server/NodeImpl.cpp index 25a51565..a260f6ca 100644 --- a/src/server/NodeImpl.cpp +++ b/src/server/NodeImpl.cpp @@ -17,20 +17,16 @@ #include #include -#include "lv2/lv2plug.in/ns/ext/worker/worker.h" #include "raul/Array.hpp" -#include "raul/List.hpp" #include "AudioBuffer.hpp" #include "Engine.hpp" -#include "EngineStore.hpp" #include "NodeImpl.hpp" #include "PatchImpl.hpp" #include "PluginImpl.hpp" #include "PortImpl.hpp" #include "ProcessContext.hpp" #include "ThreadManager.hpp" -#include "util.hpp" using namespace std; diff --git a/src/server/OutputPort.cpp b/src/server/OutputPort.cpp index f1f3dfd7..56da75d9 100644 --- a/src/server/OutputPort.cpp +++ b/src/server/OutputPort.cpp @@ -21,7 +21,6 @@ #include "Engine.hpp" #include "NodeImpl.hpp" #include "OutputPort.hpp" -#include "ProcessContext.hpp" #include "ingen/shared/URIs.hpp" using namespace std; diff --git a/src/server/PatchImpl.cpp b/src/server/PatchImpl.cpp index bd12f78a..de1fe43f 100644 --- a/src/server/PatchImpl.cpp +++ b/src/server/PatchImpl.cpp @@ -15,7 +15,6 @@ */ #include -#include #include #include "ingen/shared/URIs.hpp" @@ -23,7 +22,6 @@ #include "raul/log.hpp" #include "EdgeImpl.hpp" -#include "Driver.hpp" #include "DuplexPort.hpp" #include "Engine.hpp" #include "NodeImpl.hpp" diff --git a/src/server/PortImpl.cpp b/src/server/PortImpl.cpp index 27d56bfc..ce4a0b5a 100644 --- a/src/server/PortImpl.cpp +++ b/src/server/PortImpl.cpp @@ -15,7 +15,6 @@ */ #include "ingen/shared/URIs.hpp" -#include "lv2/lv2plug.in/ns/ext/worker/worker.h" #include "raul/Array.hpp" #include "raul/Maid.hpp" diff --git a/src/server/PostProcessor.cpp b/src/server/PostProcessor.cpp index cb8566d5..3604ace1 100644 --- a/src/server/PostProcessor.cpp +++ b/src/server/PostProcessor.cpp @@ -16,15 +16,11 @@ #include -#include "raul/log.hpp" - -#include "Driver.hpp" #include "Engine.hpp" #include "Event.hpp" #include "Notification.hpp" #include "PostProcessor.hpp" #include "ProcessContext.hpp" -#include "ThreadManager.hpp" using namespace std; diff --git a/src/server/ProcessContext.cpp b/src/server/ProcessContext.cpp index 78f6d50e..66dbcb19 100644 --- a/src/server/ProcessContext.cpp +++ b/src/server/ProcessContext.cpp @@ -14,6 +14,7 @@ along with Ingen. If not, see . */ +#include "Engine.hpp" #include "ProcessContext.hpp" #include "ProcessSlave.hpp" diff --git a/src/server/ProcessContext.hpp b/src/server/ProcessContext.hpp index e10bbce8..9e0115e6 100644 --- a/src/server/ProcessContext.hpp +++ b/src/server/ProcessContext.hpp @@ -20,7 +20,6 @@ #include #include "Context.hpp" -#include "types.hpp" namespace Ingen { namespace Server { diff --git a/src/server/ProcessSlave.cpp b/src/server/ProcessSlave.cpp index 5be40bb5..83a8956f 100644 --- a/src/server/ProcessSlave.cpp +++ b/src/server/ProcessSlave.cpp @@ -14,9 +14,10 @@ along with Ingen. If not, see . */ -#include "ProcessSlave.hpp" -#include "NodeImpl.hpp" #include "CompiledPatch.hpp" +#include "NodeImpl.hpp" +#include "ProcessSlave.hpp" +#include "ThreadManager.hpp" using namespace std; diff --git a/src/server/ProcessSlave.hpp b/src/server/ProcessSlave.hpp index f3b514ca..742e9141 100644 --- a/src/server/ProcessSlave.hpp +++ b/src/server/ProcessSlave.hpp @@ -17,20 +17,18 @@ #ifndef INGEN_ENGINE_PROCESSSLAVE_HPP #define INGEN_ENGINE_PROCESSSLAVE_HPP -#include "raul/Array.hpp" +#include + #include "raul/AtomicInt.hpp" #include "raul/Slave.hpp" - -#include "Driver.hpp" -#include "Engine.hpp" -#include "ProcessContext.hpp" -#include "ThreadManager.hpp" +#include "raul/log.hpp" namespace Ingen { namespace Server { -class NodeImpl; class CompiledPatch; +class Engine; +class ProcessContext; class ProcessSlave : protected Raul::Slave { public: diff --git a/src/server/events/Connect.cpp b/src/server/events/Connect.cpp index 92d89d35..d4df3e68 100644 --- a/src/server/events/Connect.cpp +++ b/src/server/events/Connect.cpp @@ -14,9 +14,6 @@ along with Ingen. If not, see . */ -#include - -#include #include #include "raul/Maid.hpp" @@ -25,14 +22,12 @@ #include "Broadcaster.hpp" #include "Connect.hpp" #include "EdgeImpl.hpp" -#include "DuplexPort.hpp" #include "Engine.hpp" #include "EngineStore.hpp" #include "InputPort.hpp" #include "OutputPort.hpp" #include "PatchImpl.hpp" #include "PortImpl.hpp" -#include "ProcessContext.hpp" #include "types.hpp" namespace Ingen { diff --git a/src/server/events/Connect.hpp b/src/server/events/Connect.hpp index a5799f77..a4bad5e8 100644 --- a/src/server/events/Connect.hpp +++ b/src/server/events/Connect.hpp @@ -20,9 +20,8 @@ #include "raul/Path.hpp" #include "Event.hpp" -#include "InputPort.hpp" -#include "PatchImpl.hpp" #include "types.hpp" +#include "BufferRef.hpp" namespace Raul { template class Array; diff --git a/src/server/events/CreateNode.cpp b/src/server/events/CreateNode.cpp index f52e20a1..9b3cdd89 100644 --- a/src/server/events/CreateNode.cpp +++ b/src/server/events/CreateNode.cpp @@ -17,8 +17,6 @@ #include "ingen/shared/URIs.hpp" #include "raul/Maid.hpp" #include "raul/Path.hpp" -#include "raul/log.hpp" -#include "sord/sordmm.hpp" #include "Broadcaster.hpp" #include "CreateNode.hpp" diff --git a/src/server/events/CreatePatch.cpp b/src/server/events/CreatePatch.cpp index b802d066..9d1280e1 100644 --- a/src/server/events/CreatePatch.cpp +++ b/src/server/events/CreatePatch.cpp @@ -23,9 +23,7 @@ #include "Driver.hpp" #include "Engine.hpp" #include "EngineStore.hpp" -#include "NodeImpl.hpp" #include "PatchImpl.hpp" -#include "PluginImpl.hpp" namespace Ingen { namespace Server { diff --git a/src/server/events/Delete.hpp b/src/server/events/Delete.hpp index 4316763f..80051336 100644 --- a/src/server/events/Delete.hpp +++ b/src/server/events/Delete.hpp @@ -24,13 +24,11 @@ namespace Raul { template class Array; -template class ListNode; } namespace Ingen { namespace Server { -class GraphObjectImpl; class NodeImpl; class PortImpl; class EnginePort; diff --git a/src/server/events/Delta.cpp b/src/server/events/Delta.cpp index 34e9d63d..5f6af4a4 100644 --- a/src/server/events/Delta.cpp +++ b/src/server/events/Delta.cpp @@ -14,17 +14,12 @@ along with Ingen. If not, see . */ -#include #include #include -#include - -#include "raul/log.hpp" #include "raul/Maid.hpp" -#include "ingen/shared/URIMap.hpp" #include "ingen/shared/URIs.hpp" #include "Broadcaster.hpp" @@ -33,7 +28,6 @@ #include "CreatePatch.hpp" #include "CreatePort.hpp" #include "Delta.hpp" -#include "Driver.hpp" #include "Engine.hpp" #include "EngineStore.hpp" #include "GraphObjectImpl.hpp" diff --git a/src/server/events/Delta.hpp b/src/server/events/Delta.hpp index 935dcfac..bedba5ca 100644 --- a/src/server/events/Delta.hpp +++ b/src/server/events/Delta.hpp @@ -23,14 +23,17 @@ #include "ControlBindings.hpp" #include "Event.hpp" -#include "ingen/shared/ResourceImpl.hpp" namespace Ingen { + +namespace Shared { class ResourceImpl; } + namespace Server { -class GraphObjectImpl; -class PatchImpl; class CompiledPatch; +class Engine; +class PatchImpl; +class ProcessContext; namespace Events { diff --git a/src/shared/LV2Features.cpp b/src/shared/LV2Features.cpp index 1bfd3936..24b3f6fa 100644 --- a/src/shared/LV2Features.cpp +++ b/src/shared/LV2Features.cpp @@ -17,7 +17,6 @@ #include #include "ingen/shared/LV2Features.hpp" -#include "ingen/shared/URIMap.hpp" using namespace std; diff --git a/src/shared/URIMap.cpp b/src/shared/URIMap.cpp index e8c7fbbc..be99db99 100644 --- a/src/shared/URIMap.cpp +++ b/src/shared/URIMap.cpp @@ -14,18 +14,11 @@ along with Ingen. If not, see . */ -#define __STDC_LIMIT_MACROS 1 - -#include #include #include -#include - #include "ingen/shared/URIMap.hpp" -#include "lv2/lv2plug.in/ns/ext/atom/atom.h" -#include "raul/log.hpp" using namespace std; diff --git a/src/shared/URIs.cpp b/src/shared/URIs.cpp index 2c44c826..277946d5 100644 --- a/src/shared/URIs.cpp +++ b/src/shared/URIs.cpp @@ -14,24 +14,12 @@ along with Ingen. If not, see . */ -#define __STDC_LIMIT_MACROS 1 - -#include -#include - -#include - -#include - #include "ingen/shared/URIMap.hpp" #include "ingen/shared/URIs.hpp" #include "lv2/lv2plug.in/ns/ext/atom/atom.h" #include "lv2/lv2plug.in/ns/ext/midi/midi.h" #include "lv2/lv2plug.in/ns/ext/patch/patch.h" #include "lv2/lv2plug.in/ns/lv2core/lv2.h" -#include "raul/log.hpp" - -using namespace std; namespace Ingen { namespace Shared { diff --git a/src/shared/World.cpp b/src/shared/World.cpp index 608a8409..05a941e9 100644 --- a/src/shared/World.cpp +++ b/src/shared/World.cpp @@ -21,8 +21,6 @@ #include #include -#include "ingen/EngineBase.hpp" -#include "ingen/Interface.hpp" #include "ingen/shared/Configuration.hpp" #include "ingen/shared/LV2Features.hpp" #include "ingen/shared/Module.hpp" @@ -31,7 +29,6 @@ #include "ingen/shared/World.hpp" #include "ingen/shared/runtime_paths.hpp" #include "lilv/lilv.h" -#include "raul/Atom.hpp" #include "raul/log.hpp" #include "sord/sordmm.hpp" @@ -40,8 +37,16 @@ using namespace std; namespace Ingen { + +class EngineBase; +class Interface; + +namespace Serialisation { class Parser; class Serialiser; } + namespace Shared { +class Store; + /** Load a dynamic module from the default path. * * This will check in the directories specified in the environment variable -- cgit v1.2.1