Remove all use of add_child() from xmlpp.
[dcpomatic.git] / src / lib / audio_mapping.h
index 0f59cc205ee35937f6ed9727aab40aef4c9d4dcd..68487d908f2cb1613bb93cf4f2015816ece95aff 100644 (file)
@@ -52,7 +52,7 @@ public:
 
        /* Default copy constructor is fine */
 
-       void as_xml (xmlpp::Node *) const;
+       void as_xml(xmlpp::Element*) const;
 
        void make_zero ();
        void make_default (AudioProcessor const * processor, boost::optional<boost::filesystem::path> filename = boost::optional<boost::filesystem::path>());
@@ -76,6 +76,8 @@ public:
        std::list<int> mapped_output_channels () const;
        void unmap_all ();
 
+       void take_from(AudioMapping const& other);
+
 private:
        void setup (int input_channels, int output_channels);