From 19928bb583e72802746b89e322f71ecc0fcb7427 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Wed, 13 May 2009 04:05:32 +0000 Subject: The great ID refactoring of 2009. Path is now actually URI (scheme path: for now). Therefore ingen nodes and such live in the same namespace as ... well, everything. Including plugins. Thar be profit, laddies. git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@1992 a436a847-0d15-0410-975c-d299462d15a1 --- src/gui/PatchTreeWindow.hpp | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) (limited to 'src/gui/PatchTreeWindow.hpp') diff --git a/src/gui/PatchTreeWindow.hpp b/src/gui/PatchTreeWindow.hpp index 64e20b7c..3998891c 100644 --- a/src/gui/PatchTreeWindow.hpp +++ b/src/gui/PatchTreeWindow.hpp @@ -25,10 +25,7 @@ namespace Raul { class Path; } namespace Ingen { -namespace Client { - class ClientStore; -} -using Ingen::Client::ClientStore; +namespace Client { class ClientStore; } namespace GUI { @@ -45,15 +42,15 @@ class PatchTreeWindow : public Gtk::Window public: PatchTreeWindow(BaseObjectType* cobject, const Glib::RefPtr& refGlade); - void init(ClientStore& store); + void init(Client::ClientStore& store); void new_object(SharedPtr object); - void patch_variable_changed(const string& key, const Raul::Atom& value, const Path& path); - void patch_renamed(const Path& old_path, const Path& new_path); + void patch_variable_changed(const Raul::URI& key, const Raul::Atom& value, const Raul::Path& path); + void patch_renamed(const Raul::Path& old_path, const Raul::Path& new_path); void add_patch(SharedPtr pm); - void remove_patch(const Path& path); + void remove_patch(const Raul::Path& path); void show_patch_menu(GdkEventButton* ev); protected: @@ -61,7 +58,7 @@ protected: void event_patch_activated(const Gtk::TreeModel::Path& path, Gtk::TreeView::Column* col); void event_patch_enabled_toggled(const Glib::ustring& path_str); - Gtk::TreeModel::iterator find_patch(Gtk::TreeModel::Children root, const Path& path); + Gtk::TreeModel::iterator find_patch(Gtk::TreeModel::Children root, const Raul::Path& path); PatchTreeView* _patches_treeview; -- cgit v1.2.1