Audacity 3.2.0
LinkAccountDialog.cpp
Go to the documentation of this file.
1/* SPDX-License-Identifier: GPL-2.0-or-later */
2/*!********************************************************************
3
4 Audacity: A Digital Audio Editor
5
6 LinkAccountDialog.cpp
7
8 Dmitry Vedenko
9
10**********************************************************************/
11#include "LinkAccountDialog.h"
12
13#include <wx/button.h>
14#include <wx/font.h>
15#include <wx/stattext.h>
16
17#include "CodeConversions.h"
18#include "ServiceConfig.h"
19
20#include "ShuttleGui.h"
21
22#include "HelpSystem.h"
23
25{
26
28 const AudacityProject* project, const TranslatableString& alternativeButtonText)
30{
31 AddTitle(XO("You are not signed in"));
32 AddParagraph(XO("Log in to audio.com to proceed."));
35
36 if (!alternativeButtonText.empty())
37 AddButton(AlternativeButtonIdentifier(), alternativeButtonText);
38
41}
42
44{
45 return { L"alternative" };
46}
47
49{
50 return { L"signin" };
51}
52
53} // namespace audacity::cloud::audiocom::sync
Declare functions to perform UTF-8 to std::wstring conversions.
XO("Cut/Copy/Paste")
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
Holds a msgid for the translation catalog; may also bind format arguments.
void AddTitle(const TranslatableString &title)
void AddButton(DialogButtonIdentifier identifier, const TranslatableString &text, int type=None)
void AddParagraph(const TranslatableString &paragraph)