diff options
| author | Carl Hetherington <cth@carlh.net> | 2015-01-13 23:04:11 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2015-01-13 23:04:11 +0000 |
| commit | f1ba458a19a9b998ecdb1db726106876953abcc0 (patch) | |
| tree | 1e414103fec758275f92dff3b7973cc02dbf39a3 /src/subtitle.h | |
| parent | d15ef17dccf87b633d1971c38032a2049abe3db0 (diff) | |
Various development / fixes.rework
Diffstat (limited to 'src/subtitle.h')
| -rw-r--r-- | src/subtitle.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/subtitle.h b/src/subtitle.h index d747a60..582823b 100644 --- a/src/subtitle.h +++ b/src/subtitle.h @@ -67,6 +67,8 @@ public: bool underline; ///< true to underline }; +bool operator== (Block const & a, Block const & b); + /** @class Line * @brief A line of text within a subtitle. * @@ -88,6 +90,8 @@ public: bool same_metadata (RawSubtitle) const; }; +bool operator== (Line const & a, Line const & b); + /** @class Subtitle * @brief A subtitle which has been collected into lines and blocks. * @@ -102,7 +106,7 @@ public: /** Construct a Line taking any relevant information from a RawSubtitle */ Subtitle (RawSubtitle s); - + /** from time */ Time from; /** to time */ @@ -116,6 +120,9 @@ public: bool same_metadata (RawSubtitle) const; }; +bool operator== (Subtitle const & a, Subtitle const & b); +std::ostream & operator<< (std::ostream &, Subtitle const & sub); + } #endif |
