summaryrefslogtreecommitdiff
path: root/libs/ardour/ardour/plugin.h
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2011-04-03 01:57:12 +0000
committerDavid Robillard <d@drobilla.net>2011-04-03 01:57:12 +0000
commit4ae4704112fcbd5f4eacf5947fc1ffca06c630d5 (patch)
tree5b832d5c8d2fd52e05cdad10497f2b4cc7c32bfa /libs/ardour/ardour/plugin.h
parent05d88018128bbcfd8e7510e9a9f0b99a1ff6f5d1 (diff)
Implement LV2 files extension.
This extension works with the persist extension to allow plugins to save references to files in their state, but still allow the host (e.g. Ardour) to control where files are located, making it possible to do a deep export of a session with all files (e.g. loaded sampler banks) included. Tested working with a patched version of LinuxSampler... TODO: Make symlinks in the plugin state directory rather than refer to absolute file paths in state files (i.e. support session export, either by ardour or any other tool, in particular the Jack session manager...) git-svn-id: svn://localhost/ardour2/branches/3.0@9272 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/ardour/plugin.h')
-rw-r--r--libs/ardour/ardour/plugin.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libs/ardour/ardour/plugin.h b/libs/ardour/ardour/plugin.h
index f2af0360fc..649d045d41 100644
--- a/libs/ardour/ardour/plugin.h
+++ b/libs/ardour/ardour/plugin.h
@@ -102,6 +102,8 @@ class Plugin : public PBD::StatefulDestructible, public Latent
XMLNode& get_state ();
virtual int set_state (const XMLNode &, int version);
+ virtual void set_insert_info(const PluginInsert* insert) {}
+
virtual std::string unique_id() const = 0;
virtual const char * label() const = 0;
virtual const char * name() const = 0;