convert codebase to use Temporal for various time types
[ardour.git] / libs / ardour / ardour / midi_operator.h
index 64ceaad841f1ad107a16b3ee5ada61f94902fc6a..24c5d801678303fc1677e1aa3cdac757169ffa7d 100644 (file)
@@ -1,5 +1,5 @@
 /*
-    Copyright (C) 2009 Paul Davis 
+    Copyright (C) 2009 Paul Davis
 
     This program is free software; you can redistribute it and/or modify
     it under the terms of the GNU General Public License as published by
@@ -23,7 +23,7 @@
 #include <vector>
 #include <string>
 
-#include "evoral/types.hpp"
+#include "temporal/beats.h"
 #include "evoral/Sequence.hpp"
 
 class Command;
@@ -32,12 +32,14 @@ namespace ARDOUR {
 
 class MidiModel;
 
-class MidiOperator {
+class LIBARDOUR_API MidiOperator {
   public:
        MidiOperator () {}
        virtual ~MidiOperator() {}
-       
-       virtual Command* operator() (boost::shared_ptr<ARDOUR::MidiModel>, std::vector<Evoral::Sequence<Evoral::MusicalTime>::Notes>&) = 0;
+
+       virtual Command* operator() (boost::shared_ptr<ARDOUR::MidiModel>,
+                                    Temporal::Beats,
+                                    std::vector<Evoral::Sequence<Temporal::Beats>::Notes>&) = 0;
        virtual std::string name() const = 0;
 };