projects
/
libdcp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Try to add basic decryption support to dcpdiff.
[libdcp.git]
/
src
/
smpte_subtitle_content.h
diff --git
a/src/smpte_subtitle_content.h
b/src/smpte_subtitle_content.h
index b760f7279317939c1897d459894deea26497473b..a47cbb3c20b8eb8d4942185ea8ce1fbf75df9f8b 100644
(file)
--- a/
src/smpte_subtitle_content.h
+++ b/
src/smpte_subtitle_content.h
@@
-1,5
+1,5
@@
/*
/*
- Copyright (C) 2012-201
4
Carl Hetherington <cth@carlh.net>
+ Copyright (C) 2012-201
5
Carl Hetherington <cth@carlh.net>
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@
-18,6
+18,7
@@
*/
#include "subtitle_content.h"
*/
#include "subtitle_content.h"
+#include <boost/filesystem.hpp>
namespace dcp {
namespace dcp {
@@
-26,9
+27,15
@@
class SMPTELoadFont;
class SMPTESubtitleContent : public SubtitleContent
{
public:
class SMPTESubtitleContent : public SubtitleContent
{
public:
- /** @param file MXF file */
- SMPTESubtitleContent (boost::filesystem::path file);
+ /** @param file File name
+ * @param mxf true if `file' is a MXF, or false if it is an XML file.
+ */
+ SMPTESubtitleContent (boost::filesystem::path file, bool mxf = true);
+ std::list<boost::shared_ptr<LoadFont> > load_font_nodes () const;
+
+ static bool valid_mxf (boost::filesystem::path);
+
private:
std::list<boost::shared_ptr<SMPTELoadFont> > _load_font_nodes;
};
private:
std::list<boost::shared_ptr<SMPTELoadFont> > _load_font_nodes;
};