implement lv2:designation processing#enable (for bypass ports)
[ardour.git] / libs / ardour / ardour / profile.h
index 5d4e61183330a462ace20d981c17555ba92e8981..cc3ae4f60f586bd2d1d6aae61d1ad037bf8976e0 100644 (file)
 #include <boost/dynamic_bitset.hpp>
 #include <stdint.h>
 
+#include "ardour/libardour_visibility.h"
+
 namespace ARDOUR {
 
-class RuntimeProfile {
+class LIBARDOUR_API RuntimeProfile {
 public:
        enum Element {
                SmallScreen,
-               SAE,
                SinglePackage,
-               LastElement
+               Trx,
+               Mixbus,
+               LastElement,
        };
 
     RuntimeProfile() { bits.resize (LastElement); }
@@ -40,8 +43,11 @@ public:
     void set_small_screen() { bits[SmallScreen] = true; }
     bool get_small_screen() const { return bits[SmallScreen]; }
 
-    void set_sae () { bits[SAE] = true; }
-    bool get_sae () const { return bits[SAE]; }
+    bool get_trx() const { return bits[Trx]; }
+    void set_trx() { bits[Trx] = true; }
+
+    bool get_mixbus() const { return bits[Mixbus]; }
+    void set_mixbus() { bits[Mixbus] = true; }
 
     void set_single_package () { bits[SinglePackage] = true; }
     bool get_single_package () const { return bits[SinglePackage]; }
@@ -51,7 +57,7 @@ private:
 
 };
 
-extern RuntimeProfile* Profile;
+LIBARDOUR_API extern RuntimeProfile* Profile;
 
 }; // namespace ARDOUR