diff options
| author | Carl Hetherington <cth@carlh.net> | 2018-07-07 23:16:45 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2018-07-07 23:16:45 +0100 |
| commit | ba5915461f1622715a69fa25579e5e27e64fb079 (patch) | |
| tree | 221ce87dfbac455c32459e07beb92b6003243e89 /src/subtitle.h | |
| parent | a4fb6290e31f7e197cc399c745d320442eb093d4 (diff) | |
SubtitleString -> shared_ptr<Subtitle>
Diffstat (limited to 'src/subtitle.h')
| -rw-r--r-- | src/subtitle.h | 8 |
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 |
