diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2010-06-02 19:54:05 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2010-06-02 19:54:05 +0000 |
commit | baacf1c7b44773cc46ac2e11839502c5ae23f8ac (patch) | |
tree | 6e08f735bcd4e1ecd662e83056028fa8d66baace /libs/ardour/ardour/utils.h | |
parent | 71c876109f88ee5f53c2feb6f8a9153947c691bb (diff) |
forward port ConfigVariable<bool> fix from 2.X
git-svn-id: svn://localhost/ardour2/branches/3.0@7216 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/ardour/utils.h')
-rw-r--r-- | libs/ardour/ardour/utils.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libs/ardour/ardour/utils.h b/libs/ardour/ardour/utils.h index e7e8f2b820..f4c7e585c4 100644 --- a/libs/ardour/ardour/utils.h +++ b/libs/ardour/ardour/utils.h @@ -32,6 +32,8 @@ #include <CoreFoundation/CoreFoundation.h> #endif +bool string_is_affirmative (const std::string&); + #include "ardour.h" class XMLNode; @@ -39,7 +41,6 @@ class XMLNode; Glib::ustring legalize_for_path (Glib::ustring str); XMLNode* find_named_node (const XMLNode& node, std::string name); std::string bool_as_string (bool); -bool string_is_affirmative (const std::string&); static inline float f_max(float x, float a) { x -= a; |