projects
/
dcpomatic.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Missing file.
[dcpomatic.git]
/
src
/
lib
/
job.h
diff --git
a/src/lib/job.h
b/src/lib/job.h
index 343d400958b0864caa46d9cbf2226e3c3ece5cbd..9b8b14a93a2efc434b70297b9a2dbd51773e895a 100644
(file)
--- a/
src/lib/job.h
+++ b/
src/lib/job.h
@@
-70,6
+70,9
@@
public:
void ascend ();
void descend (float);
float overall_progress () const;
void ascend ();
void descend (float);
float overall_progress () const;
+ bool progress_unknown () const {
+ return _progress_unknown;
+ }
boost::signals2::signal<void()> Progress;
/** Emitted from the UI thread when the job is finished */
boost::signals2::signal<void()> Progress;
/** Emitted from the UI thread when the job is finished */
@@
-126,6
+129,8
@@
private:
/** true if this job's progress will always be unknown */
bool _progress_unknown;
/** true if this job's progress will always be unknown */
bool _progress_unknown;
+ float _last_set;
+
int _ran_for;
};
int _ran_for;
};