summaryrefslogtreecommitdiff
path: root/gtk2_ardour/vst_pluginui.cc
diff options
context:
space:
mode:
authorSampo Savolainen <v2@iki.fi>2006-08-05 11:46:13 +0000
committerSampo Savolainen <v2@iki.fi>2006-08-05 11:46:13 +0000
commit0eb03e1afe0257d0eeddf2a4a179b5620d577616 (patch)
tree8efa206bf7cd704502314513f6a1b898a095fced /gtk2_ardour/vst_pluginui.cc
parentdca612e82af4f89dad4f15454cbbb15694fa077c (diff)
shraed_ptr<> etc. fixes for VST's. VST support now compiles, but doesn't
run for some reason. git-svn-id: svn://localhost/ardour2/trunk@759 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/vst_pluginui.cc')
-rw-r--r--gtk2_ardour/vst_pluginui.cc10
1 files changed, 5 insertions, 5 deletions
diff --git a/gtk2_ardour/vst_pluginui.cc b/gtk2_ardour/vst_pluginui.cc
index 7adf702f4d..5e65475c46 100644
--- a/gtk2_ardour/vst_pluginui.cc
+++ b/gtk2_ardour/vst_pluginui.cc
@@ -31,17 +31,17 @@ using namespace Gtk;
using namespace ARDOUR;
using namespace PBD;
-VSTPluginUI::VSTPluginUI (PluginInsert& pi, VSTPlugin& vp)
+VSTPluginUI::VSTPluginUI (boost::shared_ptr<PluginInsert> pi, boost::shared_ptr<VSTPlugin> vp)
: PlugUIBase (pi),
vst (vp)
{
- fst_run_editor (vst.fst());
+ fst_run_editor (vst->fst());
preset_box.pack_end (bypass_button, false, false, 10);
preset_box.pack_end (save_button, false, false);
preset_box.pack_end (combo, false, false);
- bypass_button.set_active (!insert.active());
+ bypass_button.set_active (!insert->active());
pack_start (preset_box, false, false);
pack_start (socket, true, true);
@@ -55,7 +55,7 @@ VSTPluginUI::~VSTPluginUI ()
int
VSTPluginUI::get_preferred_height ()
{
- return vst.fst()->height;
+ return vst->fst()->height;
}
int
@@ -69,7 +69,7 @@ VSTPluginUI::package (Gtk::Window& win)
this assumes that the window's owner understands the XEmbed protocol.
*/
- socket.add_id (fst_get_XID (vst.fst()));
+ socket.add_id (fst_get_XID (vst->fst()));
return 0;
}