summaryrefslogtreecommitdiff
path: root/src/verify.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/verify.h')
-rw-r--r--src/verify.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/verify.h b/src/verify.h
index d8681b73..e9a67f83 100644
--- a/src/verify.h
+++ b/src/verify.h
@@ -59,6 +59,7 @@ namespace dcp {
class DCP;
+class SubtitleAsset;
class VerificationNote
@@ -718,6 +719,21 @@ bool operator< (dcp::VerificationNote const& a, dcp::VerificationNote const& b);
std::ostream& operator<<(std::ostream& s, dcp::VerificationNote const& note);
+struct LinesCharactersResult
+{
+ bool warning_length_exceeded = false;
+ bool error_length_exceeded = false;
+ bool line_count_exceeded = false;
+};
+
+
+extern void verify_text_lines_and_characters(
+ std::shared_ptr<const dcp::SubtitleAsset> asset,
+ int warning_length,
+ int error_length,
+ dcp::LinesCharactersResult* result
+ );
+
}