summaryrefslogtreecommitdiffstats
path: root/src/server/PluginImpl.hpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2018-01-21 00:41:34 +0100
committerDavid Robillard <d@drobilla.net>2018-01-21 00:56:50 +0100
commit44f7ad5222d824d81dc743045d5887418847e74e (patch)
tree1b41535ac00b8b225a25dba2873b064cb074bfa9 /src/server/PluginImpl.hpp
parent90fca083052880479ad90d870e556f0648e32106 (diff)
downloadingen-44f7ad5222d824d81dc743045d5887418847e74e.tar.gz
ingen-44f7ad5222d824d81dc743045d5887418847e74e.tar.bz2
ingen-44f7ad5222d824d81dc743045d5887418847e74e.zip
Add URI class and remove use of Raul::URI
Diffstat (limited to 'src/server/PluginImpl.hpp')
-rw-r--r--src/server/PluginImpl.hpp22
1 files changed, 10 insertions, 12 deletions
diff --git a/src/server/PluginImpl.hpp b/src/server/PluginImpl.hpp
index 869c6520..ebd4b3e5 100644
--- a/src/server/PluginImpl.hpp
+++ b/src/server/PluginImpl.hpp
@@ -21,7 +21,6 @@
#include "ingen/Resource.hpp"
#include "raul/Symbol.hpp"
-#include "raul/URI.hpp"
namespace Ingen {
@@ -41,14 +40,13 @@ class GraphImpl;
class PluginImpl : public Resource
{
public:
- PluginImpl(Ingen::URIs& uris,
- const Atom& type,
- const Raul::URI& uri)
- : Resource(uris, uri)
- , _type(type)
- , _presets_loaded(false)
- , _is_zombie(false)
- {}
+ PluginImpl(Ingen::URIs& uris, const Atom& type, const URI& uri)
+ : Resource(uris, uri)
+ , _type(type)
+ , _presets_loaded(false)
+ , _is_zombie(false)
+ {
+ }
virtual BlockImpl* instantiate(BufferFactory& bufs,
const Raul::Symbol& symbol,
@@ -64,8 +62,8 @@ public:
bool is_zombie() const { return _is_zombie; }
void set_is_zombie(bool t) { _is_zombie = t; }
- typedef std::pair<Raul::URI, std::string> Preset;
- typedef std::map<Raul::URI, std::string> Presets;
+ typedef std::pair<URI, std::string> Preset;
+ typedef std::map<URI, std::string> Presets;
const Presets& presets(bool force_reload=false) {
if (!_presets_loaded || force_reload) {
@@ -79,7 +77,7 @@ public:
virtual void load_presets() { _presets_loaded = true; }
- virtual Raul::URI bundle_uri() const { return Raul::URI("ingen:/"); }
+ virtual URI bundle_uri() const { return URI("ingen:/"); }
protected:
Atom _type;