summaryrefslogtreecommitdiff
path: root/src/subtitle_image.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2018-07-07 23:16:45 +0100
committerCarl Hetherington <cth@carlh.net>2018-07-07 23:16:45 +0100
commitba5915461f1622715a69fa25579e5e27e64fb079 (patch)
tree221ce87dfbac455c32459e07beb92b6003243e89 /src/subtitle_image.h
parenta4fb6290e31f7e197cc399c745d320442eb093d4 (diff)
SubtitleString -> shared_ptr<Subtitle>
Diffstat (limited to 'src/subtitle_image.h')
-rw-r--r--src/subtitle_image.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/subtitle_image.h b/src/subtitle_image.h
index e12c5733..d0c47328 100644
--- a/src/subtitle_image.h
+++ b/src/subtitle_image.h
@@ -65,10 +65,18 @@ public:
Time fade_down_time
);
+ Data png_image () const {
+ return _png_image;
+ }
+
private:
Data _png_image;
};
+bool operator== (SubtitleImage const & a, SubtitleImage const & b);
+bool operator!= (SubtitleImage const & a, SubtitleImage const & b);
+std::ostream& operator<< (std::ostream& s, SubtitleImage const & sub);
+
}
#endif