11#ifndef __AUDACITY_CLIPBOARD__
12#define __AUDACITY_CLIPBOARD__
34 double T0()
const {
return mT0; }
35 double T1()
const {
return mT1; }
38 const std::weak_ptr<AudacityProject> &
Project()
const {
return mProject; }
46 TrackList && newContents,
double t0,
double t1,
47 const std::weak_ptr<AudacityProject> &pProject );
64 std::weak_ptr<AudacityProject> mProject{};
The top-level handle to an Audacity project. It serves as a source of events that other objects can b...
std::shared_ptr< TrackList > mTracks
Clipboard(const Clipboard &)=delete
Clipboard & operator=(const Clipboard &)=delete
const std::weak_ptr< AudacityProject > & Project() const
An object that sends messages to an open-ended list of subscribed callbacks.
A flat linked list of tracks supporting Add, Remove, Clear, and Contains, serialization of the list o...
Services * Get()
Fetch the global instance, or nullptr if none is yet installed.
Empty the clipboard at start of scope; restore its contents after.
Message is sent during idle time by the global clipboard.