Add BasicUI::make_port_name_non_relative()

Towards removing the direct use of Session by surfaces.
This commit is contained in:
David Robillard 2021-06-15 19:59:18 -04:00
parent ece7d18baf
commit 36789f080c
12 changed files with 39 additions and 29 deletions

View file

@ -28,6 +28,7 @@
#include "temporal/tempo.h"
#include "ardour/audioengine.h"
#include "ardour/session.h"
#include "ardour/location.h"
#include "ardour/tempo.h"
@ -788,3 +789,8 @@ BasicUI::goto_nth_marker (int n)
}
}
std::string
BasicUI::make_port_name_non_relative (const std::string& name) const
{
return _session->engine ().make_port_name_non_relative (name);
}