blob: bc0fd05f625ebabf56142e41e5f12f02a0980078 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
// Copyright (C) 2021 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0+ OR GPL-3.0 WITH Qt-GPL-exception-1.0
#pragma once
#include "filestatus.h"
#include "projectstoragetypes.h"
namespace QmlDesigner {
class ProjectStorageInterface
{
public:
virtual void synchronize(Storage::Synchronization::SynchronizationPackage package) = 0;
virtual ModuleId moduleId(Utils::SmallStringView name) const = 0;
virtual FileStatus fetchFileStatus(SourceId sourceId) const = 0;
virtual Storage::Synchronization::ProjectDatas fetchProjectDatas(SourceId sourceId) const = 0;
protected:
~ProjectStorageInterface() = default;
};
} // namespace QmlDesigner
|