diff options
| author | Carl Hetherington <cth@carlh.net> | 2017-07-24 01:58:25 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2017-07-24 01:58:25 +0100 |
| commit | 140ebe37bde0c9c9b84e8961573a7e65d3bd7b19 (patch) | |
| tree | 830d6de2e1aae3498a47fd12539542ac07bb440c /src/subtitle.h | |
| parent | 91d8979878ba731b2d86d7aa5dc30f6a3c1a75f1 (diff) | |
Add some operator==.
Diffstat (limited to 'src/subtitle.h')
| -rw-r--r-- | src/subtitle.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/subtitle.h b/src/subtitle.h index af9ac33..f4295a2 100644 --- a/src/subtitle.h +++ b/src/subtitle.h @@ -67,6 +67,8 @@ public: bool underline; ///< true to underline }; +extern bool operator== (Block const & a, Block const & b); + /** @class Line * @brief A line of text within a subtitle. * @@ -92,6 +94,8 @@ public: bool same_metadata (RawSubtitle) const; }; +extern bool operator== (Line const & a, Line const & b); + /** @class Subtitle * @brief A subtitle which has been collected into lines and blocks. * @@ -120,6 +124,8 @@ public: bool same_metadata (RawSubtitle) const; }; +extern bool operator== (Subtitle const & a, Subtitle const & b); + } #endif |
