std::shared_ptr
[dcpomatic.git] / src / lib / player_text.h
index 5a8799116fff7510790ca577edcaf8a7cf3d823e..232ba65166f97b9f30d6eec9a4e0ff8c829139f0 100644 (file)
 #include "dcpomatic_time.h"
 #include "string_text.h"
 
-class Font;
+namespace dcpomatic {
+       class Font;
+}
 
 /** A set of text (subtitle/CCAP) which span the same time period */
 class PlayerText
 {
 public:
-       void add_fonts (std::list<boost::shared_ptr<Font> > fonts_);
-       std::list<boost::shared_ptr<Font> > fonts;
+       void add_fonts (std::list<std::shared_ptr<dcpomatic::Font> > fonts_);
+       std::list<std::shared_ptr<dcpomatic::Font> > fonts;
 
        /** BitmapTexts, with their rectangles transformed as specified by their content */
-       std::list<BitmapText> image;
-       std::list<StringText> text;
+       std::list<BitmapText> bitmap;
+       std::list<StringText> string;
 };
 
 #endif