Audacity 3.2.0
Classes | Functions
audacity::cloud::audiocom::sync::anonymous_namespace{AudioComDialogBase.cpp} Namespace Reference

Classes

struct  IdleItem
 
struct  Idler
 

Functions

wxWindow * GetProjectWindow (const AudacityProject *project)
 
wxString GetOptionalPrefsIdentifier (const DialogIdentifier &identifier)
 

Function Documentation

◆ GetOptionalPrefsIdentifier()

wxString audacity::cloud::audiocom::sync::anonymous_namespace{AudioComDialogBase.cpp}::GetOptionalPrefsIdentifier ( const DialogIdentifier identifier)

Definition at line 45 of file AudioComDialogBase.cpp.

46{
47 if (identifier.empty())
48 return {};
49
50 return wxString::Format("/cloud/audiocom/%s/skip", identifier.GET());
51}
bool empty() const
Definition: Identifier.h:61
const wxString & GET() const
Explicit conversion to wxString, meant to be ugly-looking and demanding of a comment why it's correct...
Definition: Identifier.h:66

References Identifier::empty(), and Identifier::GET().

Here is the call graph for this function:

◆ GetProjectWindow()

wxWindow * audacity::cloud::audiocom::sync::anonymous_namespace{AudioComDialogBase.cpp}::GetProjectWindow ( const AudacityProject project)

Definition at line 37 of file AudioComDialogBase.cpp.

38{
39 if (project == nullptr)
40 return nullptr;
41
42 return &ProjectWindow::Get(*const_cast<AudacityProject*>(project));
43}
const auto project
The top-level handle to an Audacity project. It serves as a source of events that other objects can b...
Definition: Project.h:90
static ProjectWindow & Get(AudacityProject &project)

References ProjectWindow::Get(), and project.

Here is the call graph for this function: