Skip to content

v0.2.51..v0.2.52 changeset MapCleaner.h

Garret Voltz edited this page Jan 15, 2020 · 1 revision
diff --git a/hoot-core/src/main/cpp/hoot/core/ops/MapCleaner.h b/hoot-core/src/main/cpp/hoot/core/ops/MapCleaner.h
index c007370..d2a5c56 100644
--- a/hoot-core/src/main/cpp/hoot/core/ops/MapCleaner.h
+++ b/hoot-core/src/main/cpp/hoot/core/ops/MapCleaner.h
@@ -30,6 +30,7 @@
 
 // Hoot
 #include <hoot/core/ops/OsmMapOperation.h>
+#include <hoot/core/util/Progress.h>
 
 // Qt
 #include <QString>
@@ -50,12 +51,17 @@ public:
   static QString opsKey() { return "map.cleaner.transforms"; }
 
   MapCleaner();
+  MapCleaner(const Progress& progress);
 
   virtual ~MapCleaner() {}
 
   virtual void apply(std::shared_ptr<OsmMap>& map) override;
 
   virtual QString getDescription() const override { return "Cleans map data"; }
+
+private:
+
+  Progress _progress;
 };
 
 }
Clone this wiki locally