Audacity 3.2.0
CloudProjectOpenUtils.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 CloudProjectOpenUtils.h
7
8 Dmitry Vedenko
9
10**********************************************************************/
11#pragma once
12
13#include <functional>
14#include <string_view>
15
16class AudacityProject;
17
19{
21AudacityProject* GetOpenedProject(std::string_view projectId);
22
24 AudacityProject* potentialTarget, std::string_view projectId,
25 std::string_view snapshotId, bool forceNew);
26
28 AudacityProject& project, std::string_view path, bool force = false);
29
30bool HandleProjectLink(std::string_view link);
31
33} // 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
bool SyncCloudProject(AudacityProject &project, std::string_view path, bool force)
void ReopenProject(AudacityProject &project)
bool HandleProjectLink(std::string_view uri)
AudacityProject * OpenProjectFromCloud(AudacityProject *potentialTarget, std::string_view projectId, std::string_view snapshotId, CloudSyncService::SyncMode mode)
AudacityProject * GetOpenedProject(std::string_view projectId)