summaryrefslogtreecommitdiffstats
path: root/src/engine/PluginImpl.hpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2011-04-18 12:47:15 +0000
committerDavid Robillard <d@drobilla.net>2011-04-18 12:47:15 +0000
commit8ba6bb943889bfdd58cf4a971a152041c1199cfe (patch)
tree91fbe8577e6d01070aa81f532ddd8102db1476f5 /src/engine/PluginImpl.hpp
parent3cd3bfe5079f84fafb7dc217f5393d6ba947109c (diff)
downloadingen-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/PluginImpl.hpp')
-rw-r--r--src/engine/PluginImpl.hpp13
1 files changed, 9 insertions, 4 deletions
diff --git a/src/engine/PluginImpl.hpp b/src/engine/PluginImpl.hpp
index a8de4b42..ab4e4a89 100644
--- a/src/engine/PluginImpl.hpp
+++ b/src/engine/PluginImpl.hpp
@@ -31,6 +31,8 @@ namespace Ingen {
namespace Shared { class LV2URIMap; }
+namespace Engine {
+
class PatchImpl;
class NodeImpl;
class Engine;
@@ -40,13 +42,15 @@ class BufferFactory;
*
* Conceptually, a Node is an instance of this.
*/
-class PluginImpl : public Ingen::Shared::Plugin
+class PluginImpl : public Plugin
, public Ingen::Shared::ResourceImpl
, public boost::noncopyable
{
public:
- PluginImpl(Shared::LV2URIMap& uris,
- Type type, const std::string& uri, const std::string library_path="")
+ PluginImpl(Ingen::Shared::LV2URIMap& uris,
+ Type type,
+ const std::string& uri,
+ const std::string library_path = "")
: ResourceImpl(uris, uri)
, _type(type)
, _library_path(library_path)
@@ -56,7 +60,7 @@ public:
virtual NodeImpl* instantiate(BufferFactory& bufs,
const std::string& name,
bool polyphonic,
- Ingen::PatchImpl* parent,
+ PatchImpl* parent,
Engine& engine) = 0;
virtual const std::string symbol() const = 0;
@@ -77,6 +81,7 @@ protected:
Glib::Module* _module;
};
+} // namespace Engine
} // namespace Ingen
#endif // INGEN_ENGINE_PLUGINIMPL_HPP