diff options
| author | Carl Hetherington <cth@carlh.net> | 2015-03-24 23:57:22 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2015-03-24 23:57:22 +0000 |
| commit | a71a3b3d0f8545e44af75ded10dfda4a382158f2 (patch) | |
| tree | efb300dac7006409079d544eecc9dc1e5b792e45 /src/lib/job.h | |
| parent | 86aaba4f392c35ccf28221049f87b8cdba868777 (diff) | |
Hand-apply e30fd8d; resurrect JSON server code.
Diffstat (limited to 'src/lib/job.h')
| -rw-r--r-- | src/lib/job.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/job.h b/src/lib/job.h index f6120f128..7c6707880 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; } |
