summaryrefslogtreecommitdiff
path: root/libs/evoral/evoral/EventSink.hpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2009-02-02 02:36:05 +0000
committerDavid Robillard <d@drobilla.net>2009-02-02 02:36:05 +0000
commit166ef64e3db4ab72b7b1e7455234e2b9ceddf6d8 (patch)
tree0f28067a301556c5c0a67091c691c82960db57c1 /libs/evoral/evoral/EventSink.hpp
parentead5dd45689be089d79a4a5daad88da737ca4cd9 (diff)
Make (MIDI) event time stamp type a template parameter.
git-svn-id: svn://localhost/ardour2/branches/3.0@4473 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/evoral/evoral/EventSink.hpp')
-rw-r--r--libs/evoral/evoral/EventSink.hpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/libs/evoral/evoral/EventSink.hpp b/libs/evoral/evoral/EventSink.hpp
index 3e98601a9a..c3a28df754 100644
--- a/libs/evoral/evoral/EventSink.hpp
+++ b/libs/evoral/evoral/EventSink.hpp
@@ -26,10 +26,11 @@ namespace Evoral {
/** Pure virtual base for anything you can write events to.
*/
+template<typename T>
class EventSink {
public:
virtual ~EventSink() {}
- virtual uint32_t write(EventTime time, EventType type, uint32_t size, const uint8_t* buf) = 0;
+ virtual uint32_t write(T time, EventType type, uint32_t size, const uint8_t* buf) = 0;
};