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/PatchPropertiesWindow.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/PatchPropertiesWindow.h')
-rw-r--r-- | src/progs/ingenuity/PatchPropertiesWindow.h | 8 |
1 files changed, 4 insertions, 4 deletions
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 <string> #include <gtkmm.h> #include <libglademm/xml.h> -#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<Gnome::Glade::Xml>& refGlade); - void present(CountedPtr<PatchModel> patch_model) { set_patch(patch_model); Gtk::Window::present(); } - void set_patch(CountedPtr<PatchModel> patch_model); + void present(SharedPtr<PatchModel> patch_model) { set_patch(patch_model); Gtk::Window::present(); } + void set_patch(SharedPtr<PatchModel> patch_model); void cancel_clicked(); void ok_clicked(); private: - CountedPtr<PatchModel> m_patch_model; + SharedPtr<PatchModel> m_patch_model; Gtk::Entry* m_author_entry; Gtk::TextView* m_textview; |