summaryrefslogtreecommitdiff
path: root/src/subtitle.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/subtitle.h')
-rw-r--r--src/subtitle.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/subtitle.h b/src/subtitle.h
index 32f7457a..8dba299d 100644
--- a/src/subtitle.h
+++ b/src/subtitle.h
@@ -31,6 +31,9 @@
files in the program, then also delete it here.
*/
+#ifndef LIBDCP_SUBTITLE_H
+#define LIBDCP_SUBTITLE_H
+
/** @file src/subtitle.h
* @brief Subtitle class.
*/
@@ -53,6 +56,8 @@ public:
Time fade_down_time
);
+ virtual ~Subtitle () {}
+
Time in () const {
return _in;
}
@@ -61,7 +66,6 @@ public:
return _out;
}
-
float h_position () const {
return _h_position;
}
@@ -136,3 +140,5 @@ protected:
};
}
+
+#endif