Revert "A new class ('ScopedTempoMapOwner') exposes functions which need to be visible outside of libtemporal"

This reverts commit d3a15b11ba.

This arrived at an awkward time as ScopedTempoMapOwner was being rearranged at
the source level. It will be reapplied in a subsequent commit.
This commit is contained in:
Paul Davis 2025-08-12 07:15:17 -06:00
parent d3a15b11ba
commit 2fc669964e
3 changed files with 3 additions and 5 deletions

View file

@ -32,7 +32,6 @@
#include "pbd/string_convert.h"
#include "temporal/debug.h"
#include "temporal/scope.h"
#include "temporal/tempo.h"
#include "temporal/types_convert.h"

View file

@ -25,11 +25,10 @@
#include "temporal/debug.h"
#include "temporal/tempo.h"
#include "temporal/visibility.h"
namespace Temporal {
class LIBTEMPORAL_API ScopedTempoMapOwner
class ScopedTempoMapOwner
{
public:
ScopedTempoMapOwner () : local_tempo_map_depth (0) {}

View file

@ -1010,8 +1010,8 @@ class /*LIBTEMPORAL_API*/ TempoMap : public PBD::StatefulDestructible
static void map_assert (bool expr, char const * exprstr, char const * file, int line);
LIBTEMPORAL_API void set_scope_owner (ScopedTempoMapOwner&);
LIBTEMPORAL_API void clear_scope_owner ();
void set_scope_owner (ScopedTempoMapOwner&);
void clear_scope_owner ();
ScopedTempoMapOwner* scope_owner() const { return _scope_owner; }
private: