diff options
author | Robin Gareus <robin@gareus.org> | 2016-12-28 12:35:28 +0100 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2016-12-28 13:38:49 +0100 |
commit | 3120270d876c38f6ba22b49a44d93899f831cef6 (patch) | |
tree | b8999b3a5c3dff201eb4251625eff8c1224c44be /libs/ardour/ardour/types.h | |
parent | 6d566c9fe0abf2adf31ba56e2545ca1283ee8847 (diff) |
Add enum for locale-config
Diffstat (limited to 'libs/ardour/ardour/types.h')
-rw-r--r-- | libs/ardour/ardour/types.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/libs/ardour/ardour/types.h b/libs/ardour/ardour/types.h index 5e59053aef..9a7b719111 100644 --- a/libs/ardour/ardour/types.h +++ b/libs/ardour/ardour/types.h @@ -249,6 +249,12 @@ namespace ARDOUR { TrackColor }; + enum LocaleMode { + SET_LC_ALL, + SET_LC_MESSAGES, + SET_LC_MESSAGES_AND_LC_NUMERIC + }; + enum RoundMode { RoundDownMaybe = -2, ///< Round down only if necessary RoundDownAlways = -1, ///< Always round down, even if on a division @@ -762,11 +768,13 @@ LIBARDOUR_API std::istream& operator>>(std::istream& o, ARDOUR::WaveformScale& s LIBARDOUR_API std::istream& operator>>(std::istream& o, ARDOUR::WaveformShape& sf); LIBARDOUR_API std::istream& operator>>(std::istream& o, ARDOUR::VUMeterStandard& sf); LIBARDOUR_API std::istream& operator>>(std::istream& o, ARDOUR::MeterLineUp& sf); +LIBARDOUR_API std::istream& operator>>(std::istream& o, ARDOUR::LocaleMode& sf); LIBARDOUR_API std::ostream& operator<<(std::ostream& o, const ARDOUR::WaveformScale& sf); LIBARDOUR_API std::ostream& operator<<(std::ostream& o, const ARDOUR::WaveformShape& sf); LIBARDOUR_API std::ostream& operator<<(std::ostream& o, const ARDOUR::VUMeterStandard& sf); LIBARDOUR_API std::ostream& operator<<(std::ostream& o, const ARDOUR::MeterLineUp& sf); +LIBARDOUR_API std::ostream& operator<<(std::ostream& o, const ARDOUR::LocaleMode& sf); static inline ARDOUR::framepos_t |