fix mute automation for busses & consolidate code.
[ardour.git] / libs / ardour / ardour / session_object.h
index 08d5e242f8c45c6f75d6b8cb1a18e92b4e5323c0..ac74f07b7700c3522e13f7597abc620487fa25d2 100644 (file)
@@ -31,7 +31,7 @@
 namespace ARDOUR {
 
 namespace Properties {
-       extern PBD::PropertyDescriptor<std::string> name;
+       LIBARDOUR_API extern PBD::PropertyDescriptor<std::string> name;
 }
 
 class Session;
@@ -40,7 +40,7 @@ class Session;
     expected to be destroyed before the session calls drop_references().
  */
 
-class SessionObject : public SessionHandleRef, public PBD::StatefulDestructible
+class LIBARDOUR_API SessionObject : public SessionHandleRef, public PBD::StatefulDestructible
 {
   public:
        static void make_property_quarks ();
@@ -51,7 +51,7 @@ class SessionObject : public SessionHandleRef, public PBD::StatefulDestructible
        {
                add_property (_name);
        }
-       
+
        Session&    session() const { return _session; }
        std::string name()    const { return _name; }