Marginal cleanup.
[ardour.git] / libs / ardour / ardour / io.h
index c7c91a6cf3d66ab36e5ab73e57a001bd37548fd9..1ba27a74494acb7a4237739261c68db812ec1fa1 100644 (file)
@@ -144,6 +144,7 @@ class IO : public SessionObject, public Latent
        XMLNode& get_state (void);
        int set_state (const XMLNode&, int version);
        int set_state_2X (const XMLNode&, int, bool);
+       static void prepare_for_reset (XMLNode&, const std::string&);
 
        class BoolCombiner {
        public:
@@ -151,7 +152,7 @@ class IO : public SessionObject, public Latent
                typedef bool result_type;
 
                template <typename Iter>
-               bool operator() (Iter first, Iter last) const {
+               result_type operator() (Iter first, Iter last) const {
                        bool r = false;
                        while (first != last) {
                                if (*first) {
@@ -247,6 +248,7 @@ class IO : public SessionObject, public Latent
        std::string bundle_channel_name (uint32_t, uint32_t, DataType) const;
 
        BufferSet _buffers;
+       void disconnect_check (boost::shared_ptr<ARDOUR::Port>, boost::shared_ptr<ARDOUR::Port>);
 };
 
 } // namespace ARDOUR