summaryrefslogtreecommitdiffstats
path: root/src/gui/NewSubgraphWindow.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/NewSubgraphWindow.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/NewSubgraphWindow.hpp')
-rw-r--r--src/gui/NewSubgraphWindow.hpp13
1 files changed, 6 insertions, 7 deletions
diff --git a/src/gui/NewSubgraphWindow.hpp b/src/gui/NewSubgraphWindow.hpp
index 4fef4831..7f3c855b 100644
--- a/src/gui/NewSubgraphWindow.hpp
+++ b/src/gui/NewSubgraphWindow.hpp
@@ -23,9 +23,8 @@
#include <gtkmm/label.h>
#include <gtkmm/spinbutton.h>
-#include "raul/SharedPtr.hpp"
-
#include "ingen/Node.hpp"
+#include "ingen/types.hpp"
#include "Window.hpp"
@@ -47,18 +46,18 @@ public:
NewSubgraphWindow(BaseObjectType* cobject,
const Glib::RefPtr<Gtk::Builder>& xml);
- void set_graph(SharedPtr<const Client::GraphModel> graph);
+ void set_graph(SPtr<const Client::GraphModel> graph);
- void present(SharedPtr<const Client::GraphModel> graph,
- Node::Properties data);
+ void present(SPtr<const Client::GraphModel> graph,
+ Node::Properties data);
private:
void name_changed();
void ok_clicked();
void cancel_clicked();
- Node::Properties _initial_data;
- SharedPtr<const Client::GraphModel> _graph;
+ Node::Properties _initial_data;
+ SPtr<const Client::GraphModel> _graph;
Gtk::Entry* _name_entry;
Gtk::Label* _message_label;