projects
/
dcpomatic.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Basic adaptations for changes to libdcp1 colour conversion handling.
[dcpomatic.git]
/
src
/
wx
/
job_manager_view.h
diff --git
a/src/wx/job_manager_view.h
b/src/wx/job_manager_view.h
index 5a3ae61cb8c6fab8c2b84dbcb97ee5a5c3e5b1a3..fde9199ffb80d5890e0397a08e006d719a07c414 100644
(file)
--- a/
src/wx/job_manager_view.h
+++ b/
src/wx/job_manager_view.h
@@
-26,6
+26,7
@@
#include <wx/wx.h>
class Job;
#include <wx/wx.h>
class Job;
+class JobRecord;
/** @class JobManagerView
* @brief Class which is a wxPanel for showing the progress of jobs.
/** @class JobManagerView
* @brief Class which is a wxPanel for showing the progress of jobs.
@@
-35,19
+36,14
@@
class JobManagerView : public wxScrolledWindow
public:
JobManagerView (wxWindow *);
public:
JobManagerView (wxWindow *);
- void update ();
-
private:
private:
- void periodic (wxTimerEvent &);
+ void job_added (boost::weak_ptr<Job>);
+ void periodic ();
+ void sized (wxSizeEvent &);
- boost::shared_ptr<wxTimer> _timer;
wxPanel* _panel;
wxFlexGridSizer* _table;
wxPanel* _panel;
wxFlexGridSizer* _table;
- struct JobRecord {
- wxGauge* gauge;
- wxStaticText* message;
- bool informed_of_finish;
- };
+ boost::shared_ptr<wxTimer> _timer;
- std::
map<boost::shared_ptr<Job>, JobRecord
> _job_records;
+ std::
list<boost::shared_ptr<JobRecord>
> _job_records;
};
};