diff options
Diffstat (limited to 'src/lib/job.cc')
| -rw-r--r-- | src/lib/job.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/lib/job.cc b/src/lib/job.cc index d446b3913..22754eb90 100644 --- a/src/lib/job.cc +++ b/src/lib/job.cc @@ -223,7 +223,7 @@ Job::set_error (string e) _error = e; } -/** Set that this job's progress will always be unknown */ +/** Say that this job's progress will always be unknown */ void Job::set_progress_unknown () { @@ -231,6 +231,7 @@ Job::set_progress_unknown () _progress_unknown = true; } +/** @return Human-readable status of this job */ string Job::status () const { @@ -252,6 +253,7 @@ Job::status () const return s.str (); } +/** @return An estimate of the remaining time for this job, in seconds */ int Job::remaining_time () const { |
