blob: 30a34861797fc0abb372ee9b3dc74bb1f31c593b (
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
26
27
28
29
30
|
// 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 "projectstoragepathwatchertypes.h"
#include <utils/smallstringvector.h>
namespace QmlDesigner {
class ProjectStoragePathWatcherNotifierInterface;
class ProjectStoragePathWatcherInterface
{
public:
ProjectStoragePathWatcherInterface() = default;
ProjectStoragePathWatcherInterface(const ProjectStoragePathWatcherInterface &) = delete;
ProjectStoragePathWatcherInterface &operator=(const ProjectStoragePathWatcherInterface &) = delete;
virtual void updateIdPaths(const std::vector<IdPaths> &idPaths) = 0;
virtual void removeIds(const ProjectPartIds &ids) = 0;
virtual void setNotifier(ProjectStoragePathWatcherNotifierInterface *notifier) = 0;
protected:
~ProjectStoragePathWatcherInterface() = default;
};
} // namespace QmlDesigner
|