summaryrefslogtreecommitdiff
path: root/src/lib/subtitle_encoder.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2021-05-03 11:17:34 +0200
committerCarl Hetherington <cth@carlh.net>2021-05-03 20:18:04 +0200
commit689fa55d1529ad88449ca464e9107c4dcc54d1cb (patch)
treeedd1264941263f2fa25a98d61f98c87876c5b667 /src/lib/subtitle_encoder.h
parent0aabe4060ea4bad7c7caac633aef0737fccff8c2 (diff)
C++11 tidying.
Diffstat (limited to 'src/lib/subtitle_encoder.h')
-rw-r--r--src/lib/subtitle_encoder.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/lib/subtitle_encoder.h b/src/lib/subtitle_encoder.h
index 165d5fcb6..a88c6c5bf 100644
--- a/src/lib/subtitle_encoder.h
+++ b/src/lib/subtitle_encoder.h
@@ -1,5 +1,5 @@
/*
- Copyright (C) 2019 Carl Hetherington <cth@carlh.net>
+ Copyright (C) 2019-2021 Carl Hetherington <cth@carlh.net>
This file is part of DCP-o-matic.
@@ -18,18 +18,22 @@
*/
+
#include "types.h"
#include "player_text.h"
#include "dcp_text_track.h"
#include "encoder.h"
#include "dcpomatic_time.h"
+
namespace dcp {
class SubtitleAsset;
}
+
class Film;
+
/** @class SubtitleEncoder.
* @brief An `encoder' which extracts a film's subtitles to DCP XML format.
*/
@@ -38,7 +42,7 @@ class SubtitleEncoder : public Encoder
public:
SubtitleEncoder (std::shared_ptr<const Film> film, std::shared_ptr<Job> job, boost::filesystem::path output, std::string intial_name, bool split_reels, bool include_font);
- void go ();
+ void go () override;
/** @return the number of frames that are done */
Frame frames_done () const;