summaryrefslogtreecommitdiff
path: root/libs/evoral/evoral/TypeMap.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'libs/evoral/evoral/TypeMap.hpp')
-rw-r--r--libs/evoral/evoral/TypeMap.hpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/libs/evoral/evoral/TypeMap.hpp b/libs/evoral/evoral/TypeMap.hpp
index 91986e0dcb..9e3d64a047 100644
--- a/libs/evoral/evoral/TypeMap.hpp
+++ b/libs/evoral/evoral/TypeMap.hpp
@@ -47,7 +47,12 @@ public:
virtual uint32_t midi_event_type(uint8_t status) const = 0;
/** Return true iff parameter should be locked to integer boundaries */
- bool is_integer(const Evoral::Parameter& param) const;
+ virtual bool is_integer(const Evoral::Parameter& param) const = 0;
+
+ /** Create a parameter with the given type ID */
+ virtual Parameter new_parameter(uint32_t type, uint8_t channel, uint32_t id) const = 0;
+
+ virtual std::string to_symbol(const Parameter& param) const = 0;
};
} // namespace Evoral