summaryrefslogtreecommitdiffstats
path: root/src/client/PluginModel.hpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2011-02-16 18:26:57 +0000
committerDavid Robillard <d@drobilla.net>2011-02-16 18:26:57 +0000
commit2c1079446f0b06559a683a9f4b0192a4f7637770 (patch)
tree0bb095529e4654cdf4633512fdaaa599ed3370f0 /src/client/PluginModel.hpp
parent0cb698a6d4652c54d49f599f1611e7c4a15d3778 (diff)
downloadingen-2c1079446f0b06559a683a9f4b0192a4f7637770.tar.gz
ingen-2c1079446f0b06559a683a9f4b0192a4f7637770.tar.bz2
ingen-2c1079446f0b06559a683a9f4b0192a4f7637770.zip
Drop redlandmm for sordmm.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@2959 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/client/PluginModel.hpp')
-rw-r--r--src/client/PluginModel.hpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/client/PluginModel.hpp b/src/client/PluginModel.hpp
index c3a27713..3f647a7c 100644
--- a/src/client/PluginModel.hpp
+++ b/src/client/PluginModel.hpp
@@ -18,9 +18,11 @@
#ifndef INGEN_CLIENT_PLUGINMODEL_HPP
#define INGEN_CLIENT_PLUGINMODEL_HPP
+#include <sigc++/sigc++.h>
+
#include "ingen-config.h"
#include "raul/SharedPtr.hpp"
-#include "redlandmm/World.hpp"
+#include "sord/sordmm.hpp"
#ifdef HAVE_SLV2
#include "slv2/slv2.h"
#endif
@@ -67,12 +69,10 @@ public:
SLV2Plugin slv2_plugin() const { return _slv2_plugin; }
SLV2Port slv2_port(uint32_t index) {
- Glib::Mutex::Lock lock(_rdf_world->mutex());
return slv2_plugin_get_port_by_index(_slv2_plugin, index);
}
static void set_slv2_world(SLV2World world) {
- Glib::Mutex::Lock lock(_rdf_world->mutex());
_slv2_world = world;
_slv2_plugins = slv2_world_get_all_plugins(_slv2_world);
}
@@ -86,11 +86,11 @@ public:
static std::string get_lv2_icon_path(SLV2Plugin plugin);
#endif
- static void set_rdf_world(Redland::World& world) {
+ static void set_rdf_world(Sord::World& world) {
_rdf_world = &world;
}
- static Redland::World* rdf_world() { return _rdf_world; }
+ static Sord::World* rdf_world() { return _rdf_world; }
// Signals
sigc::signal<void> signal_changed;
@@ -111,7 +111,7 @@ private:
mutable std::string _icon_path;
#endif
- static Redland::World* _rdf_world;
+ static Sord::World* _rdf_world;
};