diff options
Diffstat (limited to 'src/verify.h')
| -rw-r--r-- | src/verify.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/src/verify.h b/src/verify.h index b5d913bd..204d83b0 100644 --- a/src/verify.h +++ b/src/verify.h @@ -58,6 +58,9 @@ namespace dcp { +class SubtitleAsset; + + class VerificationNote { public: @@ -675,6 +678,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 + ); + } |
