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/PatchPropertiesWindow.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/progs/ingenuity/PatchPropertiesWindow.h') diff --git a/src/progs/ingenuity/PatchPropertiesWindow.h b/src/progs/ingenuity/PatchPropertiesWindow.h index 4f5da674..54e8391a 100644 --- a/src/progs/ingenuity/PatchPropertiesWindow.h +++ b/src/progs/ingenuity/PatchPropertiesWindow.h @@ -20,7 +20,7 @@ #include #include #include -#include "util/CountedPtr.h" +#include "raul/SharedPtr.h" using std::string; namespace Ingen { namespace Client { class PatchModel; } } @@ -40,14 +40,14 @@ class PatchPropertiesWindow : public Gtk::Window public: PatchPropertiesWindow(BaseObjectType* cobject, const Glib::RefPtr& refGlade); - void present(CountedPtr patch_model) { set_patch(patch_model); Gtk::Window::present(); } - void set_patch(CountedPtr patch_model); + void present(SharedPtr patch_model) { set_patch(patch_model); Gtk::Window::present(); } + void set_patch(SharedPtr patch_model); void cancel_clicked(); void ok_clicked(); private: - CountedPtr m_patch_model; + SharedPtr m_patch_model; Gtk::Entry* m_author_entry; Gtk::TextView* m_textview; -- cgit v1.2.1