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

#include <SyncSucceededDialog.h>

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

Public Member Functions

 SyncSucceededDialog (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 DoneIdentifier ()
 
static DialogButtonIdentifier ViewOnlineIdentifier ()
 
- Static Public Member Functions inherited from audacity::cloud::audiocom::sync::AudioComDialogBase
static DialogButtonIdentifier CancelButtonIdentifier ()
 

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 SyncSucceededDialog.h.

Constructor & Destructor Documentation

◆ SyncSucceededDialog()

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

Definition at line 16 of file SyncSucceededDialog.cpp.

18{
19 AddTitle(XO("Success!"));
21 XO("All saved changes will now update to the cloud. You can manage this file from your uploaded projects page on audio.com"));
22
24}
XO("Cut/Copy/Paste")
const auto project
void AddTitle(const TranslatableString &title)
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::AddTitle(), audacity::cloud::audiocom::sync::AudioComDialogBase::DefaultButton, ViewOnlineIdentifier(), and XO().

Here is the call graph for this function:

Member Function Documentation

◆ DoneIdentifier()

static DialogButtonIdentifier audacity::cloud::audiocom::sync::SyncSucceededDialog::DoneIdentifier ( )
static

◆ ViewOnlineIdentifier()

DialogButtonIdentifier audacity::cloud::audiocom::sync::SyncSucceededDialog::ViewOnlineIdentifier ( )
static

Definition at line 26 of file SyncSucceededDialog.cpp.

27{
28 return { L"view_online" };
29}

Referenced by SyncSucceededDialog().

Here is the caller graph for this function:

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