25 #ifndef __SYNFIG_RENDERPROGRESS_H
26 #define __SYNFIG_RENDERPROGRESS_H
30 #include <boost/chrono.hpp>
52 size_t last_printed_line_length_;
54 typedef boost::chrono::system_clock Clock;
55 typedef boost::chrono::duration<double> Duration;
56 Clock::time_point start_timepoint_;
57 Clock::time_point last_timepoint_;
58 double remaining_rendered_proportion_;
60 void printRemainingTime(std::ostream& os,
double remaining_seconds)
const;
62 void printRemainingTime(std::ostream& os,
63 const int seconds,
const int minutes,
64 const int hours,
const int days,
65 const int weeks)
const;
67 size_t last_line_length)
const;