49 public std::enable_shared_from_this<LocalProjectSnapshot>
58 std::optional<CreateSnapshotResponse>
Response;
62 using Promise = std::promise<SnapshotData>;
63 using Future = std::future<SnapshotData>;
74 bool IsCompleted()
const override;
78 void Start()
override;
80 void Cancel()
override;
89 void UpdateProjectSnapshot();
93 void StorePendingSnapshot(
95 void MarkSnapshotSynced();
96 void DeleteSnapshot();
123 std::atomic<bool> mCompleted {
false };
124 std::atomic<bool> mCancelled {
false };
125 std::atomic<bool> mProjectDataReady {
false };
const TranslatableString name
The top-level handle to an Audacity project. It serves as a source of events that other objects can b...
Service responsible for OAuth authentication against the audio.com service.
Configuration for the audio.com.
Promise mCreateSnapshotPromise
std::promise< SnapshotData > Promise
std::promise< ProjectUploadData > mProjectDataPromise
std::mutex mCreateSnapshotResponseMutex
std::weak_ptr< AudacityProject > mWeakProject
std::future< SnapshotData > Future
std::unique_ptr< ProjectBlocksLock > mProjectBlocksLock
std::optional< CreateSnapshotResponse > mCreateSnapshotResponse
ProjectCloudExtension & mProjectCloudExtension
const ServiceConfig & mServiceConfig
std::shared_ptr< MissingBlocksUploader > mMissingBlockUploader
const OAuthService & mOAuthService
concurrency::CancellationContextPtr mCancellationContext
ProjectFileIOExtensionRegistry::Extension extension
const AudacityProject & GetProject(const Track &track)
constexpr auto UNASSIGNED_PROJECT_ID
std::shared_ptr< CancellationContext > CancellationContextPtr
std::shared_ptr< LocalProjectSnapshot > Operation
std::optional< CreateSnapshotResponse > Response