summaryrefslogtreecommitdiffstats
path: root/src/engine/Driver.hpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2010-03-06 10:23:19 +0000
committerDavid Robillard <d@drobilla.net>2010-03-06 10:23:19 +0000
commit059f20c9666234f2be01498ee04f1e7ee795ba8f (patch)
treeef0d53073d53012aeaa7d084fccf477b166c0684 /src/engine/Driver.hpp
parent085a451dfec54126be1b9346899c81d82e6eb58e (diff)
downloadingen-059f20c9666234f2be01498ee04f1e7ee795ba8f.tar.gz
ingen-059f20c9666234f2be01498ee04f1e7ee795ba8f.tar.bz2
ingen-059f20c9666234f2be01498ee04f1e7ee795ba8f.zip
Save Ingen patches as working standard LV2 plugin bundles.
This allows you to create an Ingen patch in Ingen running as a Jack client, save it, then load that patch as an LV2 plugin in any LV2 compliant host. Eliminate (hopefully) all static data in the engine (for multiple instantiations in a single process). More API/ABI stable interface for Ingen::Shared::World. git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@2533 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/engine/Driver.hpp')
-rw-r--r--src/engine/Driver.hpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/engine/Driver.hpp b/src/engine/Driver.hpp
index 3712b93b..35fb4997 100644
--- a/src/engine/Driver.hpp
+++ b/src/engine/Driver.hpp
@@ -77,13 +77,13 @@ public:
virtual ~Driver() {}
/** Activate driver (begin processing graph and events). */
- virtual void activate() = 0;
+ virtual void activate() {}
/** Deactivate driver (stop processing graph and events). */
- virtual void deactivate() = 0;
+ virtual void deactivate() {}
/** Return true iff driver is activated (processing graph and events). */
- virtual bool is_activated() const = 0;
+ virtual bool is_activated() const { return true; }
/** Create a port ready to be inserted with add_input (non realtime).
* May return NULL if the Driver can not create the port for some reason.
@@ -97,7 +97,7 @@ public:
virtual void add_port(DriverPort* port) = 0;
/** Remove a system visible port. */
- virtual Raul::List<DriverPort*>::Node* remove_port(const Raul::Path& path) = 0;
+ virtual Raul::Deletable* remove_port(const Raul::Path& path, Ingen::DriverPort** port=NULL) = 0;
/** Return true iff this driver supports the given type of I/O */
virtual bool supports(Shared::PortType port_type, Shared::EventType event_type) = 0;