diff options
Diffstat (limited to 'src/mca_sub_descriptor.h')
| -rw-r--r-- | src/mca_sub_descriptor.h | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/src/mca_sub_descriptor.h b/src/mca_sub_descriptor.h index 4a2e8c09..9cbd7d4f 100644 --- a/src/mca_sub_descriptor.h +++ b/src/mca_sub_descriptor.h @@ -32,6 +32,7 @@ */ +#include "types.h" #include <libcxml/cxml.h> #include <boost/optional.hpp> #include <string> @@ -43,9 +44,8 @@ namespace dcp { class MCASubDescriptor { public: - explicit MCASubDescriptor(std::string tag_) - : tag(std::move(tag_)) - {} + MCASubDescriptor() = default; + explicit MCASubDescriptor(std::string tag_); explicit MCASubDescriptor(cxml::ConstNodePtr node); void as_xml(xmlpp::Element* node) const; @@ -62,4 +62,9 @@ public: }; +std::pair<MCASubDescriptor, std::vector<MCASubDescriptor>> create_mca_subdescriptors( + std::vector<dcp::Channel> const& extra_active_channels, int total_channels, boost::optional<std::string> language +); + + } |
