summaryrefslogtreecommitdiffstats
path: root/src/gui/GraphTreeWindow.hpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2013-01-12 23:38:03 +0000
committerDavid Robillard <d@drobilla.net>2013-01-12 23:38:03 +0000
commitdf1447c665e6c3631961297a9d3e9aff4e94c47f (patch)
treec0ff117c362e6d571f430f886ab62f372b59af08 /src/gui/GraphTreeWindow.hpp
parentbb335dca695273622b7a4ebbefbe9e089edb9ab4 (diff)
downloadingen-df1447c665e6c3631961297a9d3e9aff4e94c47f.tar.gz
ingen-df1447c665e6c3631961297a9d3e9aff4e94c47f.tar.bz2
ingen-df1447c665e6c3631961297a9d3e9aff4e94c47f.zip
Remove Raul::SharedPtr and switch to std::shared_ptr.
Use project local short type aliases for shared_ptr and friends. Move Raul::Disposable and Raul::Manageable into Raul::Maid. Use sets to store machina nodes and edges to avoid O(n) searches. git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4939 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/gui/GraphTreeWindow.hpp')
-rw-r--r--src/gui/GraphTreeWindow.hpp24
1 files changed, 12 insertions, 12 deletions
diff --git a/src/gui/GraphTreeWindow.hpp b/src/gui/GraphTreeWindow.hpp
index 3bd50b76..eec8b0d8 100644
--- a/src/gui/GraphTreeWindow.hpp
+++ b/src/gui/GraphTreeWindow.hpp
@@ -47,16 +47,16 @@ public:
void init(App& app, Client::ClientStore& store);
- void new_object(SharedPtr<Client::ObjectModel> object);
+ void new_object(SPtr<Client::ObjectModel> object);
- void graph_property_changed(const Raul::URI& key,
- const Raul::Atom& value,
- SharedPtr<Client::GraphModel> gm);
+ void graph_property_changed(const Raul::URI& key,
+ const Raul::Atom& value,
+ SPtr<Client::GraphModel> gm);
- void graph_moved(SharedPtr<Client::GraphModel> graph);
+ void graph_moved(SPtr<Client::GraphModel> graph);
- void add_graph(SharedPtr<Client::GraphModel> gm);
- void remove_graph(SharedPtr<Client::GraphModel> gm);
+ void add_graph(SPtr<Client::GraphModel> gm);
+ void remove_graph(SPtr<Client::GraphModel> gm);
void show_graph_menu(GdkEventButton* ev);
protected:
@@ -66,8 +66,8 @@ protected:
void event_graph_enabled_toggled(const Glib::ustring& path_str);
Gtk::TreeModel::iterator find_graph(
- Gtk::TreeModel::Children root,
- SharedPtr<Client::ObjectModel> graph);
+ Gtk::TreeModel::Children root,
+ SPtr<Client::ObjectModel> graph);
GraphTreeView* _graphs_treeview;
@@ -79,9 +79,9 @@ protected:
add(graph_model_col);
}
- Gtk::TreeModelColumn<Glib::ustring> name_col;
- Gtk::TreeModelColumn<bool> enabled_col;
- Gtk::TreeModelColumn<SharedPtr<Client::GraphModel> > graph_model_col;
+ Gtk::TreeModelColumn<Glib::ustring> name_col;
+ Gtk::TreeModelColumn<bool> enabled_col;
+ Gtk::TreeModelColumn<SPtr<Client::GraphModel> > graph_model_col;
};
App* _app;