Try again to fix Windows build of previous.
[libdcp.git] / src / subtitle.h
index 32f7457a650bc688408d6a9d570063a8ac038f00..6317a741a229c2025e1e4835f111dc0afb48367e 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,15 +56,18 @@ public:
                Time fade_down_time
                );
 
+       virtual ~Subtitle () {}
+
+       /** @return subtitle start time (relative to the start of the reel) */
        Time in () const {
                return _in;
        }
 
+       /** @return subtitle finish time (relative to the start of the reel) */
        Time out () const {
                return _out;
        }
 
-
        float h_position () const {
                return _h_position;
        }
@@ -109,11 +115,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 +142,5 @@ protected:
 };
 
 }
+
+#endif