Audacity 3.2.0
SyncFailedDialog.h
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 SyncFailedDialog.h
7
8 Dmitry Vedenko
9
10**********************************************************************/
11#pragma once
12
13#include "AudioComDialogBase.h"
14
15#include "sync/CloudSyncError.h"
16#include "NetworkUtils.h"
17
19{
21{
22public:
23
24 static void OnOpen(const CloudSyncError& error);
25 static void OnSave(const CloudSyncError& error);
26
27 static void OnOpen(const ResponseResult& error);
28 static void OnSave(const ResponseResult& error);
29
30private:
33 const TranslatableString& message, const std::string& log, DialogMode dialogMode);
34};
35} // namespace audacity::cloud::audiocom::sync
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.
SyncFailedDialog(const AudacityProject *project, const TranslatableString &message, const std::string &log, DialogMode dialogMode)
static void OnOpen(const CloudSyncError &error)
static void OnSave(const CloudSyncError &error)