summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/bindings/Client.hpp2
-rwxr-xr-xsrc/bindings/build.sh2
-rw-r--r--src/bindings/ingen.i14
-rw-r--r--src/client/ClientStore.hpp2
-rw-r--r--src/client/ConnectionModel.hpp2
-rw-r--r--src/client/HTTPClientReceiver.hpp2
-rw-r--r--src/client/HTTPEngineSender.hpp2
-rw-r--r--src/client/NodeModel.cpp2
-rw-r--r--src/client/NodeModel.hpp4
-rw-r--r--src/client/OSCClientReceiver.cpp10
-rw-r--r--src/client/OSCClientReceiver.hpp2
-rw-r--r--src/client/OSCEngineSender.cpp6
-rw-r--r--src/client/OSCEngineSender.hpp2
-rw-r--r--src/client/ObjectModel.cpp2
-rw-r--r--src/client/ObjectModel.hpp2
-rw-r--r--src/client/PatchModel.hpp2
-rw-r--r--src/client/PluginModel.hpp4
-rw-r--r--src/client/PortModel.hpp2
-rw-r--r--src/client/SigClientInterface.hpp2
-rw-r--r--src/client/ThreadedSigClientInterface.cpp6
-rw-r--r--src/client/ThreadedSigClientInterface.hpp2
-rw-r--r--src/client/wscript2
-rw-r--r--src/common/interface/ClientInterface.hpp63
-rw-r--r--src/common/interface/CommonInterface.hpp77
-rw-r--r--src/common/interface/Connection.hpp43
-rw-r--r--src/common/interface/EngineInterface.hpp76
-rw-r--r--src/common/interface/EventType.hpp80
-rw-r--r--src/common/interface/GraphObject.hpp53
-rw-r--r--src/common/interface/Node.hpp52
-rw-r--r--src/common/interface/Patch.hpp52
-rw-r--r--src/common/interface/Plugin.hpp65
-rw-r--r--src/common/interface/Port.hpp58
-rw-r--r--src/common/interface/PortType.hpp100
-rw-r--r--src/common/interface/README11
-rw-r--r--src/common/interface/Resource.hpp100
-rw-r--r--src/engine/Buffer.hpp2
-rw-r--r--src/engine/BufferFactory.hpp2
-rw-r--r--src/engine/ClientBroadcaster.cpp2
-rw-r--r--src/engine/ClientBroadcaster.hpp2
-rw-r--r--src/engine/ConnectionImpl.hpp4
-rw-r--r--src/engine/Driver.hpp4
-rw-r--r--src/engine/Engine.cpp2
-rw-r--r--src/engine/Engine.hpp4
-rw-r--r--src/engine/EventBuffer.hpp2
-rw-r--r--src/engine/GraphObjectImpl.hpp2
-rw-r--r--src/engine/HTTPClientSender.hpp2
-rw-r--r--src/engine/HTTPEngineReceiver.cpp2
-rw-r--r--src/engine/InputPort.cpp2
-rw-r--r--src/engine/NodeImpl.hpp2
-rw-r--r--src/engine/OSCClientSender.cpp2
-rw-r--r--src/engine/OSCClientSender.hpp4
-rw-r--r--src/engine/OSCEngineReceiver.cpp16
-rw-r--r--src/engine/ObjectBuffer.hpp2
-rw-r--r--src/engine/ObjectSender.cpp4
-rw-r--r--src/engine/OutputPort.cpp2
-rw-r--r--src/engine/PatchImpl.hpp4
-rw-r--r--src/engine/PluginImpl.hpp2
-rw-r--r--src/engine/PortImpl.cpp2
-rw-r--r--src/engine/PortImpl.hpp4
-rw-r--r--src/engine/QueuedEngineInterface.hpp6
-rw-r--r--src/engine/Request.hpp2
-rw-r--r--src/engine/events/CreateNode.hpp2
-rw-r--r--src/engine/events/CreatePatch.hpp2
-rw-r--r--src/engine/events/CreatePort.hpp4
-rw-r--r--src/engine/events/Get.cpp2
-rw-r--r--src/engine/events/RegisterClient.hpp2
-rw-r--r--src/engine/events/RequestMetadata.cpp2
-rw-r--r--src/engine/events/SetMetadata.cpp2
-rw-r--r--src/engine/events/UnregisterClient.cpp2
-rw-r--r--src/engine/ingen_lv2.cpp2
-rw-r--r--src/engine/mix.hpp2
-rw-r--r--src/engine/wscript10
-rw-r--r--src/gui/App.cpp2
-rw-r--r--src/gui/ConnectWindow.cpp2
-rw-r--r--src/gui/ControlPanel.cpp4
-rw-r--r--src/gui/Controls.cpp2
-rw-r--r--src/gui/LoadPatchWindow.cpp2
-rw-r--r--src/gui/LoadPatchWindow.hpp2
-rw-r--r--src/gui/LoadPluginWindow.cpp2
-rw-r--r--src/gui/LoadPluginWindow.hpp2
-rw-r--r--src/gui/LoadRemotePatchWindow.cpp2
-rw-r--r--src/gui/LoadRemotePatchWindow.hpp2
-rw-r--r--src/gui/NewSubpatchWindow.cpp2
-rw-r--r--src/gui/NewSubpatchWindow.hpp2
-rw-r--r--src/gui/NodeControlWindow.cpp2
-rw-r--r--src/gui/NodeMenu.cpp2
-rw-r--r--src/gui/NodeModule.cpp2
-rw-r--r--src/gui/ObjectMenu.cpp2
-rw-r--r--src/gui/PatchCanvas.cpp2
-rw-r--r--src/gui/PatchCanvas.hpp2
-rw-r--r--src/gui/PatchPortModule.cpp2
-rw-r--r--src/gui/PatchTreeWindow.cpp2
-rw-r--r--src/gui/PatchView.cpp2
-rw-r--r--src/gui/PatchWindow.cpp2
-rw-r--r--src/gui/Port.cpp2
-rw-r--r--src/gui/PortMenu.cpp2
-rw-r--r--src/gui/PortPropertiesWindow.cpp2
-rw-r--r--src/gui/RenameWindow.cpp2
-rw-r--r--src/gui/SubpatchModule.cpp2
-rw-r--r--src/gui/ThreadedLoader.hpp2
-rw-r--r--src/gui/UploadPatchWindow.cpp2
-rw-r--r--src/gui/WindowFactory.hpp2
-rw-r--r--src/gui/wscript2
-rw-r--r--src/ingen/main.cpp2
-rw-r--r--src/ingen/wscript2
-rw-r--r--src/module/wscript2
-rw-r--r--src/serialisation/Parser.cpp2
-rw-r--r--src/serialisation/Parser.hpp5
-rw-r--r--src/serialisation/Serialiser.cpp12
-rw-r--r--src/serialisation/Serialiser.hpp2
-rw-r--r--src/serialisation/serialisation.cpp1
-rw-r--r--src/serialisation/wscript2
-rw-r--r--src/shared/Builder.cpp12
-rw-r--r--src/shared/ClashAvoider.hpp2
-rw-r--r--src/shared/ResourceImpl.hpp4
-rw-r--r--src/shared/Store.cpp4
-rw-r--r--src/shared/Store.hpp2
-rw-r--r--src/shared/wscript2
118 files changed, 162 insertions, 980 deletions
diff --git a/src/bindings/Client.hpp b/src/bindings/Client.hpp
index f752a807..8ca234cc 100644
--- a/src/bindings/Client.hpp
+++ b/src/bindings/Client.hpp
@@ -1,4 +1,4 @@
-#include "interface/Resource.hpp"
+#include "ingen/Resource.hpp"
/** Need a stub ClientInterface without pure virtual methods
* to allow inheritance in the script
diff --git a/src/bindings/build.sh b/src/bindings/build.sh
index d279433a..5723df35 100755
--- a/src/bindings/build.sh
+++ b/src/bindings/build.sh
@@ -1,4 +1,4 @@
#!/bin/sh
swig -c++ -python ./ingen.i
-gcc -shared -o _ingen.so ./ingen_wrap.cxx ./ingen_bindings.cpp -I.. -I../common `pkg-config --cflags --libs glibmm-2.4` `python-config --cflags --ldflags` -fPIC
+gcc -shared -o _ingen.so ./ingen_wrap.cxx ./ingen_bindings.cpp -I.. -I../../include `pkg-config --cflags --libs glibmm-2.4` `python-config --cflags --ldflags` -fPIC
diff --git a/src/bindings/ingen.i b/src/bindings/ingen.i
index 19c4b1f1..bafc1704 100644
--- a/src/bindings/ingen.i
+++ b/src/bindings/ingen.i
@@ -1,9 +1,9 @@
%include "stl.i"
%module(directors="1") ingen
%{
-#include "common/interface/CommonInterface.hpp"
-#include "common/interface/ClientInterface.hpp"
-#include "common/interface/EngineInterface.hpp"
+#include "ingen/CommonInterface.hpp"
+#include "ingen/ClientInterface.hpp"
+#include "ingen/EngineInterface.hpp"
#include "module/World.hpp"
#include "ingen_bindings.hpp"
#include "Client.hpp"
@@ -11,10 +11,10 @@
/*%ignore Ingen::Shared::EngineInterface;*/
-%include "../common/interface/CommonInterface.hpp"
-%include "../common/interface/ClientInterface.hpp"
-%include "../common/interface/EngineInterface.hpp"
-%include "../module/World.hpp"
+%include "../../include/ingen/CommonInterface.hpp"
+%include "../../include/ingen/ClientInterface.hpp"
+%include "../../include/ingen/EngineInterface.hpp"
+%include "../../includemodule/World.hpp"
//%include "../module/module.h"
%include "ingen_bindings.hpp"
diff --git a/src/client/ClientStore.hpp b/src/client/ClientStore.hpp
index c7448f7c..b245f403 100644
--- a/src/client/ClientStore.hpp
+++ b/src/client/ClientStore.hpp
@@ -26,7 +26,7 @@
#include <sigc++/sigc++.h>
-#include "interface/EngineInterface.hpp"
+#include "ingen/EngineInterface.hpp"
#include "raul/Path.hpp"
#include "raul/PathTable.hpp"
#include "raul/TableImpl.hpp"
diff --git a/src/client/ConnectionModel.hpp b/src/client/ConnectionModel.hpp
index 112922db..5481b713 100644
--- a/src/client/ConnectionModel.hpp
+++ b/src/client/ConnectionModel.hpp
@@ -23,7 +23,7 @@
#include <list>
#include "raul/Path.hpp"
#include "raul/SharedPtr.hpp"
-#include "interface/Connection.hpp"
+#include "ingen/Connection.hpp"
#include "PortModel.hpp"
namespace Ingen {
diff --git a/src/client/HTTPClientReceiver.hpp b/src/client/HTTPClientReceiver.hpp
index 5e09d2e4..415ac8a1 100644
--- a/src/client/HTTPClientReceiver.hpp
+++ b/src/client/HTTPClientReceiver.hpp
@@ -25,7 +25,7 @@
#include "raul/Deletable.hpp"
#include "raul/SharedPtr.hpp"
#include "raul/Thread.hpp"
-#include "interface/ClientInterface.hpp"
+#include "ingen/ClientInterface.hpp"
#include "serialisation/Parser.hpp"
typedef struct _SoupSession SoupSession;
diff --git a/src/client/HTTPEngineSender.hpp b/src/client/HTTPEngineSender.hpp
index 2b31701f..207d644f 100644
--- a/src/client/HTTPEngineSender.hpp
+++ b/src/client/HTTPEngineSender.hpp
@@ -25,7 +25,7 @@
#include "raul/Path.hpp"
#include "sord/sordmm.hpp"
-#include "interface/EngineInterface.hpp"
+#include "ingen/EngineInterface.hpp"
typedef struct _SoupSession SoupSession;
diff --git a/src/client/NodeModel.cpp b/src/client/NodeModel.cpp
index 1ff3cae6..6850b06c 100644
--- a/src/client/NodeModel.cpp
+++ b/src/client/NodeModel.cpp
@@ -18,7 +18,7 @@
#include <cassert>
#include <cmath>
#include "ingen-config.h"
-#include "interface/Port.hpp"
+#include "ingen/Port.hpp"
#include "module/World.hpp"
#include "shared/LV2URIMap.hpp"
#include "NodeModel.hpp"
diff --git a/src/client/NodeModel.hpp b/src/client/NodeModel.hpp
index 939197b1..cc47a25d 100644
--- a/src/client/NodeModel.hpp
+++ b/src/client/NodeModel.hpp
@@ -23,8 +23,8 @@
#include <vector>
#include <sigc++/sigc++.h>
#include "raul/SharedPtr.hpp"
-#include "interface/Node.hpp"
-#include "interface/Port.hpp"
+#include "ingen/Node.hpp"
+#include "ingen/Port.hpp"
#include "ObjectModel.hpp"
#include "PortModel.hpp"
#include "PluginModel.hpp"
diff --git a/src/client/OSCClientReceiver.cpp b/src/client/OSCClientReceiver.cpp
index bbf4f882..00d8cc32 100644
--- a/src/client/OSCClientReceiver.cpp
+++ b/src/client/OSCClientReceiver.cpp
@@ -15,13 +15,17 @@
* 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
+#include <assert.h>
+#include <stdio.h>
+#include <string.h>
+
#include <list>
-#include <cassert>
-#include <cstring>
#include <sstream>
-#include "ingen-config.h"
+
#include "raul/log.hpp"
#include "raul/AtomLiblo.hpp"
+
+#include "ingen-config.h"
#include "OSCClientReceiver.hpp"
#define LOG(s) s << "[OSCClientReceiver] "
diff --git a/src/client/OSCClientReceiver.hpp b/src/client/OSCClientReceiver.hpp
index e1bec2b6..9f9b8088 100644
--- a/src/client/OSCClientReceiver.hpp
+++ b/src/client/OSCClientReceiver.hpp
@@ -23,7 +23,7 @@
#include <lo/lo.h>
#include "raul/Deletable.hpp"
#include "raul/SharedPtr.hpp"
-#include "interface/ClientInterface.hpp"
+#include "ingen/ClientInterface.hpp"
namespace Ingen {
namespace Client {
diff --git a/src/client/OSCEngineSender.cpp b/src/client/OSCEngineSender.cpp
index 42e2a09a..70b40e7d 100644
--- a/src/client/OSCEngineSender.cpp
+++ b/src/client/OSCEngineSender.cpp
@@ -19,9 +19,9 @@
#include "raul/AtomLiblo.hpp"
#include "raul/Path.hpp"
-#include "common/interface/Patch.hpp"
-#include "common/interface/Port.hpp"
-#include "common/interface/Plugin.hpp"
+#include "ingen/Patch.hpp"
+#include "ingen/Port.hpp"
+#include "ingen/Plugin.hpp"
#include "OSCEngineSender.hpp"
diff --git a/src/client/OSCEngineSender.hpp b/src/client/OSCEngineSender.hpp
index c696eb1b..fddfdbce 100644
--- a/src/client/OSCEngineSender.hpp
+++ b/src/client/OSCEngineSender.hpp
@@ -21,7 +21,7 @@
#include <inttypes.h>
#include <string>
#include <lo/lo.h>
-#include "interface/EngineInterface.hpp"
+#include "ingen/EngineInterface.hpp"
#include "shared/OSCSender.hpp"
namespace Ingen {
diff --git a/src/client/ObjectModel.cpp b/src/client/ObjectModel.cpp
index 728d530e..16859216 100644
--- a/src/client/ObjectModel.cpp
+++ b/src/client/ObjectModel.cpp
@@ -16,7 +16,7 @@
*/
#include "raul/TableImpl.hpp"
-#include "interface/GraphObject.hpp"
+#include "ingen/GraphObject.hpp"
#include "shared/LV2URIMap.hpp"
#include "ObjectModel.hpp"
diff --git a/src/client/ObjectModel.hpp b/src/client/ObjectModel.hpp
index 0899ed99..0ee11ba1 100644
--- a/src/client/ObjectModel.hpp
+++ b/src/client/ObjectModel.hpp
@@ -27,7 +27,7 @@
#include "raul/Path.hpp"
#include "raul/URI.hpp"
#include "raul/SharedPtr.hpp"
-#include "interface/GraphObject.hpp"
+#include "ingen/GraphObject.hpp"
#include "shared/ResourceImpl.hpp"
namespace Ingen {
diff --git a/src/client/PatchModel.hpp b/src/client/PatchModel.hpp
index 534c329a..91719df3 100644
--- a/src/client/PatchModel.hpp
+++ b/src/client/PatchModel.hpp
@@ -21,7 +21,7 @@
#include <cassert>
#include <sigc++/sigc++.h>
#include "raul/SharedPtr.hpp"
-#include "interface/Patch.hpp"
+#include "ingen/Patch.hpp"
#include "NodeModel.hpp"
#include "ConnectionModel.hpp"
diff --git a/src/client/PluginModel.hpp b/src/client/PluginModel.hpp
index 006c53d9..6be9dfc4 100644
--- a/src/client/PluginModel.hpp
+++ b/src/client/PluginModel.hpp
@@ -26,8 +26,8 @@
#ifdef HAVE_SLV2
#include "slv2/slv2.h"
#endif
-#include "interface/EngineInterface.hpp"
-#include "interface/Plugin.hpp"
+#include "ingen/EngineInterface.hpp"
+#include "ingen/Plugin.hpp"
#include "module/World.hpp"
#include "shared/ResourceImpl.hpp"
diff --git a/src/client/PortModel.hpp b/src/client/PortModel.hpp
index 8688e2e9..f41416f2 100644
--- a/src/client/PortModel.hpp
+++ b/src/client/PortModel.hpp
@@ -23,7 +23,7 @@
#include <sigc++/sigc++.h>
#include "raul/log.hpp"
#include "raul/SharedPtr.hpp"
-#include "interface/Port.hpp"
+#include "ingen/Port.hpp"
#include "ObjectModel.hpp"
namespace Raul { class Path; }
diff --git a/src/client/SigClientInterface.hpp b/src/client/SigClientInterface.hpp
index 55965fd2..8a53a2cb 100644
--- a/src/client/SigClientInterface.hpp
+++ b/src/client/SigClientInterface.hpp
@@ -21,7 +21,7 @@
#include <inttypes.h>
#include <sigc++/sigc++.h>
#include "raul/Path.hpp"
-#include "interface/ClientInterface.hpp"
+#include "ingen/ClientInterface.hpp"
namespace Ingen {
namespace Client {
diff --git a/src/client/ThreadedSigClientInterface.cpp b/src/client/ThreadedSigClientInterface.cpp
index 13a36882..50b0b7e7 100644
--- a/src/client/ThreadedSigClientInterface.cpp
+++ b/src/client/ThreadedSigClientInterface.cpp
@@ -16,9 +16,9 @@
*/
#include "raul/log.hpp"
-#include "common/interface/Patch.hpp"
-#include "common/interface/Plugin.hpp"
-#include "common/interface/Port.hpp"
+#include "ingen/Patch.hpp"
+#include "ingen/Plugin.hpp"
+#include "ingen/Port.hpp"
#include "ThreadedSigClientInterface.hpp"
using namespace std;
diff --git a/src/client/ThreadedSigClientInterface.hpp b/src/client/ThreadedSigClientInterface.hpp
index 06a8da73..c852dfd0 100644
--- a/src/client/ThreadedSigClientInterface.hpp
+++ b/src/client/ThreadedSigClientInterface.hpp
@@ -23,7 +23,7 @@
#include <sigc++/sigc++.h>
#include <glibmm/thread.h>
#include "raul/Atom.hpp"
-#include "interface/ClientInterface.hpp"
+#include "ingen/ClientInterface.hpp"
#include "SigClientInterface.hpp"
#include "raul/SRSWQueue.hpp"
diff --git a/src/client/wscript b/src/client/wscript
index 496c7219..06258b67 100644
--- a/src/client/wscript
+++ b/src/client/wscript
@@ -30,7 +30,7 @@ def build(bld):
OSCEngineSender.cpp
'''
- obj.includes = ['.', '..', '../..', '../common']
+ obj.includes = ['.', '..', '../..', '../../include']
obj.export_includes = ['.']
obj.name = 'libingen_client'
obj.target = 'ingen_client'
diff --git a/src/common/interface/ClientInterface.hpp b/src/common/interface/ClientInterface.hpp
deleted file mode 100644
index 39a121b1..00000000
--- a/src/common/interface/ClientInterface.hpp
+++ /dev/null
@@ -1,63 +0,0 @@
-/* This file is part of Ingen.
- * Copyright (C) 2007-2009 David Robillard <http://drobilla.net>
- *
- * Ingen is free software; you can redistribute it and/or modify it under the
- * terms of the GNU General Public License as published by the Free Software
- * Foundation; either version 2 of the License, or (at your option) any later
- * version.
- *
- * Ingen is distributed in the hope that it will be useful, but WITHOUT ANY
- * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
- * FOR A PARTICULAR PURPOSE. See the GNU General Public License for details.
- *
- * You should have received a copy of the GNU General Public License along
- * with this program; if not, write to the Free Software Foundation, Inc.,
- * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
- */
-
-#ifndef INGEN_INTERFACE_CLIENTINTERFACE_HPP
-#define INGEN_INTERFACE_CLIENTINTERFACE_HPP
-
-#include <stdio.h>
-#include <string>
-#include <inttypes.h>
-#include "interface/CommonInterface.hpp"
-
-namespace Raul { class Path; class URI; }
-
-namespace Ingen {
-namespace Shared {
-
-/** The (only) interface the engine uses to communicate with clients.
- * Purely virtual (except for the destructor).
- *
- * \ingroup interface
- */
-class ClientInterface : public CommonInterface
-{
-public:
- virtual ~ClientInterface() {}
-
- virtual Raul::URI uri() const = 0;
-
- virtual void response_ok(int32_t id) = 0;
- virtual void response_error(int32_t id, const std::string& msg) = 0;
-
- /** Transfers are 'weak' bundles. These are used to break a large group
- * of similar/related messages into larger chunks (solely for communication
- * efficiency). A bunch of messages in a transfer will arrive as 1 or more
- * bundles (so a transfer can exceed the maximum bundle (packet) size).
- */
- virtual void transfer_begin() = 0;
- virtual void transfer_end() = 0;
-
- virtual void error(const std::string& msg) = 0;
-
- virtual void activity(const Raul::Path& path) = 0;
-};
-
-
-} // namespace Shared
-} // namespace Ingen
-
-#endif
diff --git a/src/common/interface/CommonInterface.hpp b/src/common/interface/CommonInterface.hpp
deleted file mode 100644
index cbf3573c..00000000
--- a/src/common/interface/CommonInterface.hpp
+++ /dev/null
@@ -1,77 +0,0 @@
-/* This file is part of Ingen.
- * Copyright (C) 2008-2009 David Robillard <http://drobilla.net>
- *
- * Ingen is free software; you can redistribute it and/or modify it under the
- * terms of the GNU General Public License as published by the Free Software
- * Foundation; either version 2 of the License, or (at your option) any later
- * version.
- *
- * Ingen is distributed in the hope that it will be useful, but WITHOUT ANY
- * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
- * FOR A PARTICULAR PURPOSE. See the GNU General Public License for details.
- *
- * You should have received a copy of the GNU General Public License along
- * with this program; if not, write to the Free Software Foundation, Inc.,
- * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
- */
-
-#ifndef INGEN_INTERFACE_COMMONINTERFACE_HPP
-#define INGEN_INTERFACE_COMMONINTERFACE_HPP
-
-#include <inttypes.h>
-#include <string>
-#include "interface/CommonInterface.hpp"
-#include "interface/GraphObject.hpp"
-
-namespace Raul { class Atom; class Path; class URI; }
-
-namespace Ingen {
-namespace Shared {
-
-
-/** Abstract interface common to both engine and clients.
- * Purely virtual (except for the destructor).
- *
- * \ingroup interface
- */
-class CommonInterface
-{
-public:
- virtual ~CommonInterface() {}
-
- /** Begin an atomic bundle */
- virtual void bundle_begin() = 0;
-
- /** End (and send) an atomic bundle */
- virtual void bundle_end() = 0;
-
- virtual void put(const Raul::URI& uri,
- const Resource::Properties& properties,
- Resource::Graph ctx=Resource::DEFAULT) = 0;
-
- virtual void delta(const Raul::URI& uri,
- const Resource::Properties& remove,
- const Resource::Properties& add) = 0;
-
- virtual void move(const Raul::Path& old_path,
- const Raul::Path& new_path) = 0;
-
- virtual void del(const Raul::Path& path) = 0;
-
- virtual void connect(const Raul::Path& src_port_path,
- const Raul::Path& dst_port_path) = 0;
-
- virtual void disconnect(const Raul::Path& src_port_path,
- const Raul::Path& dst_port_path) = 0;
-
- virtual void set_property(const Raul::URI& subject,
- const Raul::URI& predicate,
- const Raul::Atom& value) = 0;
-};
-
-
-} // namespace Shared
-} // namespace Ingen
-
-#endif // INGEN_INTERFACE_COMMONINTERFACE_HPP
-
diff --git a/src/common/interface/Connection.hpp b/src/common/interface/Connection.hpp
deleted file mode 100644
index 8e429631..00000000
--- a/src/common/interface/Connection.hpp
+++ /dev/null
@@ -1,43 +0,0 @@
-/* This file is part of Ingen.
- * Copyright (C) 2007-2009 David Robillard <http://drobilla.net>
- *
- * Ingen is free software; you can redistribute it and/or modify it under the
- * terms of the GNU General Public License as published by the Free Software
- * Foundation; either version 2 of the License, or (at your option) any later
- * version.
- *
- * Ingen is distributed in the hope that it will be useful, but WITHOUT ANY
- * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
- * FOR A PARTICULAR PURPOSE. See the GNU General Public License for details.
- *
- * You should have received a copy of the GNU General Public License along
- * with this program; if not, write to the Free Software Foundation, Inc.,
- * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
- */
-
-#ifndef INGEN_INTERFACE_CONNECTION_HPP
-#define INGEN_INTERFACE_CONNECTION_HPP
-
-#include "raul/Path.hpp"
-
-namespace Ingen {
-namespace Shared {
-
-
-/** A connection between two ports.
- *
- * \ingroup interface
- */
-class Connection
-{
-public:
- virtual ~Connection() {}
- virtual const Raul::Path src_port_path() const = 0;
- virtual const Raul::Path dst_port_path() const = 0;
-};
-
-
-} // namespace Shared
-} // namespace Ingen
-
-#endif // INGEN_INTERFACE_CONNECTION_HPP
diff --git a/src/common/interface/EngineInterface.hpp b/src/common/interface/EngineInterface.hpp
deleted file mode 100644
index 384c500d..00000000
--- a/src/common/interface/EngineInterface.hpp
+++ /dev/null
@@ -1,76 +0,0 @@
-/* This file is part of Ingen.
- * Copyright (C) 2007-2009 David Robillard <http://drobilla.net>
- *
- * Ingen is free software = 0; you can redistribute it and/or modify it under the
- * terms of the GNU General Public License as published by the Free Software
- * Foundation = 0; either version 2 of the License, or (at your option) any later
- * version.
- *
- * Ingen is distributed in the hope that it will be useful, but WITHOUT ANY
- * WARRANTY = 0; without even the implied warranty of MERCHANTABILITY or FITNESS
- * FOR A PARTICULAR PURPOSE. See the GNU General Public License for details.
- *
- * You should have received a copy of the GNU General Public License along
- * with this program = 0; if not, write to the Free Software Foundation, Inc.,
- * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
- */
-
-#ifndef INGEN_INTERFACE_ENGINEINTERFACE_HPP
-#define INGEN_INTERFACE_ENGINEINTERFACE_HPP
-
-#include <inttypes.h>
-#include "interface/CommonInterface.hpp"
-
-namespace Ingen {
-namespace Shared {
-
-class ClientInterface;
-
-
-/** The (only) interface clients use to communicate with the engine.
- * Purely virtual (except for the destructor).
- *
- * \ingroup interface
- */
-class EngineInterface : public CommonInterface
-{
-public:
- virtual ~EngineInterface() {}
-
- virtual Raul::URI uri() const = 0;
-
- // Responses
- virtual void set_next_response_id(int32_t id) = 0;
- virtual void disable_responses() = 0;
-
- // Client registration
- virtual void register_client(ClientInterface* client) = 0;
- virtual void unregister_client(const Raul::URI& uri) = 0;
-
- // Engine commands
- virtual void load_plugins() = 0;
- virtual void activate() = 0;
- virtual void deactivate() = 0;
- virtual void quit() = 0;
-
- // Object commands
-
- virtual void disconnect_all(const Raul::Path& parent_patch_path,
- const Raul::Path& path) = 0;
-
- // Requests
-
- virtual void ping() = 0;
-
- virtual void get(const Raul::URI& uri) = 0;
-
- virtual void request_property(const Raul::URI& uri,
- const Raul::URI& key) = 0;
-};
-
-
-} // namespace Shared
-} // namespace Ingen
-
-#endif // INGEN_INTERFACE_ENGINEINTERFACE_HPP
-
diff --git a/src/common/interface/EventType.hpp b/src/common/interface/EventType.hpp
deleted file mode 100644
index 8a19ba42..00000000
--- a/src/common/interface/EventType.hpp
+++ /dev/null
@@ -1,80 +0,0 @@
-/* This file is part of Ingen.
- * Copyright (C) 2008-2009 David Robillard <http://drobilla.net>
- *
- * Ingen is free software; you can redistribute it and/or modify it under the
- * terms of the GNU General Public License as published by the Free Software
- * Foundation; either version 2 of the License, or (at your option) any later
- * version.
- *
- * Ingen is distributed in the hope that it will be useful, but WITHOUT ANY
- * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
- * FOR A PARTICULAR PURPOSE. See the GNU General Public License for details.
- *
- * You should have received a copy of the GNU General Public License along
- * with this program; if not, write to the Free Software Foundation, Inc.,
- * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
- */
-
-#ifndef INGEN_INTERFACE_EVENTTYPE_HPP
-#define INGEN_INTERFACE_EVENTTYPE_HPP
-
-#include "raul/URI.hpp"
-
-namespace Ingen {
-namespace Shared {
-
-
-/** A type of event (that can live in an EventBuffer).
- */
-class EventType {
-public:
-
- enum Symbol {
- UNKNOWN = 0,
- MIDI = 1,
- OSC = 2
- };
-
- EventType(const Raul::URI& uri)
- : _symbol(UNKNOWN)
- {
- if (uri == type_uri(MIDI)) {
- _symbol = MIDI;
- } else if (uri == type_uri(OSC)) {
- _symbol = OSC;
- }
- }
-
- EventType(Symbol symbol)
- : _symbol(symbol)
- {}
-
- inline const Raul::URI& uri() const { return type_uri(_symbol); }
-
- inline bool operator==(const Symbol& symbol) const { return (_symbol == symbol); }
- inline bool operator!=(const Symbol& symbol) const { return (_symbol != symbol); }
- inline bool operator==(const EventType& type) const { return (_symbol == type._symbol); }
- inline bool operator!=(const EventType& type) const { return (_symbol != type._symbol); }
-
- inline bool is_midi() { return _symbol == MIDI; }
- inline bool is_osc() { return _symbol == OSC; }
-
-private:
- static inline const Raul::URI& type_uri(unsigned symbol_num) {
- assert(symbol_num <= OSC);
- static const Raul::URI uris[] = {
- "http://drobilla.net/ns/ingen#nil",
- "http://drobilla.net/ns/ingen#MidiEvent",
- "http://drobilla.net/ns/ingen#OSCEvent"
- };
- return uris[symbol_num];
- }
-
- Symbol _symbol;
-};
-
-
-} // namespace Shared
-} // namespace Ingen
-
-#endif // INGEN_INTERFACE_EVENTTYPE_HPP
diff --git a/src/common/interface/GraphObject.hpp b/src/common/interface/GraphObject.hpp
deleted file mode 100644
index ed592971..00000000
--- a/src/common/interface/GraphObject.hpp
+++ /dev/null
@@ -1,53 +0,0 @@
-/* This file is part of Ingen.
- * Copyright (C) 2007-2009 David Robillard <http://drobilla.net>
- *
- * Ingen is free software; you can redistribute it and/or modify it under the
- * terms of the GNU General Public License as published by the Free Software
- * Foundation; either version 2 of the License, or (at your option) any later
- * version.
- *
- * Ingen is distributed in the hope that it will be useful, but WITHOUT ANY
- * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
- * FOR A PARTICULAR PURPOSE. See the GNU General Public License for details.
- *
- * You should have received a copy of the GNU General Public License along
- * with this program; if not, write to the Free Software Foundation, Inc.,
- * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
- */
-
-#ifndef INGEN_INTERFACE_GRAPHOBJECT_HPP
-#define INGEN_INTERFACE_GRAPHOBJECT_HPP
-
-#include "raul/Deletable.hpp"
-#include "raul/Path.hpp"
-#include "raul/Symbol.hpp"
-#include "interface/Resource.hpp"
-
-namespace Raul { class Atom; }
-
-namespace Ingen {
-namespace Shared {
-
-
-/** An object on the audio graph - Patch, Node, Port, etc.
- *
- * Purely virtual (except for the destructor).
- *
- * \ingroup interface
- */
-class GraphObject : public Raul::Deletable
- , public virtual Resource
-{
-public:
- virtual void set_path(const Raul::Path& path) = 0;
-
- virtual const Raul::Path& path() const = 0;
- virtual const Raul::Symbol& symbol() const = 0;
- virtual GraphObject* graph_parent() const = 0;
-};
-
-
-} // namespace Shared
-} // namespace Ingen
-
-#endif // INGEN_INTERFACE_GRAPHOBJECT_HPP
diff --git a/src/common/interface/Node.hpp b/src/common/interface/Node.hpp
deleted file mode 100644
index e7669761..00000000
--- a/src/common/interface/Node.hpp
+++ /dev/null
@@ -1,52 +0,0 @@
-/* This file is part of Ingen.
- * Copyright (C) 2007-2009 David Robillard <http://drobilla.net>
- *
- * Ingen is free software; you can redistribute it and/or modify it under the
- * terms of the GNU General Public License as published by the Free Software
- * Foundation; either version 2 of the License, or (at your option) any later
- * version.
- *
- * Ingen is distributed in the hope that it will be useful, but WITHOUT ANY
- * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
- * FOR A PARTICULAR PURPOSE. See the GNU General Public License for details.
- *
- * You should have received a copy of the GNU General Public License along
- * with this program; if not, write to the Free Software Foundation, Inc.,
- * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
- */
-
-#ifndef INGEN_INTERFACE_NODE_HPP
-#define INGEN_INTERFACE_NODE_HPP
-
-#include <stdint.h>
-#include "GraphObject.hpp"
-
-namespace Ingen {
-namespace Shared {
-
-class Port;
-class Plugin;
-
-
-/** A Node (or "module") in a Patch (which is also a Node).
- *
- * A Node is a unit with input/output ports, a process() method, and some other
- * things.
- *
- * Purely virtual (except for the destructor).
- *
- * \ingroup interface
- */
-class Node : public virtual GraphObject
-{
-public:
- virtual uint32_t num_ports() const = 0;
- virtual Port* port(uint32_t index) const = 0;
- virtual const Plugin* plugin() const = 0;
-};
-
-
-} // namespace Shared
-} // namespace Ingen
-
-#endif // INGEN_INTERFACE_NODE_HPP
diff --git a/src/common/interface/Patch.hpp b/src/common/interface/Patch.hpp
deleted file mode 100644
index 87f12bca..00000000
--- a/src/common/interface/Patch.hpp
+++ /dev/null
@@ -1,52 +0,0 @@
-/* This file is part of Ingen.
- * Copyright (C) 2007-2009 David Robillard <http://drobilla.net>
- *
- * Ingen is free software; you can redistribute it and/or modify it under the
- * terms of the GNU General Public License as published by the Free Software
- * Foundation; either version 2 of the License, or (at your option) any later
- * version.
- *
- * Ingen is distributed in the hope that it will be useful, but WITHOUT ANY
- * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
- * FOR A PARTICULAR PURPOSE. See the GNU General Public License for details.
- *
- * You should have received a copy of the GNU General Public License along
- * with this program; if not, write to the Free Software Foundation, Inc.,
- * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
- */
-
-#ifndef INGEN_INTERFACE_PATCH_HPP
-#define INGEN_INTERFACE_PATCH_HPP
-
-#include <map>
-#include "raul/SharedPtr.hpp"
-#include "raul/List.hpp"
-#include "interface/Node.hpp"
-
-namespace Ingen {
-namespace Shared {
-
-class Connection;
-
-
-/** A Path (graph of Nodes/Connections)
- *
- * \ingroup interface
- */
-class Patch : virtual public Node
-{
-public:
- typedef std::pair<const Port*, const Port*> ConnectionsKey;
- typedef std::map< ConnectionsKey, SharedPtr<Connection> > Connections;
-
- virtual const Connections& connections() const = 0;
-
- virtual bool enabled() const = 0;
- virtual uint32_t internal_poly() const = 0;
-};
-
-
-} // namespace Shared
-} // namespace Ingen
-
-#endif // INGEN_INTERFACE_PATCH_HPP
diff --git a/src/common/interface/Plugin.hpp b/src/common/interface/Plugin.hpp
deleted file mode 100644
index 0dfd85d3..00000000
--- a/src/common/interface/Plugin.hpp
+++ /dev/null
@@ -1,65 +0,0 @@
-/* This file is part of Ingen.
- * Copyright (C) 2007-2009 David Robillard <http://drobilla.net>
- *
- * Ingen is free software; you can redistribute it and/or modify it under the
- * terms of the GNU General Public License as published by the Free Software
- * Foundation; either version 2 of the License, or (at your option) any later
- * version.
- *
- * Ingen is distributed in the hope that it will be useful, but WITHOUT ANY
- * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
- * FOR A PARTICULAR PURPOSE. See the GNU General Public License for details.
- *
- * You should have received a copy of the GNU General Public License along
- * with this program; if not, write to the Free Software Foundation, Inc.,
- * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
- */
-
-#ifndef INGEN_INTERFACE_PLUGIN_HPP
-#define INGEN_INTERFACE_PLUGIN_HPP
-
-#include <string>
-#include "raul/URI.hpp"
-#include "interface/Resource.hpp"
-
-namespace Ingen {
-namespace Shared {
-
-
-class Plugin : virtual public Resource
-{
-public:
- enum Type { NIL, LV2, Internal, Patch };
-
- virtual Type type() const = 0;
-
- static inline const Raul::URI& type_uri(Type type) {
- static const Raul::URI uris[] = {
- "http://drobilla.net/ns/ingen#nil",
- "http://lv2plug.in/ns/lv2core#Plugin",
- "http://drobilla.net/ns/ingen#Internal",
- "http://drobilla.net/ns/ingen#Patch"
- };
-
- return uris[type];
- }
-
- inline const Raul::URI& type_uri() const { return type_uri(type()); }
-
- static inline Type type_from_uri(const Raul::URI& uri) {
- if (uri == type_uri(LV2))
- return LV2;
- else if (uri == type_uri(Internal))
- return Internal;
- else if (uri == type_uri(Patch))
- return Patch;
- else
- return NIL;
- }
-};
-
-
-} // namespace Shared
-} // namespace Ingen
-
-#endif // INGEN_INTERFACE_PLUGIN_HPP
diff --git a/src/common/interface/Port.hpp b/src/common/interface/Port.hpp
deleted file mode 100644
index 1ddcc0a9..00000000
--- a/src/common/interface/Port.hpp
+++ /dev/null
@@ -1,58 +0,0 @@
-/* This file is part of Ingen.
- * Copyright (C) 2007-2009 David Robillard <http://drobilla.net>
- *
- * Ingen is free software; you can redistribute it and/or modify it under the
- * terms of the GNU General Public License as published by the Free Software
- * Foundation; either version 2 of the License, or (at your option) any later
- * version.
- *
- * Ingen is distributed in the hope that it will be useful, but WITHOUT ANY
- * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
- * FOR A PARTICULAR PURPOSE. See the GNU General Public License for details.
- *
- * You should have received a copy of the GNU General Public License along
- * with this program; if not, write to the Free Software Foundation, Inc.,
- * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
- */
-
-#ifndef INGEN_INTERFACE_PORT_HPP
-#define INGEN_INTERFACE_PORT_HPP
-
-#include <set>
-#include <stdint.h>
-#include "GraphObject.hpp"
-#include "PortType.hpp"
-
-namespace Raul { class Atom; }
-
-namespace Ingen {
-namespace Shared {
-
-
-/** A Port on a Node.
- *
- * Purely virtual (except for the destructor).
- *
- * \ingroup interface
- */
-class Port : public virtual GraphObject
-{
-public:
- typedef std::set<Shared::PortType> PortTypes;
-
- virtual const PortTypes& types() const = 0;
-
- inline bool is_a(PortType type) const { return types().find(type) != types().end(); }
-
- virtual bool supports(const Raul::URI& value_type) const = 0;
-
- virtual uint32_t index() const = 0;
- virtual bool is_input() const = 0;
- virtual const Raul::Atom& value() const = 0;
-};
-
-
-} // namespace Shared
-} // namespace Ingen
-
-#endif // INGEN_INTERFACE_PORT_HPP
diff --git a/src/common/interface/PortType.hpp b/src/common/interface/PortType.hpp
deleted file mode 100644
index fa28bfa4..00000000
--- a/src/common/interface/PortType.hpp
+++ /dev/null
@@ -1,100 +0,0 @@
-/* This file is part of Ingen.
- * Copyright (C) 2007-2009 David Robillard <http://drobilla.net>
- *
- * Ingen is free software; you can redistribute it and/or modify it under the
- * terms of the GNU General Public License as published by the Free Software
- * Foundation; either version 2 of the License, or (at your option) any later
- * version.
- *
- * Ingen is distributed in the hope that it will be useful, but WITHOUT ANY
- * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
- * FOR A PARTICULAR PURPOSE. See the GNU General Public License for details.
- *
- * You should have received a copy of the GNU General Public License along
- * with this program; if not, write to the Free Software Foundation, Inc.,
- * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
- */
-
-#ifndef INGEN_INTERFACE_PORTTYPE_HPP
-#define INGEN_INTERFACE_PORTTYPE_HPP
-
-#include <raul/URI.hpp>
-
-namespace Ingen {
-namespace Shared {
-
-
-/** The type of a port.
- *
- * This type refers to the type of the port itself (not necessarily the type
- * of its contents). Ports with different types can contain the same type of
- * data, but may e.g. have different access semantics.
- */
-class PortType {
-public:
- enum Symbol {
- UNKNOWN = 0,
- AUDIO = 1,
- CONTROL = 2,
- EVENTS = 3,
- VALUE = 4,
- MESSAGE = 5,
- };
-
- PortType(const Raul::URI& uri)
- : _symbol(UNKNOWN)
- {
- if (uri == type_uri(AUDIO)) {
- _symbol = AUDIO;
- } else if (uri == type_uri(CONTROL)) {
- _symbol = CONTROL;
- } else if (uri == type_uri(EVENTS)) {
- _symbol = EVENTS;
- } else if (uri == type_uri(VALUE)) {
- _symbol = VALUE;
- } else if (uri == type_uri(MESSAGE)) {
- _symbol = MESSAGE;
- }
- }
-
- PortType(Symbol symbol)
- : _symbol(symbol)
- {}
-
- inline const Raul::URI& uri() const { return type_uri(_symbol); }
- inline Symbol symbol() const { return _symbol; }
-
- inline bool operator==(const Symbol& symbol) const { return (_symbol == symbol); }
- inline bool operator!=(const Symbol& symbol) const { return (_symbol != symbol); }
- inline bool operator==(const PortType& type) const { return (_symbol == type._symbol); }
- inline bool operator!=(const PortType& type) const { return (_symbol != type._symbol); }
- inline bool operator<(const PortType& type) const { return (_symbol < type._symbol); }
-
- inline bool is_audio() { return _symbol == AUDIO; }
- inline bool is_control() { return _symbol == CONTROL; }
- inline bool is_events() { return _symbol == EVENTS; }
- inline bool is_value() { return _symbol == VALUE; }
- inline bool is_message() { return _symbol == MESSAGE; }
-
-private:
- static inline const Raul::URI& type_uri(unsigned symbol_num) {
- assert(symbol_num <= MESSAGE);
- static const Raul::URI uris[] = {
- "http://drobilla.net/ns/ingen#nil",
- "http://lv2plug.in/ns/lv2core#AudioPort",
- "http://lv2plug.in/ns/lv2core#ControlPort",
- "http://lv2plug.in/ns/ext/event#EventPort",
- "http://lv2plug.in/ns/ext/atom#ValuePort",
- "http://lv2plug.in/ns/ext/atom#MessagePort"
- };
- return uris[symbol_num];
- }
-
- Symbol _symbol;
-};
-
-
-} // namespace Shared
-} // namespace Ingen
-
-#endif // INGEN_INTERFACE_PORTTYPE_HPP
diff --git a/src/common/interface/README b/src/common/interface/README
deleted file mode 100644
index f79bdc2a..00000000
--- a/src/common/interface/README
+++ /dev/null
@@ -1,11 +0,0 @@
-This directory contains the core engine/client interfaces, code used on
-both the engine side and client side.
-
-It's very, very important that nothing here gets messed up that violates
-client/engine separation. All interfaces use simple messages composed of
-serializable types.
-
-The interface here maps directly on to the OSC interface - except it can
-happen in the same process as well, with only (virtual) function call
-overhead.
-
diff --git a/src/common/interface/Resource.hpp b/src/common/interface/Resource.hpp
deleted file mode 100644
index 3b2f9aa6..00000000
--- a/src/common/interface/Resource.hpp
+++ /dev/null
@@ -1,100 +0,0 @@
-/* This file is part of Ingen.
- * Copyright (C) 2008-2009 David Robillard <http://drobilla.net>
- *
- * Ingen is free software; you can redistribute it and/or modify it under the
- * terms of the GNU General Public License as published by the Free Software
- * Foundation; either version 2 of the License, or (at your option) any later
- * version.
- *
- * Ingen is distributed in the hope that it will be useful, but WITHOUT ANY
- * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
- * FOR A PARTICULAR PURPOSE. See the GNU General Public License for details.
- *
- * You should have received a copy of the GNU General Public License along
- * with this program; if not, write to the Free Software Foundation, Inc.,
- * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
- */
-
-#ifndef INGEN_INTERFACE_RESOURCE_HPP
-#define INGEN_INTERFACE_RESOURCE_HPP
-
-#include <string>
-#include <map>
-
-namespace Raul { class Atom; class URI; }
-
-namespace Ingen {
-namespace Shared {
-
-
-class Resource
-{
-public:
- enum Graph {
- DEFAULT,
- EXTERNAL,
- INTERNAL
- };
-
- class Property : public Raul::Atom {
- public:
- Property(const Raul::Atom& atom, Graph ctx=DEFAULT)
- : Raul::Atom(atom)
- , _ctx(ctx)
- {}
-
- Property() : Raul::Atom(), _ctx(DEFAULT) {}
- Property(int32_t val) : Raul::Atom(val), _ctx(DEFAULT) {}
- Property(float val) : Raul::Atom(val), _ctx(DEFAULT) {}
- Property(bool val) : Raul::Atom(val), _ctx(DEFAULT) {}
- Property(const char* val) : Raul::Atom(val), _ctx(DEFAULT) {}
- Property(const std::string& val) : Raul::Atom(val), _ctx(DEFAULT) {}
-
- Property(const Raul::Atom::DictValue& dict)
- : Raul::Atom(dict)
- , _ctx(DEFAULT)
- {}
-
- Property(Type t, const std::string& uri)
- : Raul::Atom(t, uri)
- , _ctx(DEFAULT)
- {}
-
- Graph context() const { return _ctx; }
- void set_context(Graph ctx) { _ctx = ctx; }
-
- private:
- Graph _ctx;
- };
-
- virtual ~Resource() {}
-
- virtual const Raul::URI& uri() const = 0;
-
- typedef std::multimap<Raul::URI, Property> Properties;
-
- static void set_context(Properties& props, Graph ctx) {
- for (Properties::iterator i = props.begin(); i != props.end(); ++i) {
- i->second.set_context(ctx);
- }
- }
-
- virtual Properties properties(Resource::Graph ctx) const = 0;
-
- virtual const Properties& properties() const = 0;
- virtual Properties& properties() = 0;
- virtual const Raul::Atom& get_property(const Raul::URI& uri) const = 0;
- virtual Raul::Atom& set_property(const Raul::URI& uri,
- const Raul::Atom& value) = 0;
- virtual void add_property(const Raul::URI& uri,
- const Raul::Atom& value) = 0;
- virtual bool has_property(const Raul::URI& uri,
- const Raul::Atom& value) const = 0;
-};
-
-
-} // namespace Shared
-} // namespace Ingen
-
-#endif // INGEN_INTERFACE_RESOURCE_HPP
-
diff --git a/src/engine/Buffer.hpp b/src/engine/Buffer.hpp
index 8013fa32..76d47e26 100644
--- a/src/engine/Buffer.hpp
+++ b/src/engine/Buffer.hpp
@@ -24,7 +24,7 @@
#include <boost/intrusive_ptr.hpp>
#include "raul/Deletable.hpp"
#include "raul/SharedPtr.hpp"
-#include "interface/PortType.hpp"
+#include "ingen/PortType.hpp"
#include "types.hpp"
#include "BufferFactory.hpp"
diff --git a/src/engine/BufferFactory.hpp b/src/engine/BufferFactory.hpp
index e2ac98bb..959e7e73 100644
--- a/src/engine/BufferFactory.hpp
+++ b/src/engine/BufferFactory.hpp
@@ -20,7 +20,7 @@
#include <map>
#include <boost/intrusive_ptr.hpp>
-#include "interface/PortType.hpp"
+#include "ingen/PortType.hpp"
#include "glibmm/thread.h"
#include "raul/RingBuffer.hpp"
#include "raul/AtomicPtr.hpp"
diff --git a/src/engine/ClientBroadcaster.cpp b/src/engine/ClientBroadcaster.cpp
index b3a90628..f83b56a6 100644
--- a/src/engine/ClientBroadcaster.cpp
+++ b/src/engine/ClientBroadcaster.cpp
@@ -18,7 +18,7 @@
#include <cassert>
#include <unistd.h>
#include "raul/log.hpp"
-#include "interface/ClientInterface.hpp"
+#include "ingen/ClientInterface.hpp"
#include "ClientBroadcaster.hpp"
#include "PluginImpl.hpp"
#include "ConnectionImpl.hpp"
diff --git a/src/engine/ClientBroadcaster.hpp b/src/engine/ClientBroadcaster.hpp
index 11668218..4d1a460d 100644
--- a/src/engine/ClientBroadcaster.hpp
+++ b/src/engine/ClientBroadcaster.hpp
@@ -23,7 +23,7 @@
#include <map>
#include <pthread.h>
#include "raul/SharedPtr.hpp"
-#include "interface/ClientInterface.hpp"
+#include "ingen/ClientInterface.hpp"
#include "NodeFactory.hpp"
using namespace std;
diff --git a/src/engine/ConnectionImpl.hpp b/src/engine/ConnectionImpl.hpp
index ea38226f..09dd208a 100644
--- a/src/engine/ConnectionImpl.hpp
+++ b/src/engine/ConnectionImpl.hpp
@@ -23,8 +23,8 @@
#include "raul/log.hpp"
#include "raul/Deletable.hpp"
#include "raul/IntrusivePtr.hpp"
-#include "interface/PortType.hpp"
-#include "interface/Connection.hpp"
+#include "ingen/PortType.hpp"
+#include "ingen/Connection.hpp"
#include "lv2/lv2plug.in/ns/ext/atom/atom.h"
#include "PortImpl.hpp"
diff --git a/src/engine/Driver.hpp b/src/engine/Driver.hpp
index f87ec338..c744b54f 100644
--- a/src/engine/Driver.hpp
+++ b/src/engine/Driver.hpp
@@ -21,8 +21,8 @@
#include <string>
#include <boost/utility.hpp>
#include "raul/Deletable.hpp"
-#include "interface/PortType.hpp"
-#include "interface/EventType.hpp"
+#include "ingen/PortType.hpp"
+#include "ingen/EventType.hpp"
#include "DuplexPort.hpp"
namespace Raul { class Path; }
diff --git a/src/engine/Engine.cpp b/src/engine/Engine.cpp
index 514e286f..3979cfa9 100644
--- a/src/engine/Engine.cpp
+++ b/src/engine/Engine.cpp
@@ -23,7 +23,7 @@
#include "raul/Maid.hpp"
#include "raul/SharedPtr.hpp"
#include "lv2/lv2plug.in/ns/ext/uri-map/uri-map.h"
-#include "common/interface/EventType.hpp"
+#include "ingen/EventType.hpp"
#include "events/CreatePatch.hpp"
#include "events/CreatePort.hpp"
#include "module/World.hpp"
diff --git a/src/engine/Engine.hpp b/src/engine/Engine.hpp
index e79dbb9f..920acfa3 100644
--- a/src/engine/Engine.hpp
+++ b/src/engine/Engine.hpp
@@ -26,8 +26,8 @@
#include "raul/SharedPtr.hpp"
-#include "interface/PortType.hpp"
-#include "interface/EventType.hpp"
+#include "ingen/PortType.hpp"
+#include "ingen/EventType.hpp"
namespace Raul { class Maid; }
diff --git a/src/engine/EventBuffer.hpp b/src/engine/EventBuffer.hpp
index 567abcab..9757ace7 100644
--- a/src/engine/EventBuffer.hpp
+++ b/src/engine/EventBuffer.hpp
@@ -21,7 +21,7 @@
#include "lv2/lv2plug.in/ns/ext/atom/atom.h"
#include "lv2/lv2plug.in/ns/ext/event/event.h"
#include "lv2/lv2plug.in/ns/ext/event/event-helpers.h"
-#include "interface/PortType.hpp"
+#include "ingen/PortType.hpp"
#include "Buffer.hpp"
namespace Ingen {
diff --git a/src/engine/GraphObjectImpl.hpp b/src/engine/GraphObjectImpl.hpp
index 59f28b3e..251559f3 100644
--- a/src/engine/GraphObjectImpl.hpp
+++ b/src/engine/GraphObjectImpl.hpp
@@ -25,7 +25,7 @@
#include "raul/Deletable.hpp"
#include "raul/Path.hpp"
#include "raul/SharedPtr.hpp"
-#include "interface/GraphObject.hpp"
+#include "ingen/GraphObject.hpp"
#include "shared/ResourceImpl.hpp"
namespace Raul { class Maid; }
diff --git a/src/engine/HTTPClientSender.hpp b/src/engine/HTTPClientSender.hpp
index 630bdd5a..4d74358f 100644
--- a/src/engine/HTTPClientSender.hpp
+++ b/src/engine/HTTPClientSender.hpp
@@ -22,7 +22,7 @@
#include <string>
#include <pthread.h>
#include "raul/Thread.hpp"
-#include "interface/ClientInterface.hpp"
+#include "ingen/ClientInterface.hpp"
#include "shared/HTTPSender.hpp"
namespace Ingen {
diff --git a/src/engine/HTTPEngineReceiver.cpp b/src/engine/HTTPEngineReceiver.cpp
index 81481f02..b2678754 100644
--- a/src/engine/HTTPEngineReceiver.cpp
+++ b/src/engine/HTTPEngineReceiver.cpp
@@ -26,7 +26,7 @@
#include "raul/SharedPtr.hpp"
#include "raul/log.hpp"
-#include "interface/ClientInterface.hpp"
+#include "ingen/ClientInterface.hpp"
#include "module/Module.hpp"
#include "serialisation/Parser.hpp"
#include "serialisation/Serialiser.hpp"
diff --git a/src/engine/InputPort.cpp b/src/engine/InputPort.cpp
index f82b522a..f65b9a5a 100644
--- a/src/engine/InputPort.cpp
+++ b/src/engine/InputPort.cpp
@@ -18,7 +18,7 @@
#include "InputPort.hpp"
#include <cstdlib>
#include <cassert>
-#include "interface/Patch.hpp"
+#include "ingen/Patch.hpp"
#include "shared/LV2URIMap.hpp"
#include "AudioBuffer.hpp"
#include "BufferFactory.hpp"
diff --git a/src/engine/NodeImpl.hpp b/src/engine/NodeImpl.hpp
index d57861c9..4d98bb2a 100644
--- a/src/engine/NodeImpl.hpp
+++ b/src/engine/NodeImpl.hpp
@@ -23,7 +23,7 @@
#include "raul/AtomicInt.hpp"
#include "raul/IntrusivePtr.hpp"
#include "raul/Semaphore.hpp"
-#include "interface/Node.hpp"
+#include "ingen/Node.hpp"
#include "GraphObjectImpl.hpp"
#include "types.hpp"
diff --git a/src/engine/OSCClientSender.cpp b/src/engine/OSCClientSender.cpp
index 75f330b3..786f9ee9 100644
--- a/src/engine/OSCClientSender.cpp
+++ b/src/engine/OSCClientSender.cpp
@@ -29,7 +29,7 @@
#include "PatchImpl.hpp"
#include "PluginImpl.hpp"
#include "PortImpl.hpp"
-#include "interface/ClientInterface.hpp"
+#include "ingen/ClientInterface.hpp"
#include "util.hpp"
using namespace std;
diff --git a/src/engine/OSCClientSender.hpp b/src/engine/OSCClientSender.hpp
index 7df10d15..5b775846 100644
--- a/src/engine/OSCClientSender.hpp
+++ b/src/engine/OSCClientSender.hpp
@@ -22,8 +22,8 @@
#include <string>
#include <lo/lo.h>
#include <pthread.h>
-#include "interface/ClientInterface.hpp"
-#include "interface/GraphObject.hpp"
+#include "ingen/ClientInterface.hpp"
+#include "ingen/GraphObject.hpp"
#include "shared/OSCSender.hpp"
namespace Ingen {
diff --git a/src/engine/OSCEngineReceiver.cpp b/src/engine/OSCEngineReceiver.cpp
index 50dcb78f..60cf483e 100644
--- a/src/engine/OSCEngineReceiver.cpp
+++ b/src/engine/OSCEngineReceiver.cpp
@@ -17,19 +17,25 @@
//#define ENABLE_AVAHI 1
-#include <cstdlib>
+#include <stdlib.h>
+#include <stdio.h>
+
#include <string>
+
#include <lo/lo.h>
-#include "ingen-config.h"
-#include "raul/log.hpp"
+
#include "raul/AtomLiblo.hpp"
#include "raul/SharedPtr.hpp"
-#include "interface/ClientInterface.hpp"
+#include "raul/log.hpp"
+
+#include "ingen-config.h"
+#include "ingen/ClientInterface.hpp"
+
#include "ClientBroadcaster.hpp"
#include "Engine.hpp"
+#include "EventSource.hpp"
#include "OSCClientSender.hpp"
#include "OSCEngineReceiver.hpp"
-#include "EventSource.hpp"
#include "ThreadManager.hpp"
#define LOG(s) s << "[OSCEngineReceiver] "
diff --git a/src/engine/ObjectBuffer.hpp b/src/engine/ObjectBuffer.hpp
index 9854e025..7066c025 100644
--- a/src/engine/ObjectBuffer.hpp
+++ b/src/engine/ObjectBuffer.hpp
@@ -19,7 +19,7 @@
#define INGEN_ENGINE_OBJECTBUFFER_HPP
#include "lv2/lv2plug.in/ns/ext/atom/atom.h"
-#include "interface/PortType.hpp"
+#include "ingen/PortType.hpp"
#include "Buffer.hpp"
namespace Ingen {
diff --git a/src/engine/ObjectSender.cpp b/src/engine/ObjectSender.cpp
index b962da2e..ee977fdc 100644
--- a/src/engine/ObjectSender.cpp
+++ b/src/engine/ObjectSender.cpp
@@ -16,7 +16,7 @@
*/
#include "ObjectSender.hpp"
-#include "interface/ClientInterface.hpp"
+#include "ingen/ClientInterface.hpp"
#include "shared/LV2URIMap.hpp"
#include "EngineStore.hpp"
#include "PatchImpl.hpp"
@@ -24,7 +24,7 @@
#include "PortImpl.hpp"
#include "ConnectionImpl.hpp"
#include "NodeFactory.hpp"
-#include "interface/PortType.hpp"
+#include "ingen/PortType.hpp"
#include "AudioBuffer.hpp"
using namespace std;
diff --git a/src/engine/OutputPort.cpp b/src/engine/OutputPort.cpp
index a4e997a5..d647fbdd 100644
--- a/src/engine/OutputPort.cpp
+++ b/src/engine/OutputPort.cpp
@@ -15,7 +15,7 @@
* 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#include "interface/Patch.hpp"
+#include "ingen/Patch.hpp"
#include "shared/LV2URIMap.hpp"
#include "Buffer.hpp"
#include "NodeImpl.hpp"
diff --git a/src/engine/PatchImpl.hpp b/src/engine/PatchImpl.hpp
index 77f2cb43..1ecb5bae 100644
--- a/src/engine/PatchImpl.hpp
+++ b/src/engine/PatchImpl.hpp
@@ -21,8 +21,8 @@
#include <cstdlib>
#include <string>
#include "raul/List.hpp"
-#include "interface/PortType.hpp"
-#include "interface/Patch.hpp"
+#include "ingen/PortType.hpp"
+#include "ingen/Patch.hpp"
#include "NodeImpl.hpp"
#include "PluginImpl.hpp"
#include "CompiledPatch.hpp"
diff --git a/src/engine/PluginImpl.hpp b/src/engine/PluginImpl.hpp
index bf6be506..fca6320e 100644
--- a/src/engine/PluginImpl.hpp
+++ b/src/engine/PluginImpl.hpp
@@ -24,7 +24,7 @@
#include <boost/utility.hpp>
#include <glibmm/module.h>
-#include "interface/Plugin.hpp"
+#include "ingen/Plugin.hpp"
#include "shared/ResourceImpl.hpp"
namespace Ingen {
diff --git a/src/engine/PortImpl.cpp b/src/engine/PortImpl.cpp
index 29ac4b31..a2bb594b 100644
--- a/src/engine/PortImpl.cpp
+++ b/src/engine/PortImpl.cpp
@@ -19,7 +19,7 @@
#include "raul/Maid.hpp"
#include "shared/LV2URIMap.hpp"
#include "lv2/lv2plug.in/ns/ext/contexts/contexts.h"
-#include "interface/PortType.hpp"
+#include "ingen/PortType.hpp"
#include "events/SendPortValue.hpp"
#include "events/SendPortActivity.hpp"
#include "AudioBuffer.hpp"
diff --git a/src/engine/PortImpl.hpp b/src/engine/PortImpl.hpp
index c9b74ca4..58fd6ea5 100644
--- a/src/engine/PortImpl.hpp
+++ b/src/engine/PortImpl.hpp
@@ -23,10 +23,10 @@
#include <set>
#include "raul/Array.hpp"
#include "raul/Atom.hpp"
-#include "interface/Port.hpp"
+#include "ingen/Port.hpp"
#include "types.hpp"
#include "GraphObjectImpl.hpp"
-#include "interface/PortType.hpp"
+#include "ingen/PortType.hpp"
#include "Buffer.hpp"
#include "Context.hpp"
diff --git a/src/engine/QueuedEngineInterface.hpp b/src/engine/QueuedEngineInterface.hpp
index 2c1e94b9..6cdb618d 100644
--- a/src/engine/QueuedEngineInterface.hpp
+++ b/src/engine/QueuedEngineInterface.hpp
@@ -22,9 +22,9 @@
#include <string>
#include <memory>
#include "raul/SharedPtr.hpp"
-#include "interface/ClientInterface.hpp"
-#include "interface/EngineInterface.hpp"
-#include "interface/Resource.hpp"
+#include "ingen/ClientInterface.hpp"
+#include "ingen/EngineInterface.hpp"
+#include "ingen/Resource.hpp"
#include "EventSource.hpp"
#include "Request.hpp"
#include "tuning.hpp"
diff --git a/src/engine/Request.hpp b/src/engine/Request.hpp
index 9f68d7f9..17930554 100644
--- a/src/engine/Request.hpp
+++ b/src/engine/Request.hpp
@@ -20,7 +20,7 @@
#include <inttypes.h>
#include <string>
-#include "interface/ClientInterface.hpp"
+#include "ingen/ClientInterface.hpp"
#include "EventSource.hpp"
namespace Ingen {
diff --git a/src/engine/events/CreateNode.hpp b/src/engine/events/CreateNode.hpp
index 456bcc04..1e341c1a 100644
--- a/src/engine/events/CreateNode.hpp
+++ b/src/engine/events/CreateNode.hpp
@@ -20,7 +20,7 @@
#include <string>
#include "QueuedEvent.hpp"
-#include "interface/Resource.hpp"
+#include "ingen/Resource.hpp"
namespace Ingen {
diff --git a/src/engine/events/CreatePatch.hpp b/src/engine/events/CreatePatch.hpp
index d10bb605..84c0c0aa 100644
--- a/src/engine/events/CreatePatch.hpp
+++ b/src/engine/events/CreatePatch.hpp
@@ -19,7 +19,7 @@
#define INGEN_EVENTS_CREATEPATCH_HPP
#include "QueuedEvent.hpp"
-#include "interface/Resource.hpp"
+#include "ingen/Resource.hpp"
namespace Ingen {
diff --git a/src/engine/events/CreatePort.hpp b/src/engine/events/CreatePort.hpp
index 9fd56530..1bee8be6 100644
--- a/src/engine/events/CreatePort.hpp
+++ b/src/engine/events/CreatePort.hpp
@@ -21,8 +21,8 @@
#include "QueuedEvent.hpp"
#include "raul/Path.hpp"
#include "raul/Array.hpp"
-#include "interface/PortType.hpp"
-#include "interface/Resource.hpp"
+#include "ingen/PortType.hpp"
+#include "ingen/Resource.hpp"
namespace Ingen {
diff --git a/src/engine/events/Get.cpp b/src/engine/events/Get.cpp
index 93b81b24..17c4699d 100644
--- a/src/engine/events/Get.cpp
+++ b/src/engine/events/Get.cpp
@@ -16,7 +16,7 @@
*/
#include "Get.hpp"
-#include "interface/ClientInterface.hpp"
+#include "ingen/ClientInterface.hpp"
#include "Request.hpp"
#include "Engine.hpp"
#include "EngineStore.hpp"
diff --git a/src/engine/events/RegisterClient.hpp b/src/engine/events/RegisterClient.hpp
index 1dbd3b06..2703484c 100644
--- a/src/engine/events/RegisterClient.hpp
+++ b/src/engine/events/RegisterClient.hpp
@@ -19,7 +19,7 @@
#define INGEN_EVENTS_REGISTERCLIENT_HPP
#include "raul/URI.hpp"
-#include "interface/ClientInterface.hpp"
+#include "ingen/ClientInterface.hpp"
#include "QueuedEvent.hpp"
namespace Ingen {
diff --git a/src/engine/events/RequestMetadata.cpp b/src/engine/events/RequestMetadata.cpp
index e16bf57a..b8adc34e 100644
--- a/src/engine/events/RequestMetadata.cpp
+++ b/src/engine/events/RequestMetadata.cpp
@@ -16,7 +16,7 @@
*/
#include "raul/IntrusivePtr.hpp"
-#include "interface/ClientInterface.hpp"
+#include "ingen/ClientInterface.hpp"
#include "events/RequestMetadata.hpp"
#include "shared/LV2Atom.hpp"
#include "shared/LV2URIMap.hpp"
diff --git a/src/engine/events/SetMetadata.cpp b/src/engine/events/SetMetadata.cpp
index ef192b96..afd4a226 100644
--- a/src/engine/events/SetMetadata.cpp
+++ b/src/engine/events/SetMetadata.cpp
@@ -19,7 +19,7 @@
#include <boost/format.hpp>
#include "raul/log.hpp"
#include "raul/Maid.hpp"
-#include "interface/PortType.hpp"
+#include "ingen/PortType.hpp"
#include "shared/LV2URIMap.hpp"
#include "ClientBroadcaster.hpp"
#include "ControlBindings.hpp"
diff --git a/src/engine/events/UnregisterClient.cpp b/src/engine/events/UnregisterClient.cpp
index ed5fe5e5..6f0b6357 100644
--- a/src/engine/events/UnregisterClient.cpp
+++ b/src/engine/events/UnregisterClient.cpp
@@ -15,7 +15,7 @@
* 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#include "interface/ClientInterface.hpp"
+#include "ingen/ClientInterface.hpp"
#include "Request.hpp"
#include "UnregisterClient.hpp"
#include "Engine.hpp"
diff --git a/src/engine/ingen_lv2.cpp b/src/engine/ingen_lv2.cpp
index 8b9fd90d..b259de11 100644
--- a/src/engine/ingen_lv2.cpp
+++ b/src/engine/ingen_lv2.cpp
@@ -39,7 +39,7 @@
#include "engine/ProcessContext.hpp"
#include "engine/QueuedEngineInterface.hpp"
#include "engine/ThreadManager.hpp"
-#include "interface/EngineInterface.hpp"
+#include "ingen/EngineInterface.hpp"
#include "module/World.hpp"
#include "module/ingen_module.hpp"
#include "serialisation/Parser.hpp"
diff --git a/src/engine/mix.hpp b/src/engine/mix.hpp
index a6c8fbab..072c7d3c 100644
--- a/src/engine/mix.hpp
+++ b/src/engine/mix.hpp
@@ -19,7 +19,7 @@
#define INGEN_ENGINE_MIX_HPP
#include "raul/log.hpp"
-#include "interface/PortType.hpp"
+#include "ingen/PortType.hpp"
#include "Buffer.hpp"
#include "Context.hpp"
diff --git a/src/engine/wscript b/src/engine/wscript
index 47a55079..61be8c01 100644
--- a/src/engine/wscript
+++ b/src/engine/wscript
@@ -65,7 +65,7 @@ def build(bld):
obj = bld(features = 'cxx cxxshlib')
obj.source = core_source
obj.export_includes = ['.']
- obj.includes = ['.', '..', '../..', '../common']
+ obj.includes = ['.', '..', '../..', '../../include']
obj.name = 'libingen_engine'
obj.target = 'ingen_engine'
obj.install_path = '${LIBDIR}'
@@ -82,7 +82,7 @@ def build(bld):
HTTPEngineReceiver.cpp
ingen_http.cpp
'''
- obj.includes = ['.', '..', '../..', '../common', '../engine']
+ obj.includes = ['.', '..', '../..', '../../include', '../engine']
obj.name = 'libingen_http'
obj.target = 'ingen_http'
obj.install_path = '${LIBDIR}'
@@ -98,7 +98,7 @@ def build(bld):
ingen_osc.cpp
'''
obj.export_includes = ['.']
- obj.includes = ['.', '..', '../..', '../common', '../engine']
+ obj.includes = ['.', '..', '../..', '../../include', '../engine']
obj.name = 'libingen_osc'
obj.target = 'ingen_osc'
obj.install_path = '${LIBDIR}'
@@ -108,7 +108,7 @@ def build(bld):
obj = bld(features = 'cxx cxxshlib')
obj.source = 'JackDriver.cpp ingen_jack.cpp'
obj.export_includes = ['.']
- obj.includes = ['.', '..', '../..', '../common', '../engine']
+ obj.includes = ['.', '..', '../..', '../../include', '../engine']
obj.name = 'libingen_jack'
obj.target = 'ingen_jack'
obj.install_path = '${LIBDIR}'
@@ -119,7 +119,7 @@ def build(bld):
obj = bld(features = 'cxx cxxshlib')
obj.source = ' ingen_lv2.cpp '
obj.export_includes = ['.']
- obj.includes = ['.', '..', '../..', '../common']
+ obj.includes = ['.', '..', '../..', '../../include']
obj.name = 'libingen_lv2'
obj.target = 'ingen_lv2'
obj.install_path = '${LIBDIR}'
diff --git a/src/gui/App.cpp b/src/gui/App.cpp
index 28e72a5f..cd14d037 100644
--- a/src/gui/App.cpp
+++ b/src/gui/App.cpp
@@ -29,7 +29,7 @@
#include "flowcanvas/Connection.hpp"
#include "module/World.hpp"
#include "engine/Engine.hpp"
-#include "interface/EngineInterface.hpp"
+#include "ingen/EngineInterface.hpp"
#include "shared/runtime_paths.hpp"
#include "shared/LV2URIMap.hpp"
#include "client/ObjectModel.hpp"
diff --git a/src/gui/ConnectWindow.cpp b/src/gui/ConnectWindow.cpp
index 9e1a33b4..dc24498e 100644
--- a/src/gui/ConnectWindow.cpp
+++ b/src/gui/ConnectWindow.cpp
@@ -24,7 +24,7 @@
#include "raul/log.hpp"
#include "raul/Process.hpp"
#include "ingen-config.h"
-#include "interface/EngineInterface.hpp"
+#include "ingen/EngineInterface.hpp"
#include "module/Module.hpp"
#include "module/World.hpp"
#include "engine/tuning.hpp"
diff --git a/src/gui/ControlPanel.cpp b/src/gui/ControlPanel.cpp
index 9434ba0e..236cb92a 100644
--- a/src/gui/ControlPanel.cpp
+++ b/src/gui/ControlPanel.cpp
@@ -15,8 +15,8 @@
* 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#include "interface/EngineInterface.hpp"
-#include "interface/PortType.hpp"
+#include "ingen/EngineInterface.hpp"
+#include "ingen/PortType.hpp"
#include "shared/LV2URIMap.hpp"
#include "client/NodeModel.hpp"
#include "client/PortModel.hpp"
diff --git a/src/gui/Controls.cpp b/src/gui/Controls.cpp
index 1a443ec7..ed16350e 100644
--- a/src/gui/Controls.cpp
+++ b/src/gui/Controls.cpp
@@ -18,7 +18,7 @@
#include <cmath>
#include <algorithm>
#include "raul/log.hpp"
-#include "interface/EngineInterface.hpp"
+#include "ingen/EngineInterface.hpp"
#include "shared/LV2URIMap.hpp"
#include "client/PluginModel.hpp"
#include "client/NodeModel.hpp"
diff --git a/src/gui/LoadPatchWindow.cpp b/src/gui/LoadPatchWindow.cpp
index 81066a8c..c4229f61 100644
--- a/src/gui/LoadPatchWindow.cpp
+++ b/src/gui/LoadPatchWindow.cpp
@@ -20,7 +20,7 @@
#include <cassert>
#include <boost/optional.hpp>
#include <glibmm/miscutils.h>
-#include "interface/EngineInterface.hpp"
+#include "ingen/EngineInterface.hpp"
#include "shared/LV2URIMap.hpp"
#include "client/NodeModel.hpp"
#include "client/PatchModel.hpp"
diff --git a/src/gui/LoadPatchWindow.hpp b/src/gui/LoadPatchWindow.hpp
index 73f0d686..51a21332 100644
--- a/src/gui/LoadPatchWindow.hpp
+++ b/src/gui/LoadPatchWindow.hpp
@@ -21,7 +21,7 @@
#include <libglademm/xml.h>
#include <gtkmm.h>
#include "raul/SharedPtr.hpp"
-#include "interface/GraphObject.hpp"
+#include "ingen/GraphObject.hpp"
using namespace Ingen::Shared;
namespace Ingen {
diff --git a/src/gui/LoadPluginWindow.cpp b/src/gui/LoadPluginWindow.cpp
index 3952397a..080520c4 100644
--- a/src/gui/LoadPluginWindow.cpp
+++ b/src/gui/LoadPluginWindow.cpp
@@ -19,7 +19,7 @@
#include <algorithm>
#include <ctype.h>
#include "ingen-config.h"
-#include "interface/EngineInterface.hpp"
+#include "ingen/EngineInterface.hpp"
#include "shared/LV2URIMap.hpp"
#include "client/PatchModel.hpp"
#include "client/ClientStore.hpp"
diff --git a/src/gui/LoadPluginWindow.hpp b/src/gui/LoadPluginWindow.hpp
index 6d97ea91..f04ed903 100644
--- a/src/gui/LoadPluginWindow.hpp
+++ b/src/gui/LoadPluginWindow.hpp
@@ -25,7 +25,7 @@
#include "raul/SharedPtr.hpp"
#include "raul/Table.hpp"
#include "ingen-config.h"
-#include "interface/GraphObject.hpp"
+#include "ingen/GraphObject.hpp"
#include "client/ClientStore.hpp"
#include "Window.hpp"
diff --git a/src/gui/LoadRemotePatchWindow.cpp b/src/gui/LoadRemotePatchWindow.cpp
index f48bd0bc..d3b0f456 100644
--- a/src/gui/LoadRemotePatchWindow.cpp
+++ b/src/gui/LoadRemotePatchWindow.cpp
@@ -19,7 +19,7 @@
#include <dirent.h>
#include <boost/optional/optional.hpp>
#include "client/PatchModel.hpp"
-#include "interface/EngineInterface.hpp"
+#include "ingen/EngineInterface.hpp"
#include "module/World.hpp"
#include "App.hpp"
#include "Configuration.hpp"
diff --git a/src/gui/LoadRemotePatchWindow.hpp b/src/gui/LoadRemotePatchWindow.hpp
index 9c549588..32ff32b6 100644
--- a/src/gui/LoadRemotePatchWindow.hpp
+++ b/src/gui/LoadRemotePatchWindow.hpp
@@ -21,7 +21,7 @@
#include <libglademm/xml.h>
#include <gtkmm.h>
#include "raul/SharedPtr.hpp"
-#include "interface/GraphObject.hpp"
+#include "ingen/GraphObject.hpp"
#include "Window.hpp"
using namespace Ingen::Shared;
diff --git a/src/gui/NewSubpatchWindow.cpp b/src/gui/NewSubpatchWindow.cpp
index 13ea0c47..b91bf306 100644
--- a/src/gui/NewSubpatchWindow.cpp
+++ b/src/gui/NewSubpatchWindow.cpp
@@ -16,7 +16,7 @@
*/
#include "App.hpp"
-#include "interface/EngineInterface.hpp"
+#include "ingen/EngineInterface.hpp"
#include "shared/LV2URIMap.hpp"
#include "client/PatchModel.hpp"
#include "client/ClientStore.hpp"
diff --git a/src/gui/NewSubpatchWindow.hpp b/src/gui/NewSubpatchWindow.hpp
index e7f31313..2375d5d9 100644
--- a/src/gui/NewSubpatchWindow.hpp
+++ b/src/gui/NewSubpatchWindow.hpp
@@ -21,7 +21,7 @@
#include <libglademm/xml.h>
#include <gtkmm.h>
#include "raul/SharedPtr.hpp"
-#include "interface/GraphObject.hpp"
+#include "ingen/GraphObject.hpp"
#include "Window.hpp"
namespace Ingen {
diff --git a/src/gui/NodeControlWindow.cpp b/src/gui/NodeControlWindow.cpp
index 548f69c1..64c8371a 100644
--- a/src/gui/NodeControlWindow.cpp
+++ b/src/gui/NodeControlWindow.cpp
@@ -16,7 +16,7 @@
*/
#include <cmath>
-#include "interface/EngineInterface.hpp"
+#include "ingen/EngineInterface.hpp"
#include "shared/LV2URIMap.hpp"
#include "client/NodeModel.hpp"
#include "App.hpp"
diff --git a/src/gui/NodeMenu.cpp b/src/gui/NodeMenu.cpp
index 806282fb..3eb361e3 100644
--- a/src/gui/NodeMenu.cpp
+++ b/src/gui/NodeMenu.cpp
@@ -17,7 +17,7 @@
#include <gtkmm.h>
#include "ingen-config.h"
-#include "interface/EngineInterface.hpp"
+#include "ingen/EngineInterface.hpp"
#include "shared/LV2URIMap.hpp"
#include "client/NodeModel.hpp"
#include "client/PluginModel.hpp"
diff --git a/src/gui/NodeModule.cpp b/src/gui/NodeModule.cpp
index d7523083..f85ad2f4 100644
--- a/src/gui/NodeModule.cpp
+++ b/src/gui/NodeModule.cpp
@@ -19,7 +19,7 @@
#include "ingen-config.h"
#include "raul/log.hpp"
#include "raul/Atom.hpp"
-#include "interface/EngineInterface.hpp"
+#include "ingen/EngineInterface.hpp"
#include "shared/LV2URIMap.hpp"
#include "client/PatchModel.hpp"
#include "client/NodeModel.hpp"
diff --git a/src/gui/ObjectMenu.cpp b/src/gui/ObjectMenu.cpp
index b0c20af9..e821e846 100644
--- a/src/gui/ObjectMenu.cpp
+++ b/src/gui/ObjectMenu.cpp
@@ -17,7 +17,7 @@
#include <utility>
#include <gtkmm.h>
-#include "interface/EngineInterface.hpp"
+#include "ingen/EngineInterface.hpp"
#include "shared/LV2URIMap.hpp"
#include "client/ObjectModel.hpp"
#include "App.hpp"
diff --git a/src/gui/PatchCanvas.cpp b/src/gui/PatchCanvas.cpp
index d3d8c5c4..ce5de9d5 100644
--- a/src/gui/PatchCanvas.cpp
+++ b/src/gui/PatchCanvas.cpp
@@ -22,7 +22,7 @@
#include "raul/log.hpp"
#include "flowcanvas/Canvas.hpp"
#include "flowcanvas/Ellipse.hpp"
-#include "interface/EngineInterface.hpp"
+#include "ingen/EngineInterface.hpp"
#include "shared/LV2URIMap.hpp"
#include "shared/Builder.hpp"
#include "shared/ClashAvoider.hpp"
diff --git a/src/gui/PatchCanvas.hpp b/src/gui/PatchCanvas.hpp
index 702f90bb..b0e8491d 100644
--- a/src/gui/PatchCanvas.hpp
+++ b/src/gui/PatchCanvas.hpp
@@ -28,7 +28,7 @@
#include "raul/SharedPtr.hpp"
#include "raul/Path.hpp"
#include "client/ConnectionModel.hpp"
-#include "interface/GraphObject.hpp"
+#include "ingen/GraphObject.hpp"
#include "NodeModule.hpp"
using namespace FlowCanvas;
diff --git a/src/gui/PatchPortModule.cpp b/src/gui/PatchPortModule.cpp
index b8e74a8f..ba243b75 100644
--- a/src/gui/PatchPortModule.cpp
+++ b/src/gui/PatchPortModule.cpp
@@ -18,7 +18,7 @@
#include <cassert>
#include <utility>
#include "PatchPortModule.hpp"
-#include "interface/EngineInterface.hpp"
+#include "ingen/EngineInterface.hpp"
#include "shared/LV2URIMap.hpp"
#include "client/PatchModel.hpp"
#include "client/NodeModel.hpp"
diff --git a/src/gui/PatchTreeWindow.cpp b/src/gui/PatchTreeWindow.cpp
index 3111f54c..b1462459 100644
--- a/src/gui/PatchTreeWindow.cpp
+++ b/src/gui/PatchTreeWindow.cpp
@@ -17,7 +17,7 @@
#include "raul/log.hpp"
#include "raul/Path.hpp"
-#include "interface/EngineInterface.hpp"
+#include "ingen/EngineInterface.hpp"
#include "shared/LV2URIMap.hpp"
#include "client/ClientStore.hpp"
#include "client/PatchModel.hpp"
diff --git a/src/gui/PatchView.cpp b/src/gui/PatchView.cpp
index 1313f65e..5fd643a2 100644
--- a/src/gui/PatchView.cpp
+++ b/src/gui/PatchView.cpp
@@ -18,7 +18,7 @@
#include <cassert>
#include <fstream>
#include "raul/log.hpp"
-#include "interface/EngineInterface.hpp"
+#include "ingen/EngineInterface.hpp"
#include "shared/LV2URIMap.hpp"
#include "client/PatchModel.hpp"
#include "App.hpp"
diff --git a/src/gui/PatchWindow.cpp b/src/gui/PatchWindow.cpp
index c64d72b9..ca045f2f 100644
--- a/src/gui/PatchWindow.cpp
+++ b/src/gui/PatchWindow.cpp
@@ -22,7 +22,7 @@
#include <glib/gstdio.h>
#include <glibmm/fileutils.h>
#include "raul/AtomRDF.hpp"
-#include "interface/EngineInterface.hpp"
+#include "ingen/EngineInterface.hpp"
#include "shared/LV2URIMap.hpp"
#include "client/PatchModel.hpp"
#include "client/ClientStore.hpp"
diff --git a/src/gui/Port.cpp b/src/gui/Port.cpp
index 949e459d..14769ee0 100644
--- a/src/gui/Port.cpp
+++ b/src/gui/Port.cpp
@@ -18,7 +18,7 @@
#include <cassert>
#include "raul/log.hpp"
#include "flowcanvas/Module.hpp"
-#include "interface/EngineInterface.hpp"
+#include "ingen/EngineInterface.hpp"
#include "shared/LV2URIMap.hpp"
#include "client/PatchModel.hpp"
#include "client/PortModel.hpp"
diff --git a/src/gui/PortMenu.cpp b/src/gui/PortMenu.cpp
index 068d8ccc..6b0591dc 100644
--- a/src/gui/PortMenu.cpp
+++ b/src/gui/PortMenu.cpp
@@ -18,7 +18,7 @@
#include <math.h>
#include <gtkmm.h>
#include "raul/SharedPtr.hpp"
-#include "interface/EngineInterface.hpp"
+#include "ingen/EngineInterface.hpp"
#include "shared/LV2URIMap.hpp"
#include "client/PatchModel.hpp"
#include "client/PortModel.hpp"
diff --git a/src/gui/PortPropertiesWindow.cpp b/src/gui/PortPropertiesWindow.cpp
index 5cfe33ef..3805dad1 100644
--- a/src/gui/PortPropertiesWindow.cpp
+++ b/src/gui/PortPropertiesWindow.cpp
@@ -17,7 +17,7 @@
#include <cassert>
#include <string>
-#include "interface/EngineInterface.hpp"
+#include "ingen/EngineInterface.hpp"
#include "shared/LV2URIMap.hpp"
#include "client/NodeModel.hpp"
#include "client/PluginModel.hpp"
diff --git a/src/gui/RenameWindow.cpp b/src/gui/RenameWindow.cpp
index bafa23b6..e9a92dfa 100644
--- a/src/gui/RenameWindow.cpp
+++ b/src/gui/RenameWindow.cpp
@@ -17,7 +17,7 @@
#include <cassert>
#include <string>
-#include "interface/EngineInterface.hpp"
+#include "ingen/EngineInterface.hpp"
#include "shared/LV2URIMap.hpp"
#include "client/ObjectModel.hpp"
#include "client/ClientStore.hpp"
diff --git a/src/gui/SubpatchModule.cpp b/src/gui/SubpatchModule.cpp
index 957496ca..695f7459 100644
--- a/src/gui/SubpatchModule.cpp
+++ b/src/gui/SubpatchModule.cpp
@@ -17,7 +17,7 @@
#include "SubpatchModule.hpp"
#include <cassert>
-#include "interface/EngineInterface.hpp"
+#include "ingen/EngineInterface.hpp"
#include "client/PatchModel.hpp"
#include "App.hpp"
#include "NodeModule.hpp"
diff --git a/src/gui/ThreadedLoader.hpp b/src/gui/ThreadedLoader.hpp
index 96c64af3..2e49b4d4 100644
--- a/src/gui/ThreadedLoader.hpp
+++ b/src/gui/ThreadedLoader.hpp
@@ -25,7 +25,7 @@
#include "raul/Thread.hpp"
#include "raul/Slave.hpp"
#include <glibmm/thread.h>
-#include "interface/EngineInterface.hpp"
+#include "ingen/EngineInterface.hpp"
#include "serialisation/Serialiser.hpp"
#include "serialisation/Parser.hpp"
using std::string;
diff --git a/src/gui/UploadPatchWindow.cpp b/src/gui/UploadPatchWindow.cpp
index d2982bc3..bce639b9 100644
--- a/src/gui/UploadPatchWindow.cpp
+++ b/src/gui/UploadPatchWindow.cpp
@@ -24,7 +24,7 @@
#include "module/World.hpp"
#include "shared/LV2URIMap.hpp"
#include "client/ClientStore.hpp"
-#include "interface/EngineInterface.hpp"
+#include "ingen/EngineInterface.hpp"
#include "serialisation/Serialiser.hpp"
#include "serialisation/names.hpp"
#include "client/PatchModel.hpp"
diff --git a/src/gui/WindowFactory.hpp b/src/gui/WindowFactory.hpp
index a00ffc1e..e8eb7837 100644
--- a/src/gui/WindowFactory.hpp
+++ b/src/gui/WindowFactory.hpp
@@ -21,7 +21,7 @@
#include <map>
#include <gtkmm.h>
#include "raul/SharedPtr.hpp"
-#include "interface/GraphObject.hpp"
+#include "ingen/GraphObject.hpp"
using namespace Ingen::Shared;
diff --git a/src/gui/wscript b/src/gui/wscript
index 81965960..49d19fa1 100644
--- a/src/gui/wscript
+++ b/src/gui/wscript
@@ -46,7 +46,7 @@ def build(bld):
obj.source += 'UploadPatchWindow.cpp'
obj.export_includes = ['.']
- obj.includes = ['.', '..', '../..', '../common', '../client', '../module']
+ obj.includes = ['.', '..', '../..', '../../include', '../client', '../module']
obj.name = 'libingen_gui'
obj.target = 'ingen_gui'
obj.install_path = '${LIBDIR}'
diff --git a/src/ingen/main.cpp b/src/ingen/main.cpp
index 0f4339fd..3a27b46b 100644
--- a/src/ingen/main.cpp
+++ b/src/ingen/main.cpp
@@ -38,7 +38,7 @@
#include "ingen-config.h"
#include "engine/Engine.hpp"
-#include "interface/EngineInterface.hpp"
+#include "ingen/EngineInterface.hpp"
#include "module/World.hpp"
#include "module/ingen_module.hpp"
#include "serialisation/Parser.hpp"
diff --git a/src/ingen/wscript b/src/ingen/wscript
index 56b1b3dd..53ccef7b 100644
--- a/src/ingen/wscript
+++ b/src/ingen/wscript
@@ -5,7 +5,7 @@ def build(bld):
obj = bld(features = 'c cxx cxxprogram')
obj.target = 'ingen'
obj.source = 'main.cpp'
- obj.includes = ['..', '../..', '../common']
+ obj.includes = ['..', '../..', '../../include']
obj.defines = 'VERSION="' + bld.env['INGEN_VERSION'] + '"'
obj.use = 'libingen_module libingen_shared'
obj.install_path = '${BINDIR}'
diff --git a/src/module/wscript b/src/module/wscript
index 20ef57ef..c15f17b7 100644
--- a/src/module/wscript
+++ b/src/module/wscript
@@ -11,7 +11,7 @@ def build(bld):
ingen_module.cpp
'''
obj.export_includes = ['.']
- obj.includes = ['.', '..', '../..', '../common']
+ obj.includes = ['.', '..', '../..', '../../include']
obj.name = 'libingen_module'
obj.target = 'ingen_module'
obj.vnum = '0.0.0'
diff --git a/src/serialisation/Parser.cpp b/src/serialisation/Parser.cpp
index 4d561721..0429b116 100644
--- a/src/serialisation/Parser.cpp
+++ b/src/serialisation/Parser.cpp
@@ -34,7 +34,7 @@
#include "serd/serd.h"
#include "sord/sordmm.hpp"
-#include "interface/EngineInterface.hpp"
+#include "ingen/EngineInterface.hpp"
#include "module/World.hpp"
#include "shared/LV2URIMap.hpp"
diff --git a/src/serialisation/Parser.hpp b/src/serialisation/Parser.hpp
index 948a2e74..7533a442 100644
--- a/src/serialisation/Parser.hpp
+++ b/src/serialisation/Parser.hpp
@@ -25,9 +25,10 @@
#include <boost/optional.hpp>
-#include "interface/GraphObject.hpp"
+#include "raul/Path.hpp"
+
+#include "ingen/GraphObject.hpp"
-namespace Raul { class Path; }
namespace Sord { class World; class Model; class Node; }
namespace Ingen { namespace Shared { class CommonInterface; } }
diff --git a/src/serialisation/Serialiser.cpp b/src/serialisation/Serialiser.cpp
index 7da2048c..0c8cc93c 100644
--- a/src/serialisation/Serialiser.cpp
+++ b/src/serialisation/Serialiser.cpp
@@ -42,12 +42,12 @@
#include "sord/sordmm.hpp"
-#include "interface/Connection.hpp"
-#include "interface/EngineInterface.hpp"
-#include "interface/Node.hpp"
-#include "interface/Patch.hpp"
-#include "interface/Plugin.hpp"
-#include "interface/Port.hpp"
+#include "ingen/Connection.hpp"
+#include "ingen/EngineInterface.hpp"
+#include "ingen/Node.hpp"
+#include "ingen/Patch.hpp"
+#include "ingen/Plugin.hpp"
+#include "ingen/Port.hpp"
#include "module/World.hpp"
#include "shared/LV2URIMap.hpp"
#include "shared/ResourceImpl.hpp"
diff --git a/src/serialisation/Serialiser.hpp b/src/serialisation/Serialiser.hpp
index 596cb1c5..01a6109c 100644
--- a/src/serialisation/Serialiser.hpp
+++ b/src/serialisation/Serialiser.hpp
@@ -29,7 +29,7 @@
#include "sord/sordmm.hpp"
-#include "interface/GraphObject.hpp"
+#include "ingen/GraphObject.hpp"
#include "shared/Store.hpp"
namespace Ingen {
diff --git a/src/serialisation/serialisation.cpp b/src/serialisation/serialisation.cpp
index c6141d7d..a8cf75bd 100644
--- a/src/serialisation/serialisation.cpp
+++ b/src/serialisation/serialisation.cpp
@@ -17,6 +17,7 @@
#include "module/Module.hpp"
#include "module/World.hpp"
+
#include "Parser.hpp"
#include "Serialiser.hpp"
diff --git a/src/serialisation/wscript b/src/serialisation/wscript
index 54ec7228..3c72871d 100644
--- a/src/serialisation/wscript
+++ b/src/serialisation/wscript
@@ -12,7 +12,7 @@ def build(bld):
serialisation.cpp
'''
obj.export_includes = ['.']
- obj.includes = ['.', '..', '../..', '../common']
+ obj.includes = ['.', '..', '../..', '../../include']
obj.name = 'libingen_serialisation'
obj.target = 'ingen_serialisation'
obj.install_path = '${LIBDIR}'
diff --git a/src/shared/Builder.cpp b/src/shared/Builder.cpp
index 98ce3879..369be71b 100644
--- a/src/shared/Builder.cpp
+++ b/src/shared/Builder.cpp
@@ -16,12 +16,12 @@
*/
#include "raul/Atom.hpp"
-#include "common/interface/CommonInterface.hpp"
-#include "common/interface/Patch.hpp"
-#include "common/interface/Node.hpp"
-#include "common/interface/Port.hpp"
-#include "common/interface/Connection.hpp"
-#include "common/interface/Plugin.hpp"
+#include "ingen/CommonInterface.hpp"
+#include "ingen/Patch.hpp"
+#include "ingen/Node.hpp"
+#include "ingen/Port.hpp"
+#include "ingen/Connection.hpp"
+#include "ingen/Plugin.hpp"
#include "shared/LV2URIMap.hpp"
#include "Builder.hpp"
diff --git a/src/shared/ClashAvoider.hpp b/src/shared/ClashAvoider.hpp
index 6c43bd72..dd5987ca 100644
--- a/src/shared/ClashAvoider.hpp
+++ b/src/shared/ClashAvoider.hpp
@@ -21,7 +21,7 @@
#include <inttypes.h>
#include <string>
#include <map>
-#include "interface/CommonInterface.hpp"
+#include "ingen/CommonInterface.hpp"
namespace Raul { class Atom; class Path; }
diff --git a/src/shared/ResourceImpl.hpp b/src/shared/ResourceImpl.hpp
index 6ce6cd26..75b58d21 100644
--- a/src/shared/ResourceImpl.hpp
+++ b/src/shared/ResourceImpl.hpp
@@ -21,8 +21,8 @@
#include <map>
#include "raul/URI.hpp"
#include "raul/SharedPtr.hpp"
-#include "interface/Resource.hpp"
-#include "interface/PortType.hpp"
+#include "ingen/Resource.hpp"
+#include "ingen/PortType.hpp"
namespace Ingen {
namespace Shared {
diff --git a/src/shared/Store.cpp b/src/shared/Store.cpp
index 4edaa001..fc366376 100644
--- a/src/shared/Store.cpp
+++ b/src/shared/Store.cpp
@@ -19,8 +19,8 @@
#include "raul/log.hpp"
#include "raul/PathTable.hpp"
#include "raul/TableImpl.hpp"
-#include "common/interface/Node.hpp"
-#include "common/interface/Port.hpp"
+#include "ingen/Node.hpp"
+#include "ingen/Port.hpp"
#include "Store.hpp"
using namespace std;
diff --git a/src/shared/Store.hpp b/src/shared/Store.hpp
index 3d279211..5a019a5c 100644
--- a/src/shared/Store.hpp
+++ b/src/shared/Store.hpp
@@ -21,7 +21,7 @@
#include <string>
#include <glibmm/thread.h>
#include "raul/PathTable.hpp"
-#include "interface/GraphObject.hpp"
+#include "ingen/GraphObject.hpp"
namespace Ingen {
namespace Shared {
diff --git a/src/shared/wscript b/src/shared/wscript
index 928a77f8..811ed45e 100644
--- a/src/shared/wscript
+++ b/src/shared/wscript
@@ -23,7 +23,7 @@ def build(bld):
autowaf.use_lib(bld, obj, 'SOUP')
obj.source += ' HTTPSender.cpp '
obj.export_includes = ['.']
- obj.includes = ['.', '..', '../..', '../common']
+ obj.includes = ['.', '..', '../..', '../../include']
obj.name = 'libingen_shared'
obj.target = 'ingen_shared'
obj.vnum = '0.0.0'