summaryrefslogtreecommitdiff
path: root/src/subtitle.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/subtitle.h')
-rw-r--r--src/subtitle.h9
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