summaryrefslogtreecommitdiffstats
path: root/src/server/PluginImpl.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/server/PluginImpl.hpp')
-rw-r--r--src/server/PluginImpl.hpp31
1 files changed, 16 insertions, 15 deletions
diff --git a/src/server/PluginImpl.hpp b/src/server/PluginImpl.hpp
index 3c93aa21..8e3642c0 100644
--- a/src/server/PluginImpl.hpp
+++ b/src/server/PluginImpl.hpp
@@ -17,10 +17,15 @@
#ifndef INGEN_ENGINE_PLUGINIMPL_HPP
#define INGEN_ENGINE_PLUGINIMPL_HPP
-#include "ingen/Resource.hpp"
-#include "raul/Symbol.hpp"
+#include <ingen/Atom.hpp>
+#include <ingen/Resource.hpp>
+#include <ingen/URI.hpp>
+#include <lilv/lilv.h>
+#include <raul/Symbol.hpp>
-#include <cstdlib>
+#include <map>
+#include <string>
+#include <utility>
namespace ingen {
@@ -43,19 +48,19 @@ public:
PluginImpl(ingen::URIs& uris, const Atom& type, const URI& uri)
: Resource(uris, uri)
, _type(type)
- , _presets_loaded(false)
- , _is_zombie(false)
- {
- }
+ {}
+
+ PluginImpl(const PluginImpl&) = delete;
+ PluginImpl& operator=(const PluginImpl&) = delete;
virtual BlockImpl* instantiate(BufferFactory& bufs,
- const Raul::Symbol& symbol,
+ const raul::Symbol& symbol,
bool polyphonic,
GraphImpl* parent,
Engine& engine,
const LilvState* state) = 0;
- virtual Raul::Symbol symbol() const = 0;
+ virtual raul::Symbol symbol() const = 0;
const Atom& type() const { return _type; }
void set_type(const Atom& t) { _type = t; }
@@ -82,12 +87,8 @@ public:
protected:
Atom _type;
Presets _presets;
- bool _presets_loaded;
- bool _is_zombie;
-
-private:
- PluginImpl(const PluginImpl&) = delete;
- PluginImpl& operator=(const PluginImpl&) = delete;
+ bool _presets_loaded{false};
+ bool _is_zombie{false};
};
} // namespace server