From 30cb85c307b4c1273791721a782337742ade222c Mon Sep 17 00:00:00 2001 From: David Robillard Date: Wed, 4 Oct 2006 21:45:20 +0000 Subject: Moved generic utility stuff to new library "raul". git-svn-id: http://svn.drobilla.net/lad/ingen@156 a436a847-0d15-0410-975c-d299462d15a1 --- src/progs/ingenuity/LoadPatchWindow.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/progs/ingenuity/LoadPatchWindow.h') diff --git a/src/progs/ingenuity/LoadPatchWindow.h b/src/progs/ingenuity/LoadPatchWindow.h index 2c6035c8..b70552b1 100644 --- a/src/progs/ingenuity/LoadPatchWindow.h +++ b/src/progs/ingenuity/LoadPatchWindow.h @@ -21,7 +21,7 @@ #include #include -#include "util/CountedPtr.h" +#include "raul/SharedPtr.h" #include "PatchModel.h" using Ingen::Client::PatchModel; using Ingen::Client::MetadataMap; @@ -44,12 +44,12 @@ class LoadPatchWindow : public Gtk::FileChooserDialog public: LoadPatchWindow(BaseObjectType* cobject, const Glib::RefPtr& xml); - void set_patch(CountedPtr patch); + void set_patch(SharedPtr patch); void set_replace() { m_replace = true; } void set_merge() { m_replace = false; } - void present(CountedPtr patch, MetadataMap data); + void present(SharedPtr patch, MetadataMap data); protected: void on_show(); @@ -62,7 +62,7 @@ private: MetadataMap m_initial_data; - CountedPtr m_patch; + SharedPtr m_patch; bool m_replace; Gtk::RadioButton* m_poly_from_current_radio; -- cgit v1.2.1