diff options
Diffstat (limited to 'task.h')
-rw-r--r-- | task.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -31,6 +31,8 @@ public: virtual std::vector<std::string> depends() const = 0; virtual std::string target() const = 0; + virtual std::string toJSON() const { return {}; }; + protected: std::atomic<State> task_state{State::Unknown}; virtual int runInner() { return 0; }; |