36struct UploadFailedPayload;
37struct UploadSuccessfulPayload;
70 wxWindow*
root {
nullptr };
73 wxStaticText*
name {
nullptr };
94 wxWindow*
root {
nullptr };
96 wxStaticText*
title {
nullptr };
103 wxStaticText*
info {
nullptr };
118 using Clock = std::chrono::steady_clock;
The top-level handle to an Audacity project. It serves as a source of events that other objects can b...
A move-only handle representing a connection to a Publisher.
Derived from ShuttleGuiBase, an Audacity specific class for shuttling data to and from GUI.
std::unique_ptr< ExportProgressUpdater > mExportProgressUpdater
AudacityProject & mProject
void Populate(ShuttleGui &s)
void UpdateProgress(uint64_t current, uint64_t total)
void HandleUploadFailed(const UploadFailedPayload &payload)
wxButton * mContinueButton
Clock::time_point mLastUIUpdateTime
void StartUploadProcess()
~ShareAudioDialog() override
Clock::time_point mStageStartTime
struct cloud::audiocom::ShareAudioDialog::InitialStatePanel mInitialStatePanel
ShareAudioDialog(AudacityProject &project, wxWindow *parent=nullptr)
struct cloud::audiocom::ShareAudioDialog::ProgressPanel mProgressPanel
void HandleUploadSucceeded(const UploadSuccessfulPayload &payload)
std::function< void()> mContinueAction
std::chrono::steady_clock Clock
std::unique_ptr< Services > mServices
void HandleExportFailure()
Observer::Subscription mUserDataChangedSubscription
void OnLinkButtonPressed()
InitialStatePanel(ShareAudioDialog &parent)
bool HasValidTitle() const
void PopulateInitialStatePanel(ShuttleGui &s)
wxString GetTrackTitle() const
wxPanel * authorizedInfoPanel
ShareAudioDialog & parent
wxStaticText * elapsedTime
void PopulateProgressPanel(ShuttleGui &s)
wxStaticText * remainingTime
This structure represents an upload error as returned by the server.
This structure represents the payload associated with successful upload.