continue with MTC debugging
[ardour.git] / libs / ardour / ardour / midi_operator.h
index e3ed6aabfd18b57cb0c2e2f6759d4429725b8203..31e412bafe05124367a4fceef3cb806604d21a54 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
 #include "evoral/types.hpp"
 #include "evoral/Sequence.hpp"
 
+class Command;
+
 namespace ARDOUR {
 
+class MidiModel;
+
 class MidiOperator {
   public:
-       MidiOperator() {}
+       MidiOperator () {}
        virtual ~MidiOperator() {}
-       
-       virtual int operator() (std::vector<Evoral::Sequence<Evoral::MusicalTime>::Notes>&) = 0;
+
+       virtual Command* operator() (boost::shared_ptr<ARDOUR::MidiModel>, std::vector<Evoral::Sequence<Evoral::MusicalTime>::Notes>&) = 0;
        virtual std::string name() const = 0;
 };