Audacity 3.2.0
Namespaces | Functions | Variables
SyncLock.cpp File Reference
#include "SyncLock.h"
#include "PendingTracks.h"
#include "Prefs.h"
#include "Project.h"
#include "Track.h"
Include dependency graph for SyncLock.cpp:

Go to the source code of this file.

Namespaces

namespace  anonymous_namespace{SyncLock.cpp}
 

Functions

bool anonymous_namespace{SyncLock.cpp}::IsSyncLockableNonSeparatorTrack (const Track &track)
 
bool anonymous_namespace{SyncLock.cpp}::IsSeparatorTrack (const Track &track)
 
bool anonymous_namespace{SyncLock.cpp}::IsGoodNextSyncLockTrack (const Track &t, bool inSeparatorSection)
 
std::pair< Track *, Track * > anonymous_namespace{SyncLock.cpp}::FindSyncLockGroup (Track &member)
 
 DEFINE_ATTACHED_VIRTUAL (GetSyncLockPolicy)
 

Variables

static const AudacityProject::AttachedObjects::RegisteredFactory sSyncLockStateKey
 
BoolSetting SyncLockTracks { "/GUI/SyncLockTracks", false }
 

Function Documentation

◆ DEFINE_ATTACHED_VIRTUAL()

DEFINE_ATTACHED_VIRTUAL ( GetSyncLockPolicy  )

Definition at line 159 of file SyncLock.cpp.

159 {
160 return [](auto&){ return SyncLockPolicy::Isolated; };
161}
@ Isolated
Never part of a group.

References Isolated.

Variable Documentation

◆ sSyncLockStateKey

Initial value:
{
auto result = std::make_shared< SyncLockState >( project );
return result;
}
}
const auto project
The top-level handle to an Audacity project. It serves as a source of events that other objects can b...
Definition: Project.h:90

Definition at line 20 of file SyncLock.cpp.

Referenced by SyncLockState::Get().

◆ SyncLockTracks

BoolSetting SyncLockTracks { "/GUI/SyncLockTracks", false }