move gui_changed() signal from Route to Stripable
[ardour.git] / libs / ardour / ardour / auto_bundle.h
index 685a083e8d787db43e7775769c51403ca0f28dea..703aa8e73d6ce702cbac9c159a674283ef5ad1ff 100644 (file)
@@ -1,5 +1,5 @@
 /*
-    Copyright (C) 2007 Paul Davis 
+    Copyright (C) 2007 Paul Davis
 
     This program is free software; you can redistribute it and/or modify
     it under the terms of the GNU General Public License as published by
 #define __ardour_auto_bundle_h__
 
 #include <vector>
-#include <glibmm/thread.h>
+#include <glibmm/threads.h>
 #include "ardour/bundle.h"
 
 namespace ARDOUR {
 
-class AutoBundle : public Bundle {
+class LIBARDOUR_API AutoBundle : public Bundle {
 
   public:
        AutoBundle (bool i = true);
        AutoBundle (std::string const &, bool i = true);
 
-       uint32_t nchannels () const;
+       ChanCount nchannels () const;
        const PortList& channel_ports (uint32_t) const;
 
        void set_channels (uint32_t);
        void set_port (uint32_t, std::string const &);
 
   private:
-       /// mutex for _ports;
-       /// XXX: is this necessary?
-       mutable Glib::Mutex _ports_mutex;
-       std::vector<PortList> _ports;
 };
 
-}      
-       
+}
+
 #endif /* __ardour_auto_bundle_h__ */