diff options
author | David Robillard <d@drobilla.net> | 2006-10-04 21:45:20 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2006-10-04 21:45:20 +0000 |
commit | 30cb85c307b4c1273791721a782337742ade222c (patch) | |
tree | 020932d6f50ebbcd813c58f6f23e85a293587665 /src/progs/ingenuity/LoadSubpatchWindow.h | |
parent | 32261ba465be203f973a0e126672b8d7188ba327 (diff) | |
download | ingen-30cb85c307b4c1273791721a782337742ade222c.tar.gz ingen-30cb85c307b4c1273791721a782337742ade222c.tar.bz2 ingen-30cb85c307b4c1273791721a782337742ade222c.zip |
Moved generic utility stuff to new library "raul".
git-svn-id: http://svn.drobilla.net/lad/ingen@156 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/progs/ingenuity/LoadSubpatchWindow.h')
-rw-r--r-- | src/progs/ingenuity/LoadSubpatchWindow.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/progs/ingenuity/LoadSubpatchWindow.h b/src/progs/ingenuity/LoadSubpatchWindow.h index 81e4f4d7..db178091 100644 --- a/src/progs/ingenuity/LoadSubpatchWindow.h +++ b/src/progs/ingenuity/LoadSubpatchWindow.h @@ -20,7 +20,7 @@ #include "PluginModel.h" #include <libglademm/xml.h> #include <gtkmm.h> -#include "util/CountedPtr.h" +#include "raul/SharedPtr.h" #include "PatchModel.h" using Ingen::Client::PatchModel; using Ingen::Client::MetadataMap; @@ -39,9 +39,9 @@ class LoadSubpatchWindow : public Gtk::FileChooserDialog public: LoadSubpatchWindow(BaseObjectType* cobject, const Glib::RefPtr<Gnome::Glade::Xml>& xml); - void set_patch(CountedPtr<PatchModel> patch); + void set_patch(SharedPtr<PatchModel> patch); - void present(CountedPtr<PatchModel> patch, MetadataMap data); + void present(SharedPtr<PatchModel> patch, MetadataMap data); protected: void on_show(); @@ -57,7 +57,7 @@ private: MetadataMap m_initial_data; - CountedPtr<PatchModel> m_patch; + SharedPtr<PatchModel> m_patch; Gtk::RadioButton* m_name_from_file_radio; Gtk::RadioButton* m_name_from_user_radio; |