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/PatchView.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/PatchView.h')
-rw-r--r-- | src/progs/ingenuity/PatchView.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/progs/ingenuity/PatchView.h b/src/progs/ingenuity/PatchView.h index 0a445baa..48823064 100644 --- a/src/progs/ingenuity/PatchView.h +++ b/src/progs/ingenuity/PatchView.h @@ -21,7 +21,7 @@ #include <gtkmm.h> #include <libglademm/xml.h> #include <libglademm.h> -#include "util/CountedPtr.h" +#include "raul/SharedPtr.h" #include "PatchModel.h" using std::string; @@ -57,14 +57,14 @@ public: PatchView(BaseObjectType* cobject, const Glib::RefPtr<Gnome::Glade::Xml>& glade_xml); ~PatchView(); - CountedPtr<PatchCanvas> canvas() const { return _canvas; } - CountedPtr<PatchModel> patch() const { return _patch; } + SharedPtr<PatchCanvas> canvas() const { return _canvas; } + SharedPtr<PatchModel> patch() const { return _patch; } Gtk::Viewport* breadcrumb_container() const { return _breadcrumb_container; } - static CountedPtr<PatchView> create(CountedPtr<PatchModel> patch); + static SharedPtr<PatchView> create(SharedPtr<PatchModel> patch); private: - void set_patch(CountedPtr<PatchModel> patch); + void set_patch(SharedPtr<PatchModel> patch); void process_toggled(); void clear_clicked(); @@ -75,8 +75,8 @@ private: void zoom_full(); - CountedPtr<PatchModel> _patch; - CountedPtr<PatchCanvas> _canvas; + SharedPtr<PatchModel> _patch; + SharedPtr<PatchCanvas> _canvas; Gtk::ScrolledWindow* _canvas_scrolledwindow; |