Add basic Collator::find() method.
[dcpomatic.git] / src / lib / analyse_subtitles_job.h
index 5ad9dd4a4dae2e8f57198ee88d7f5efaf2ef75cc..ef720ef09733b49557a23fd17af477bd43dc45f6 100644 (file)
@@ -1,5 +1,5 @@
 /*
-    Copyright (C) 2020 Carl Hetherington <cth@carlh.net>
+    Copyright (C) 2020-2021 Carl Hetherington <cth@carlh.net>
 
     This file is part of DCP-o-matic.
 
 
 */
 
+
 #include "job.h"
-#include "types.h"
 #include "player_text.h"
+#include "text_type.h"
+
 
 class Film;
 class Content;
 
+
 class AnalyseSubtitlesJob : public Job
 {
 public:
        AnalyseSubtitlesJob (std::shared_ptr<const Film> film, std::shared_ptr<Content> content);
 
-       std::string name () const;
-       std::string json_name () const;
-       void run ();
+       std::string name () const override;
+       std::string json_name () const override;
+       void run () override;
 
        boost::filesystem::path path () const {
                return _path;
@@ -43,6 +46,6 @@ private:
 
        std::weak_ptr<Content> _content;
        boost::filesystem::path _path;
-       boost::optional<dcpomatic::Rect<double> > _bounding_box;
+       boost::optional<dcpomatic::Rect<double>> _bounding_box;
 };