summaryrefslogtreecommitdiff
path: root/gtk2_ardour/plugin_selector.cc
diff options
context:
space:
mode:
authorTaybin Rutkin <taybin@taybin.com>2006-08-10 04:01:15 +0000
committerTaybin Rutkin <taybin@taybin.com>2006-08-10 04:01:15 +0000
commit77a13df5bd70bf87ee856b81acec7eeed5b1f033 (patch)
treea3b6fcceecc0ab7f5607c986cfc4c4d88b2ad2d4 /gtk2_ardour/plugin_selector.cc
parentd4dd338beb813bcfe7470729cf6611aeea55cfa4 (diff)
Moved PluginInfo::Type to ARDOUR::PluginType in ardour/types.h.
Figured out (mostly) AUPluginUI hierarchy. Moved LadspaPluginUI to its own ladspa_pluginui.cc file. git-svn-id: svn://localhost/ardour2/trunk@782 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/plugin_selector.cc')
-rw-r--r--gtk2_ardour/plugin_selector.cc14
1 files changed, 7 insertions, 7 deletions
diff --git a/gtk2_ardour/plugin_selector.cc b/gtk2_ardour/plugin_selector.cc
index e0a62b177f..20db1b3944 100644
--- a/gtk2_ardour/plugin_selector.cc
+++ b/gtk2_ardour/plugin_selector.cc
@@ -49,7 +49,7 @@ PluginSelector::PluginSelector (PluginManager *mgr)
manager = mgr;
session = 0;
- current_selection = PluginInfo::LADSPA;
+ current_selection = ARDOUR::LADSPA;
lmodel = Gtk::ListStore::create(lcols);
ladspa_display.set_model (lmodel);
@@ -286,7 +286,7 @@ PluginSelector::vst_display_selection_changed()
btn_add->set_sensitive (false);
}
- current_selection = PluginInfo::VST;
+ current_selection = ARDOUR::VST;
}
#endif //VST_SUPPORT
@@ -332,7 +332,7 @@ PluginSelector::au_display_selection_changed()
btn_add->set_sensitive (false);
}
- current_selection = PluginInfo::AudioUnit;
+ current_selection = ARDOUR::AudioUnit;
}
#endif //HAVE_COREAUDIO
@@ -361,19 +361,19 @@ PluginSelector::btn_add_clicked()
Gtk::TreeModel::Row row;
switch (current_selection) {
- case PluginInfo::LADSPA:
+ case ARDOUR::LADSPA:
row = *(ladspa_display.get_selection()->get_selected());
name = row[lcols.name];
pi = row[lcols.plugin];
break;
- case PluginInfo::VST:
+ case ARDOUR::VST:
#ifdef VST_SUPPORT
row = *(vst_display.get_selection()->get_selected());
name = row[vcols.name];
pi = row[vcols.plugin];
#endif
break;
- case PluginInfo::AudioUnit:
+ case ARDOUR::AudioUnit:
#ifdef HAVE_COREAUDIO
row = *(au_display.get_selection()->get_selected());
name = row[aucols.name];
@@ -426,7 +426,7 @@ PluginSelector::ladspa_display_selection_changed()
btn_add->set_sensitive (false);
}
- current_selection = PluginInfo::LADSPA;
+ current_selection = ARDOUR::LADSPA;
}
void