Tidy.
[ardour.git] / libs / ardour / ardour / event_type_map.h
index 99911121c55b414e12a9916dd5add428ff06e69b..feddc4596849b729b4727809a1d9e98d47add7f0 100644 (file)
@@ -23,6 +23,7 @@
 
 #include <string>
 #include <evoral/TypeMap.hpp>
+#include <evoral/ControlList.hpp>
 
 namespace ARDOUR {
 
@@ -34,11 +35,14 @@ public:
        bool     type_is_midi(uint32_t type) const;
        uint8_t  parameter_midi_type(const Evoral::Parameter& param) const;
        uint32_t midi_event_type(uint8_t status) const;
+       Evoral::ControlList::InterpolationStyle interpolation_of(const Evoral::Parameter& param);
 
-       bool              is_integer(const Evoral::Parameter& param) const;
-       Evoral::Parameter new_parameter(uint32_t type, uint8_t channel=0, uint32_t id=0) const;
-       Evoral::Parameter new_parameter(const std::string& str) const;
-       std::string       to_symbol(const Evoral::Parameter& param) const;
+       bool                 is_integer(const Evoral::Parameter& param) const;
+       Evoral::Parameter    new_parameter(uint32_t type, uint8_t channel=0, uint32_t id=0) const;
+       Evoral::Parameter    new_parameter(const std::string& str) const;
+       std::string          to_symbol(const Evoral::Parameter& param) const;
+       
+       bool                 is_midi_parameter(const Evoral::Parameter& param);
 
        static EventTypeMap& instance() { return event_type_map; }
 
@@ -46,6 +50,10 @@ private:
        static EventTypeMap event_type_map;
 };
 
+enum InternalEventType {
+       LoopEventType = 1000
+};
+
 } // namespace ARDOUR
 
 #endif /* __ardour_event_type_map_h__ */