Merged with trunk R1705.
[ardour.git] / libs / ardour / ardour / profile.h
1 #ifndef __ardour_profile_h__
2 #define __ardour_profile_h__
3
4 #include <boost/dynamic_bitset.hpp>
5 #include <stdint.h>
6
7 namespace ARDOUR {
8
9 class RuntimeProfile {
10   public:
11     enum Element {
12             SmallScreen,
13             LastElement
14     };
15     
16     RuntimeProfile() { bits.resize (LastElement); }
17     ~RuntimeProfile() {}
18
19     void set_small_screen() { bits[SmallScreen] = true; }
20     bool get_small_screen() const { return bits[SmallScreen]; }
21
22   private:
23     boost::dynamic_bitset<uint64_t> bits;
24     
25 };
26
27 extern RuntimeProfile* Profile;
28
29 }; // namespace ARDOUR
30
31 #endif /* __ardour_profile_h__ */