position+width panning improvements (reverse width now works); relabel pan automation...
[ardour.git] / libs / ardour / ardour / filter.h
index ad0c7d268cf7e7b263e19b98060d12c92ae8897b..9d69a513accfc310050903613521a04106dbf0ca 100644 (file)
@@ -1,5 +1,5 @@
 /*
-    Copyright (C) 2007 Paul Davis 
+    Copyright (C) 2007 Paul Davis
     Author: Dave Robillard
 
     This program is free software; you can redistribute it and/or modify
@@ -28,13 +28,14 @@ namespace ARDOUR {
 
 class Region;
 class Session;
+class Progress;        
 
 class Filter {
 
   public:
        virtual ~Filter() {}
 
-       virtual int run (boost::shared_ptr<ARDOUR::Region>) = 0;
+       virtual int run (boost::shared_ptr<ARDOUR::Region>, Progress* progress = 0) = 0;
        std::vector<boost::shared_ptr<ARDOUR::Region> > results;
 
   protected:
@@ -42,7 +43,7 @@ class Filter {
 
        int make_new_sources (boost::shared_ptr<ARDOUR::Region>, ARDOUR::SourceList&, std::string suffix = "");
        int finish (boost::shared_ptr<ARDOUR::Region>, ARDOUR::SourceList&, std::string region_name = "");
-       
+
        ARDOUR::Session& session;
 };