diff options
author | David Robillard <d@drobilla.net> | 2011-04-18 12:47:15 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2011-04-18 12:47:15 +0000 |
commit | 8ba6bb943889bfdd58cf4a971a152041c1199cfe (patch) | |
tree | 91fbe8577e6d01070aa81f532ddd8102db1476f5 /src/engine/EngineStore.hpp | |
parent | 3cd3bfe5079f84fafb7dc217f5393d6ba947109c (diff) | |
download | ingen-8ba6bb943889bfdd58cf4a971a152041c1199cfe.tar.gz ingen-8ba6bb943889bfdd58cf4a971a152041c1199cfe.tar.bz2 ingen-8ba6bb943889bfdd58cf4a971a152041c1199cfe.zip |
Put engine code in new Ingen::Engine namespace.
Put core interfaces in Ingen namespace (not Ingen::Shared).
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@3159 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/engine/EngineStore.hpp')
-rw-r--r-- | src/engine/EngineStore.hpp | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/engine/EngineStore.hpp b/src/engine/EngineStore.hpp index 0aaf7fd7..c6d1e024 100644 --- a/src/engine/EngineStore.hpp +++ b/src/engine/EngineStore.hpp @@ -24,7 +24,9 @@ namespace Ingen { -namespace Shared { class GraphObject; } +class GraphObject; + +namespace Engine { class PatchImpl; class NodeImpl; @@ -40,7 +42,7 @@ class GraphObjectImpl; * Searching with find*() is fast (O(log(n)) binary search on contiguous * memory) and realtime safe, but modification (add or remove) are neither. */ -class EngineStore : public Shared::Store +class EngineStore : public Ingen::Shared::Store { public: PatchImpl* find_patch(const Raul::Path& path); @@ -48,7 +50,7 @@ public: PortImpl* find_port(const Raul::Path& path); GraphObjectImpl* find_object(const Raul::Path& path); - void add(Shared::GraphObject* o); + void add(Ingen::GraphObject* o); void add(const Objects& family); SharedPtr<Objects> remove(const Raul::Path& path); @@ -57,6 +59,7 @@ public: SharedPtr<Objects> remove_children(Objects::iterator i); }; +} // namespace Engine } // namespace Ingen #endif // OBJECTSTORE |