add new element to ARDOUR::RuntimeProfile

This commit is contained in:
Paul Davis 2014-04-10 04:10:08 -04:00
parent 4652671a88
commit 01af11c25c

View file

@ -33,7 +33,8 @@ public:
SmallScreen, SmallScreen,
SAE, SAE,
SinglePackage, SinglePackage,
LastElement Tracks,
LastElement,
}; };
RuntimeProfile() { bits.resize (LastElement); } RuntimeProfile() { bits.resize (LastElement); }
@ -45,6 +46,9 @@ public:
void set_sae () { bits[SAE] = true; } void set_sae () { bits[SAE] = true; }
bool get_sae () const { return bits[SAE]; } bool get_sae () const { return bits[SAE]; }
bool get_tracks() const { return bits[Tracks]; }
void set_tracks() { bits[Tracks] = true; }
void set_single_package () { bits[SinglePackage] = true; } void set_single_package () { bits[SinglePackage] = true; }
bool get_single_package () const { return bits[SinglePackage]; } bool get_single_package () const { return bits[SinglePackage]; }