44 .Subscribe([this](const auto& msg) {
47 msg.newUpperTimeSignature,
48 msg.newLowerTimeSignature);
91 return mImpl->updater;
96 return mImpl->updater;
101 return mImpl->beatsFormat;
106 return mImpl->beatsFormat;
static const AttachedProjectObjects::RegisteredFactory key
TimeDisplayModeSetting TimeDisplayModePreference
The top-level handle to an Audacity project. It serves as a source of events that other objects can b...
Client code makes static instance from a factory of attachments; passes it to Get or Find as a retrie...
A move-only handle representing a connection to a Publisher.
std::unique_ptr< Impl > mImpl
LinearUpdater & GetUpdater()
static ProjectTimeRuler & Get(AudacityProject &project)
BeatsFormat & GetBeatsFormat()
ProjectTimeRuler(AudacityProject &project)
void SetFormat(const RulerFormat *pFormat)
Observer::Subscription Subscribe(Callback callback)
Observer::Subscription timeDisplayModeChanged
Impl(AudacityProject &project)
Observer::Subscription projectTimeSignatureChanged