diff options
author | Tim Mayberry <mojofunk@gmail.com> | 2016-08-27 00:12:45 +1000 |
---|---|---|
committer | Tim Mayberry <mojofunk@gmail.com> | 2017-04-19 09:36:50 +1000 |
commit | b4e9612f9b2051249697b3b32e56cb9eb35fa7c9 (patch) | |
tree | 61530e8daf5e222b4a81dab8729feb79dd68e91d | |
parent | 175582d5539ccd5c8d24320fae86b6d5c6b83631 (diff) |
Use macro from pbd/enum_convert.h to define to_string/_to for Track enum
-rw-r--r-- | libs/ardour/ardour/track.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/libs/ardour/ardour/track.h b/libs/ardour/ardour/track.h index 65f38e6fc0..a347bdf887 100644 --- a/libs/ardour/ardour/track.h +++ b/libs/ardour/ardour/track.h @@ -21,6 +21,8 @@ #include <boost/shared_ptr.hpp> +#include "pbd/enum_convert.h" + #include "ardour/interthread_info.h" #include "ardour/recordable.h" #include "ardour/route.h" @@ -261,4 +263,8 @@ private: }; /* namespace ARDOUR*/ +namespace PBD { + DEFINE_ENUM_CONVERT(ARDOUR::Track::FreezeState); +} + #endif /* __ardour_track_h__ */ |