aboutsummaryrefslogtreecommitdiffstats
path: root/src/client/ClientObject.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
commit1dad5b5aaa139993fe19e266d08dfc55844e6804 (patch)
treefd2bed5971853b429f1b74369a778a4d608e6925 /src/client/ClientObject.hpp
parent8f048287d06afd7d3c2e90f4a503d7666a9cb6fa (diff)
downloadmachina-1dad5b5aaa139993fe19e266d08dfc55844e6804.tar.gz
machina-1dad5b5aaa139993fe19e266d08dfc55844e6804.tar.bz2
machina-1dad5b5aaa139993fe19e266d08dfc55844e6804.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/machina@4939 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/client/ClientObject.hpp')
-rw-r--r--src/client/ClientObject.hpp9
1 files changed, 4 insertions, 5 deletions
diff --git a/src/client/ClientObject.hpp b/src/client/ClientObject.hpp
index 994a5ba..df8a1dd 100644
--- a/src/client/ClientObject.hpp
+++ b/src/client/ClientObject.hpp
@@ -23,7 +23,6 @@
#include <sigc++/sigc++.h>
#include "raul/Atom.hpp"
-#include "raul/SharedPtr.hpp"
#include "machina/types.hpp"
@@ -52,12 +51,12 @@ public:
typedef std::map<URIInt, Raul::Atom> Properties;
const Properties& properties() { return _properties; }
- SharedPtr<View> view() const { return _view; }
- void set_view(SharedPtr<View> view) { _view = view; }
+ SPtr<View> view() const { return _view; }
+ void set_view(SPtr<View> view) { _view = view; }
private:
- uint64_t _id;
- SharedPtr<View> _view;
+ uint64_t _id;
+ SPtr<View> _view;
Properties _properties;
};