Audacity 3.2.0
Public Member Functions | Static Public Member Functions | Private Member Functions | List of all members
audacity::cloud::audiocom::sync::UploadCanceledDialog Class Referencefinal

#include <UploadCanceledDialog.h>

Inheritance diagram for audacity::cloud::audiocom::sync::UploadCanceledDialog:
[legend]
Collaboration diagram for audacity::cloud::audiocom::sync::UploadCanceledDialog:
[legend]

Public Member Functions

 UploadCanceledDialog (const AudacityProject *project)
 
- Public Member Functions inherited from audacity::cloud::audiocom::sync::AudioComDialogBase
DialogButtonIdentifier ShowDialog (std::function< DialogButtonIdentifier()> poller={})
 

Static Public Member Functions

static DialogButtonIdentifier OkButtonIdentifier ()
 
- Static Public Member Functions inherited from audacity::cloud::audiocom::sync::AudioComDialogBase
static DialogButtonIdentifier CancelButtonIdentifier ()
 

Private Member Functions

bool HasSeparator () const override
 

Additional Inherited Members

- Protected Types inherited from audacity::cloud::audiocom::sync::AudioComDialogBase
enum class  DialogMode { Opening , Saving }
 
enum  ButtonType { None = 0 , DefaultButton = 1 , EscButton = 2 }
 
- Protected Member Functions inherited from audacity::cloud::audiocom::sync::AudioComDialogBase
 AudioComDialogBase (const AudacityProject *project, const DialogIdentifier &optionalPrefsIdentifier={}, DialogMode dialogMode=DialogMode::Saving)
 
virtual ~AudioComDialogBase ()=default
 
void AddTitle (const TranslatableString &title)
 
void AddParagraph (const TranslatableString &paragraph)
 
void AddButton (DialogButtonIdentifier identifier, const TranslatableString &text, int type=None)
 
void SetDialogTitle (const TranslatableString &dialog)
 
virtual bool HasSeparator () const
 
void EndDialog (DialogButtonIdentifier identifier)
 

Detailed Description

Definition at line 17 of file UploadCanceledDialog.h.

Constructor & Destructor Documentation

◆ UploadCanceledDialog()

audacity::cloud::audiocom::sync::UploadCanceledDialog::UploadCanceledDialog ( const AudacityProject project)
explicit

Definition at line 16 of file UploadCanceledDialog.cpp.

18{
19 AddParagraph(XO("You have canceled this upload to audio.com"));
21}
XO("Cut/Copy/Paste")
const auto project
void AddButton(DialogButtonIdentifier identifier, const TranslatableString &text, int type=None)
AudioComDialogBase(const AudacityProject *project, const DialogIdentifier &optionalPrefsIdentifier={}, DialogMode dialogMode=DialogMode::Saving)
void AddParagraph(const TranslatableString &paragraph)

References audacity::cloud::audiocom::sync::AudioComDialogBase::AddButton(), audacity::cloud::audiocom::sync::AudioComDialogBase::AddParagraph(), audacity::cloud::audiocom::sync::AudioComDialogBase::DefaultButton, audacity::cloud::audiocom::sync::AudioComDialogBase::EscButton, OkButtonIdentifier(), and XO().

Here is the call graph for this function:

Member Function Documentation

◆ HasSeparator()

bool audacity::cloud::audiocom::sync::UploadCanceledDialog::HasSeparator ( ) const
overrideprivatevirtual

Reimplemented from audacity::cloud::audiocom::sync::AudioComDialogBase.

Definition at line 28 of file UploadCanceledDialog.cpp.

29{
30 return false;
31}

◆ OkButtonIdentifier()

DialogButtonIdentifier audacity::cloud::audiocom::sync::UploadCanceledDialog::OkButtonIdentifier ( )
static

Definition at line 23 of file UploadCanceledDialog.cpp.

24{
25 return { L"ok" };
26}

Referenced by UploadCanceledDialog().

Here is the caller graph for this function:

The documentation for this class was generated from the following files: