shared_ptr is a bit excessive for DecodeOptions.
[dcpomatic.git] / src / lib / check_hashes_job.h
index 7e62b0e7ac83424407deb7e4fe5633172fad623a..5fa17382db17cbb0935554c91e53805e1adcdf9a 100644 (file)
 */
 
 #include "job.h"
-
-class DecodeOptions;
+#include "options.h"
 
 class CheckHashesJob : public Job
 {
 public:
        CheckHashesJob (
                boost::shared_ptr<Film> f,
-               boost::shared_ptr<const DecodeOptions> od,
+               DecodeOptions od,
                boost::shared_ptr<Job> req
                );
 
@@ -35,6 +34,6 @@ public:
        std::string status () const;
 
 private:
-       boost::shared_ptr<const DecodeOptions> _decode_opt;
+       DecodeOptions _decode_opt;
        int _bad;
 };