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

#include <SyncInBackroundDialog.h>

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

Public Member Functions

 SyncInBackroundDialog (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 OkIdentifier ()
 
- 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 SyncInBackroundDialog.h.

Constructor & Destructor Documentation

◆ SyncInBackroundDialog()

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

Definition at line 16 of file SyncInBackroundDialog.cpp.

18 DialogIdentifier { "SyncInBackroundDialog" } }
19{
20 AddTitle(XO("Syncing your project"));
21
23 "The project will sync in background while you work. You can check the sync status on the bottom right corner of Audacity at any time"));
24
26}
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)
TaggedIdentifier< DialogIdentifierTag > DialogIdentifier

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, audacity::cloud::audiocom::sync::AudioComDialogBase::EscButton, OkIdentifier(), and XO().

Here is the call graph for this function:

Member Function Documentation

◆ OkIdentifier()

DialogButtonIdentifier audacity::cloud::audiocom::sync::SyncInBackroundDialog::OkIdentifier ( )
static

Definition at line 28 of file SyncInBackroundDialog.cpp.

29{
30 return { L"ok" };
31}

Referenced by SyncInBackroundDialog().

Here is the caller graph for this function:

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