diff options
author | David Robillard <d@drobilla.net> | 2013-01-12 23:38:03 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2013-01-12 23:38:03 +0000 |
commit | df1447c665e6c3631961297a9d3e9aff4e94c47f (patch) | |
tree | c0ff117c362e6d571f430f886ab62f372b59af08 /src/server/LV2Plugin.hpp | |
parent | bb335dca695273622b7a4ebbefbe9e089edb9ab4 (diff) | |
download | ingen-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/server/LV2Plugin.hpp')
-rw-r--r-- | src/server/LV2Plugin.hpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/server/LV2Plugin.hpp b/src/server/LV2Plugin.hpp index bec1b588..1bd4822a 100644 --- a/src/server/LV2Plugin.hpp +++ b/src/server/LV2Plugin.hpp @@ -19,8 +19,8 @@ #include <cstdlib> +#include "ingen/types.hpp" #include "lilv/lilv.h" -#include "raul/SharedPtr.hpp" #include "raul/URI.hpp" #include "PluginImpl.hpp" @@ -37,7 +37,7 @@ class BlockImpl; class LV2Plugin : public PluginImpl { public: - LV2Plugin(SharedPtr<LV2Info> lv2_info, const Raul::URI& uri); + LV2Plugin(SPtr<LV2Info> lv2_info, const Raul::URI& uri); BlockImpl* instantiate(BufferFactory& bufs, const Raul::Symbol& symbol, @@ -47,14 +47,14 @@ public: const Raul::Symbol symbol() const; - SharedPtr<LV2Info> lv2_info() const { return _lv2_info; } + SPtr<LV2Info> lv2_info() const { return _lv2_info; } const LilvPlugin* lilv_plugin() const { return _lilv_plugin; } void lilv_plugin(const LilvPlugin* p); private: - const LilvPlugin* _lilv_plugin; - SharedPtr<LV2Info> _lv2_info; + const LilvPlugin* _lilv_plugin; + SPtr<LV2Info> _lv2_info; }; } // namespace Server |