summaryrefslogtreecommitdiffstats
path: root/src/server/BlockImpl.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/server/BlockImpl.hpp')
-rw-r--r--src/server/BlockImpl.hpp17
1 files changed, 9 insertions, 8 deletions
diff --git a/src/server/BlockImpl.hpp b/src/server/BlockImpl.hpp
index 34045b6d..52ba54dd 100644
--- a/src/server/BlockImpl.hpp
+++ b/src/server/BlockImpl.hpp
@@ -88,9 +88,9 @@ public:
virtual void deactivate();
/** Duplicate this Node. */
- virtual BlockImpl* duplicate(Engine& engine,
- const Raul::Symbol& symbol,
- GraphImpl* parent) { return nullptr; }
+ virtual BlockImpl* duplicate(Engine&, const Raul::Symbol&, GraphImpl*) {
+ return nullptr;
+ }
/** Return true iff this block is activated */
bool activated() const { return _activated; }
@@ -102,15 +102,16 @@ public:
void set_enabled(bool e) { _enabled = e; }
/** Load a preset from the world for this block. */
- virtual LilvState* load_preset(const URI& uri) { return nullptr; }
+ virtual LilvState* load_preset(const URI&) { return nullptr; }
/** Restore `state`. */
- virtual void apply_state(const UPtr<Worker>& worker, const LilvState* state) {}
+ virtual void apply_state(const UPtr<Worker>&, const LilvState*) {}
/** Save current state as preset. */
- virtual boost::optional<Resource>
- save_preset(const URI& bundle,
- const Properties& props) { return boost::optional<Resource>(); }
+ virtual boost::optional<Resource> save_preset(const URI&, const Properties&)
+ {
+ return boost::optional<Resource>();
+ }
/** Learn the next incoming MIDI event (for internals) */
virtual void learn() {}