#ifndef __CONVERSIONTASK_H__ #define __CONVERSIONTASK_H__ #include #include #include namespace openspace { class Task { public: using ProgressCallback = std::function; virtual ~Task() = default; virtual void perform(const ProgressCallback& onProgress) = 0; virtual std::string description() = 0; static std::unique_ptr createFromDictionary(const ghoul::Dictionary& dictionary); static openspace::Documentation documentation(); }; } #endif