/*
- Copyright (C) 2007 Paul Davis
+ Copyright (C) 2007 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
#ifndef __ardour_midi_stretch_h__
#define __ardour_midi_stretch_h__
-#include <ardour/filter.h>
+#include "ardour/filter.h"
+#include "ardour/timefx_request.h"
namespace ARDOUR {
-class MidiStretch : public Filter {
+class LIBARDOUR_API MidiStretch : public Filter {
public:
- MidiStretch (ARDOUR::Session&, TimeFXRequest&);
+ MidiStretch (ARDOUR::Session&, const TimeFXRequest&);
~MidiStretch ();
- int run (boost::shared_ptr<ARDOUR::Region>);
+ int run (boost::shared_ptr<ARDOUR::Region>, Progress* progress = 0);
private:
- TimeFXRequest& _request;
+ const TimeFXRequest& _request;
};
} /* namespace ARDOUR */