Updated cs_CZ translation from Tomáš Begeni.
[dcpomatic.git] / src / lib / atmos_content.h
index 0344b6225d5f9f599964a1185cda46b0ce0befec..cfacb9729255adc033f6d6e95fbc5fde6f450bf8 100644 (file)
@@ -1,5 +1,5 @@
 /*
-    Copyright (C) 2020 Carl Hetherington <cth@carlh.net>
+    Copyright (C) 2020-2021 Carl Hetherington <cth@carlh.net>
 
     This file is part of DCP-o-matic.
 
@@ -20,6 +20,7 @@
 
 
 #include "content_part.h"
+#include "types.h"
 
 
 class Content;
@@ -35,9 +36,10 @@ public:
 class AtmosContent : public ContentPart
 {
 public:
-       AtmosContent (Content* parent);
+       explicit AtmosContent (Content* parent);
+       AtmosContent (Content* parent, cxml::ConstNodePtr node);
 
-       static boost::shared_ptr<AtmosContent> from_xml (Content* parent, cxml::ConstNodePtr node);
+       static std::shared_ptr<AtmosContent> from_xml (Content* parent, cxml::ConstNodePtr node);
 
        void as_xml (xmlpp::Node* node) const;
 
@@ -54,8 +56,6 @@ public:
        }
 
 private:
-       AtmosContent (Content* parent, cxml::ConstNodePtr node);
-
        Frame _length;
        dcp::Fraction _edit_rate;
 };