mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-22 06:36:29 +01:00
Use macro from pbd/enum_convert.h to define to_string/_to for Track enum
This commit is contained in:
parent
175582d553
commit
b4e9612f9b
1 changed files with 6 additions and 0 deletions
|
|
@ -21,6 +21,8 @@
|
||||||
|
|
||||||
#include <boost/shared_ptr.hpp>
|
#include <boost/shared_ptr.hpp>
|
||||||
|
|
||||||
|
#include "pbd/enum_convert.h"
|
||||||
|
|
||||||
#include "ardour/interthread_info.h"
|
#include "ardour/interthread_info.h"
|
||||||
#include "ardour/recordable.h"
|
#include "ardour/recordable.h"
|
||||||
#include "ardour/route.h"
|
#include "ardour/route.h"
|
||||||
|
|
@ -261,4 +263,8 @@ private:
|
||||||
|
|
||||||
}; /* namespace ARDOUR*/
|
}; /* namespace ARDOUR*/
|
||||||
|
|
||||||
|
namespace PBD {
|
||||||
|
DEFINE_ENUM_CONVERT(ARDOUR::Track::FreezeState);
|
||||||
|
}
|
||||||
|
|
||||||
#endif /* __ardour_track_h__ */
|
#endif /* __ardour_track_h__ */
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue