summaryrefslogtreecommitdiff
path: root/src/lib/job.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/job.h')
-rw-r--r--src/lib/job.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/job.h b/src/lib/job.h
index 6310da32a..489464558 100644
--- a/src/lib/job.h
+++ b/src/lib/job.h
@@ -43,6 +43,7 @@ public:
/** @return user-readable name of this job */
virtual std::string name () const = 0;
+ virtual std::string json_name () const = 0;
/** Run this job in the current thread. */
virtual void run () = 0;
@@ -64,6 +65,7 @@ public:
int elapsed_time () const;
virtual std::string status () const;
+ std::string json_status () const;
std::string sub_name () const {
return _sub_name;
}