Add some basic JSON stuff.
[dcpomatic.git] / src / lib / examine_content_job.cc
index 6d5f4faf9e690b754e621883452a1253234c775b..8f16e2e5c0c069e2ab601c4bf91cec39c1e3cebc 100644 (file)
 #include "examine_content_job.h"
 #include "log.h"
 #include "content.h"
+#include "film.h"
 
 #include "i18n.h"
 
 using std::string;
+using std::cout;
 using boost::shared_ptr;
 
-ExamineContentJob::ExamineContentJob (shared_ptr<Film> f, shared_ptr<Content> c)
+ExamineContentJob::ExamineContentJob (shared_ptr<const Film> f, shared_ptr<Content> c)
        : Job (f)
        , _content (c)
 {
@@ -44,6 +46,12 @@ ExamineContentJob::name () const
        return _("Examine content");
 }
 
+string
+ExamineContentJob::json_name () const
+{
+       return N_("examine_content");
+}
+
 void
 ExamineContentJob::run ()
 {