projects
/
dcpomatic.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Assorted tidying.
[dcpomatic.git]
/
src
/
lib
/
analyse_subtitles_job.h
diff --git
a/src/lib/analyse_subtitles_job.h
b/src/lib/analyse_subtitles_job.h
index 88b5d23dc80645e15d7c6c6c8f35539053a0411c..daaaf267a6b9a346fe0b04a2d16e27120eac667d 100644
(file)
--- a/
src/lib/analyse_subtitles_job.h
+++ b/
src/lib/analyse_subtitles_job.h
@@
-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.
This file is part of DCP-o-matic.
@@
-18,21
+18,24
@@
*/
*/
+
#include "job.h"
#include "types.h"
#include "player_text.h"
#include "job.h"
#include "types.h"
#include "player_text.h"
+
class Film;
class Content;
class Film;
class Content;
+
class AnalyseSubtitlesJob : public Job
{
public:
class AnalyseSubtitlesJob : public Job
{
public:
- AnalyseSubtitlesJob (
boost::shared_ptr<const Film> film, boost
::shared_ptr<Content> content);
+ 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;
boost::filesystem::path path () const {
return _path;
@@
-41,8
+44,8
@@
public:
private:
void analyse (PlayerText text, TextType type);
private:
void analyse (PlayerText text, TextType type);
-
boost
::weak_ptr<Content> _content;
+
std
::weak_ptr<Content> _content;
boost::filesystem::path _path;
boost::filesystem::path _path;
- boost::optional<dcpomatic::Rect<double>
> _bounding_box;
+ boost::optional<dcpomatic::Rect<double>> _bounding_box;
};
};