aboutsummaryrefslogtreecommitdiffstats
path: root/tests/unit/mockup/qmldesigner/designercore/include/metainfo.h
blob: 730954a985e8ca534c0d025d4602324e4cc32232 (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
31
32
33
34
35
36
37
38
39
40
41
// Copyright (C) 2016 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 "qmldesignercorelib_global.h"

#include <QSharedPointer>
#include <QStringList>

#include "itemlibraryinfo.h"
#include <nodemetainfo.h>

namespace QmlDesigner {

class ModelNode;
class AbstractProperty;
class ItemLibraryInfo;

inline bool operator==([[maybe_unused]] const MetaInfo &first, [[maybe_unused]] const MetaInfo &second)
{
    return {};
}
inline bool operator!=([[maybe_unused]] const MetaInfo &first, [[maybe_unused]] const MetaInfo &second)
{
    return {};
}

class QMLDESIGNERCORE_EXPORT MetaInfo
{
public:
    ItemLibraryInfo *itemLibraryInfo() const { return {}; }

public:
    static MetaInfo global() { return {}; }
    static void clearGlobal() {}

    static void setPluginPaths([[maybe_unused]] const QStringList &paths) {}
};

} //namespace QmlDesigner