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/BreadCrumb.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/BreadCrumb.h')
-rw-r--r-- | src/progs/ingenuity/BreadCrumb.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/progs/ingenuity/BreadCrumb.h b/src/progs/ingenuity/BreadCrumb.h index 908e0f80..a8242672 100644 --- a/src/progs/ingenuity/BreadCrumb.h +++ b/src/progs/ingenuity/BreadCrumb.h @@ -18,8 +18,8 @@ #define BREADCRUMB_H #include <gtkmm.h> -#include "util/Path.h" -#include "util/CountedPtr.h" +#include "raul/Path.h" +#include "raul/SharedPtr.h" #include "PatchView.h" namespace Ingenuity { @@ -37,7 +37,7 @@ namespace Ingenuity { class BreadCrumb : public Gtk::ToggleButton { public: - BreadCrumb(const Path& path, CountedPtr<PatchView> view = CountedPtr<PatchView>()) + BreadCrumb(const Path& path, SharedPtr<PatchView> view = SharedPtr<PatchView>()) : _path(path) , _view(view) { @@ -47,13 +47,13 @@ public: show_all(); } - void set_view(CountedPtr<PatchView> view) { + void set_view(SharedPtr<PatchView> view) { assert( !view || view->patch()->path() == _path); _view = view; } const Path& path() const { return _path; } - CountedPtr<PatchView> view() const { return _view; } + SharedPtr<PatchView> view() const { return _view; } void set_path(const Path& path) { @@ -70,7 +70,7 @@ public: private: Path _path; - CountedPtr<PatchView> _view; + SharedPtr<PatchView> _view; }; } // namespace Ingenuity |