37struct UploadFailedPayload;
38struct UploadSuccessfulPayload;
72 wxWindow*
root {
nullptr };
91 wxWindow*
root {
nullptr };
93 wxStaticText*
title {
nullptr };
100 wxStaticText*
info {
nullptr };
116 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.
void StartUploadProcess()
std::chrono::steady_clock Clock
std::unique_ptr< Services > mServices
void Populate(ShuttleGui &s)
void HandleUploadFailed(const UploadFailedPayload &payload)
const AudiocomTrace mAudiocomTrace
ShareAudioDialog(AudacityProject &project, AudiocomTrace, wxWindow *parent=nullptr)
Clock::time_point mStageStartTime
std::function< void()> mContinueAction
wxButton * mContinueButton
void HandleExportFailure()
void UpdateProgress(uint64_t current, uint64_t total)
void HandleUploadSucceeded(const UploadSuccessfulPayload &payload)
struct audacity::cloud::audiocom::ShareAudioDialog::InitialStatePanel mInitialStatePanel
AudacityProject & mProject
~ShareAudioDialog() override
Clock::time_point mLastUIUpdateTime
struct audacity::cloud::audiocom::ShareAudioDialog::ProgressPanel mProgressPanel
std::unique_ptr< ExportProgressUpdater > mExportProgressUpdater
void PopulateInitialStatePanel(ShuttleGui &s)
Observer::Subscription mUserDataChangedSubscription
bool HasValidTitle() const
ShareAudioDialog & parent
wxPanel * authorizedInfoPanel
InitialStatePanel(ShareAudioDialog &parent)
void UpdateUserData(bool authorized)
wxString GetTrackTitle() const
wxStaticText * remainingTime
wxStaticText * elapsedTime
void PopulateProgressPanel(ShuttleGui &s)
This structure represents an upload error as returned by the server.
This structure represents the payload associated with successful upload.