summaryrefslogtreecommitdiff
path: root/libs/ardour/ardour/lv2_plugin.h
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2011-11-24 00:53:45 +0000
committerDavid Robillard <d@drobilla.net>2011-11-24 00:53:45 +0000
commit0bd3105f50f3c82586e0924a4be9977425caaf90 (patch)
tree0bbb07b0b78ceac40c43f77d36880b8e7d486024 /libs/ardour/ardour/lv2_plugin.h
parent5aec659c606861f88068782257966fd91726254b (diff)
Save references to external files in LV2 state as symbolic links.
With this commit it is possible to archive sessions that contain plugins with complex file-containing state (e.g. Linuxsampler with a sample bank loaded) with any archive tool, e.g.: tar -hjcf session.tar.bz2 session Which will give you a fully self-contained archive of everything used in the session, so you can e.g. send it to a collaborator who may not have the same sample banks in the same place as you and it will work. git-svn-id: svn://localhost/ardour2/branches/3.0@10817 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/ardour/lv2_plugin.h')
-rw-r--r--libs/ardour/ardour/lv2_plugin.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libs/ardour/ardour/lv2_plugin.h b/libs/ardour/ardour/lv2_plugin.h
index adbb26b832..6396e30038 100644
--- a/libs/ardour/ardour/lv2_plugin.h
+++ b/libs/ardour/ardour/lv2_plugin.h
@@ -150,6 +150,8 @@ class LV2Plugin : public ARDOUR::Plugin
static uint32_t _midi_event_type;
static uint32_t _state_path_type;
+ const std::string state_dir () const;
+
static int
lv2_state_store_callback (void* handle,
uint32_t key,