Fix job ordering when sending notification emails (more of #1286).
[dcpomatic.git] / src / lib / job_manager.h
index 9cba0fd094a46bd44796532543e6e7ac9ebce4ac..a382dd7363732cc4ddd20fad782005bd438ea2ff 100644 (file)
@@ -41,6 +41,7 @@ class JobManager : public Signaller, public boost::noncopyable
 {
 public:
        boost::shared_ptr<Job> add (boost::shared_ptr<Job>);
+       boost::shared_ptr<Job> add_after (boost::shared_ptr<Job> after, boost::shared_ptr<Job> j);
        std::list<boost::shared_ptr<Job> > get () const;
        bool work_to_do () const;
        bool errors () const;