aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/qmldesigner/designercore/projectstorage/projectstoragepathwatchernotifierinterface.h
blob: 70c72b9bd0582ddac028dd8484271e0f5a16ac37 (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
// Copyright (C) 2021 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0

#pragma once

#include "projectstoragepathwatchertypes.h"

#include <utils/smallstringvector.h>

namespace QmlDesigner {

class ProjectStoragePathWatcherNotifierInterface
{
public:
    ProjectStoragePathWatcherNotifierInterface() = default;
    ProjectStoragePathWatcherNotifierInterface(const ProjectStoragePathWatcherNotifierInterface &) = delete;
    ProjectStoragePathWatcherNotifierInterface &operator=(const ProjectStoragePathWatcherNotifierInterface &) = delete;

    virtual void pathsWithIdsChanged(const std::vector<IdPaths> &idPaths) = 0;
    virtual void pathsChanged(const SourceIds &filePathIds) = 0;

protected:
    ~ProjectStoragePathWatcherNotifierInterface() = default;
};

} // namespace QmlDesigner