Move get_reel_assets() out of Player, as it doesn't need to be there.
[dcpomatic.git] / src / lib / dcp_content.h
index d57c0059c753cdf621d1e9d11c7dbac02b25d82b..efdfe30f705e84c5b6abcdaa4df88b9195283253 100644 (file)
@@ -29,7 +29,9 @@
 
 
 #include "content.h"
+#include "font.h"
 #include <libcxml/cxml.h>
+#include <dcp/content_kind.h>
 #include <dcp/encrypted_kdm.h>
 #include <dcp/rating.h>
 
@@ -92,7 +94,7 @@ public:
                return _kdm;
        }
 
-       bool can_be_played () const;
+       bool can_be_played () const override;
        bool needs_kdm () const;
        bool needs_assets () const;
 
@@ -170,6 +172,8 @@ public:
                return _content_versions;
        }
 
+       void check_font_ids();
+
 private:
        friend struct reels_test5;
 
@@ -222,4 +226,9 @@ private:
 };
 
 
+extern std::string id_for_font_in_reel(std::string id, int reel);
+extern void add_fonts_from_examiner(std::shared_ptr<TextContent> text, std::vector<std::vector<std::shared_ptr<dcpomatic::Font>>> const& fonts);
+
+
+
 #endif