diff options
author | David Robillard <d@drobilla.net> | 2006-06-11 23:33:00 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2006-06-11 23:33:00 +0000 |
commit | 0b1c17f08f8eab4ada52ee98ba7353ec0260d3eb (patch) | |
tree | 09af4447ba74f392d12f2153b432cb60be1c08ab /src/progs/gtk/LoadPluginWindow.h | |
parent | 228279d6717e69ffd2d2a886244179635ac27c2b (diff) | |
download | ingen-0b1c17f08f8eab4ada52ee98ba7353ec0260d3eb.tar.gz ingen-0b1c17f08f8eab4ada52ee98ba7353ec0260d3eb.tar.bz2 ingen-0b1c17f08f8eab4ada52ee98ba7353ec0260d3eb.zip |
New nodes in gtk client working through Store signal interface
git-svn-id: http://svn.drobilla.net/lad/grauph@26 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/progs/gtk/LoadPluginWindow.h')
-rw-r--r-- | src/progs/gtk/LoadPluginWindow.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/progs/gtk/LoadPluginWindow.h b/src/progs/gtk/LoadPluginWindow.h index adf11ab4..4bf302c2 100644 --- a/src/progs/gtk/LoadPluginWindow.h +++ b/src/progs/gtk/LoadPluginWindow.h @@ -23,7 +23,7 @@ #include <libglademm/xml.h> #include <libglademm.h> #include <gtkmm.h> - +#include "util/CountedPtr.h" using LibOmClient::PluginModel; @@ -55,8 +55,8 @@ public: Gtk::TreeModelColumn<Glib::ustring> m_col_uri; // Not displayed: - Gtk::TreeModelColumn<Glib::ustring> m_col_label; - Gtk::TreeModelColumn<const PluginModel*> m_col_plugin_model; + Gtk::TreeModelColumn<Glib::ustring> m_col_label; + Gtk::TreeModelColumn<CountedPtr<PluginModel> > m_col_plugin_model; }; @@ -88,12 +88,12 @@ public: LoadPluginWindow(BaseObjectType* cobject, const Glib::RefPtr<Gnome::Glade::Xml>& xml); void patch_controller(PatchController* pc); - void set_plugin_model(const std::map<string, const PluginModel*>& m); + void set_plugin_list(const std::map<string, CountedPtr<PluginModel> >& m); void set_next_module_location(int x, int y) { m_new_module_x = x; m_new_module_y = y; } - void add_plugin(const PluginModel* info); + void add_plugin(CountedPtr<PluginModel> plugin); bool has_shown() const { return m_has_shown; } protected: |