projects
/
ardour.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
many changes, large and small, related to smart mode editing, range/region selection...
[ardour.git]
/
libs
/
ardour
/
ardour
/
profile.h
diff --git
a/libs/ardour/ardour/profile.h
b/libs/ardour/ardour/profile.h
index 33474479154c42681fb28e48d106c4a1177345e1..5d4e61183330a462ace20d981c17555ba92e8981 100644
(file)
--- a/
libs/ardour/ardour/profile.h
+++ b/
libs/ardour/ardour/profile.h
@@
-1,5
+1,5
@@
/*
/*
- Copyright (C) 2000-2007 Paul Davis
+ Copyright (C) 2000-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
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
@@
-26,21
+26,29
@@
namespace ARDOUR {
class RuntimeProfile {
namespace ARDOUR {
class RuntimeProfile {
- public:
- enum Element {
- SmallScreen,
- LastElement
- };
-
+public:
+ enum Element {
+ SmallScreen,
+ SAE,
+ SinglePackage,
+ LastElement
+ };
+
RuntimeProfile() { bits.resize (LastElement); }
~RuntimeProfile() {}
void set_small_screen() { bits[SmallScreen] = true; }
bool get_small_screen() const { return bits[SmallScreen]; }
RuntimeProfile() { bits.resize (LastElement); }
~RuntimeProfile() {}
void set_small_screen() { bits[SmallScreen] = true; }
bool get_small_screen() const { return bits[SmallScreen]; }
- private:
+ void set_sae () { bits[SAE] = true; }
+ bool get_sae () const { return bits[SAE]; }
+
+ void set_single_package () { bits[SinglePackage] = true; }
+ bool get_single_package () const { return bits[SinglePackage]; }
+
+private:
boost::dynamic_bitset<uint64_t> bits;
boost::dynamic_bitset<uint64_t> bits;
-
+
};
extern RuntimeProfile* Profile;
};
extern RuntimeProfile* Profile;