Tweak comment.
[libdcp.git] / src / subtitle.h
index 32f7457a650bc688408d6a9d570063a8ac038f00..ed63983ff7e225ebf1864568cfe545e1e2b12f42 100644 (file)
@@ -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;
        }
@@ -109,11 +113,11 @@ public:
                _v_position = p;
        }
 
-       void set_fade_up_time (dcp::Time t) {
+       void set_fade_up_time (Time t) {
                _fade_up_time = t;
        }
 
-       void set_fade_down_time (dcp::Time t) {
+       void set_fade_down_time (Time t) {
                _fade_down_time = t;
        }
 
@@ -136,3 +140,5 @@ protected:
 };
 
 }
+
+#endif