projects
/
dcpomatic.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Allow specifying and writing sign language video language metadata (#2062).
[dcpomatic.git]
/
src
/
lib
/
string_text_file_content.h
diff --git
a/src/lib/string_text_file_content.h
b/src/lib/string_text_file_content.h
index 936e894d8a567e663edfb1c3602b3229b56c656d..aec86181ccc8ab58adb902c8a6c4e6bc25345a16 100644
(file)
--- a/
src/lib/string_text_file_content.h
+++ b/
src/lib/string_text_file_content.h
@@
-1,5
+1,5
@@
/*
/*
- Copyright (C) 2014-20
18
Carl Hetherington <cth@carlh.net>
+ Copyright (C) 2014-20
21
Carl Hetherington <cth@carlh.net>
This file is part of DCP-o-matic.
This file is part of DCP-o-matic.
@@
-18,10
+18,13
@@
*/
*/
+
#include "content.h"
#include "content.h"
+
class Job;
class Job;
+
/** @class StringTextFileContent
* @brief A SubRip, SSA or ASS file.
*/
/** @class StringTextFileContent
* @brief A SubRip, SSA or ASS file.
*/
@@
-31,21
+34,22
@@
public:
StringTextFileContent (boost::filesystem::path);
StringTextFileContent (cxml::ConstNodePtr, int);
StringTextFileContent (boost::filesystem::path);
StringTextFileContent (cxml::ConstNodePtr, int);
-
boost
::shared_ptr<StringTextFileContent> shared_from_this () {
- return
boost
::dynamic_pointer_cast<StringTextFileContent> (Content::shared_from_this ());
+
std
::shared_ptr<StringTextFileContent> shared_from_this () {
+ return
std
::dynamic_pointer_cast<StringTextFileContent> (Content::shared_from_this ());
}
}
-
boost
::shared_ptr<const StringTextFileContent> shared_from_this () const {
- return
boost
::dynamic_pointer_cast<const StringTextFileContent> (Content::shared_from_this ());
+
std
::shared_ptr<const StringTextFileContent> shared_from_this () const {
+ return
std
::dynamic_pointer_cast<const StringTextFileContent> (Content::shared_from_this ());
}
}
- void examine (
boost::shared_ptr<const Film> film, boost
::shared_ptr<Job>);
+ void examine (
std::shared_ptr<const Film> film, std
::shared_ptr<Job>);
std::string summary () const;
std::string technical_summary () const;
void as_xml (xmlpp::Node *, bool with_paths) const;
std::string summary () const;
std::string technical_summary () const;
void as_xml (xmlpp::Node *, bool with_paths) const;
- DCPTime full_length (boost::shared_ptr<const Film> film) const;
- DCPTime approximate_length () const;
+ dcpomatic::DCPTime full_length (std::shared_ptr<const Film> film) const;
+ dcpomatic::DCPTime approximate_length () const;
+ std::string identifier () const;
private:
private:
- ContentTime _length;
+
dcpomatic::
ContentTime _length;
};
};