diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2005-11-25 03:36:42 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2005-11-25 03:36:42 +0000 |
commit | 2dd3c9578fa01dc5dca94f6ba9e4ded8f36b539c (patch) | |
tree | 8bc2c2fdd88d2ea156b70fc382e8f3bfb0e6f64a /libs/ardour/plugin.cc | |
parent | aca31b078bc50dfa193c4024515068001b56489c (diff) |
advance compilation to include plugin_ui.cc
git-svn-id: svn://localhost/trunk/ardour2@111 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/plugin.cc')
-rw-r--r-- | libs/ardour/plugin.cc | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/libs/ardour/plugin.cc b/libs/ardour/plugin.cc index f5753fd182..042e156130 100644 --- a/libs/ardour/plugin.cc +++ b/libs/ardour/plugin.cc @@ -265,10 +265,10 @@ Plugin::write_midi_feedback (MIDI::byte* buf, int32_t& bufsize) return buf; } -list<string> +vector<string> Plugin::get_presets() { - list<string> labels; + vector<string> labels; lrdf_uris* set_uris = lrdf_get_setting_uris(unique_id()); if (set_uris) { @@ -281,7 +281,8 @@ Plugin::get_presets() lrdf_free_uris(set_uris); } - labels.unique(); + // GTK2FIX find an equivalent way to do this with a vector (needed by GUI apis) + // labels.unique(); return labels; } |