summaryrefslogtreecommitdiff
path: root/src/subtitle_content.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2014-02-05 11:01:05 +0000
committerCarl Hetherington <cth@carlh.net>2014-02-05 11:01:05 +0000
commit78c94420750c505e59d584c34b33acc953946c2a (patch)
treec58e818e8948d24d0f49dde46fe7bef3feea90ca /src/subtitle_content.h
parent15137597824b263c875bd427f7d121eae28d45a6 (diff)
Small bits of tidying up and comments.
Diffstat (limited to 'src/subtitle_content.h')
-rw-r--r--src/subtitle_content.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/subtitle_content.h b/src/subtitle_content.h
index 476f8fe4..c4d0012b 100644
--- a/src/subtitle_content.h
+++ b/src/subtitle_content.h
@@ -42,10 +42,6 @@ public:
SubtitleContent (boost::filesystem::path file);
SubtitleContent (Fraction edit_rate, std::string movie_title, std::string language);
- std::string pkl_type () const {
- return "text/xml";
- }
-
bool equals (
boost::shared_ptr<const Content>,
EqualityOptions,
@@ -70,6 +66,11 @@ public:
void write_xml () const;
Glib::ustring xml_as_string () const;
+protected:
+ std::string pkl_type () const {
+ return "text/xml";
+ }
+
private:
std::string font_id_to_name (std::string id) const;