Remove ifstream / ofstream when accessing session template files (or creating a new...
[ardour.git] / libs / ardour / ardour / midi_operator.h
index 64ceaad841f1ad107a16b3ee5ada61f94902fc6a..b79544ed615566fb22962d01ce01ceb034d9f0a7 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
@@ -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>,
+                                    Evoral::Beats,
+                                    std::vector<Evoral::Sequence<Evoral::Beats>::Notes>&) = 0;
        virtual std::string name() const = 0;
 };