summaryrefslogtreecommitdiffstats
path: root/qmake/propertyprinter.h
blob: 90fa3a4274049da7d6be2e9b92c9e27140894891 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
// Copyright (C) 2021 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0

#ifndef PROPERTYPRINTER_H
#define PROPERTYPRINTER_H

#include <qglobal.h>
#include <qlist.h>
#include <qpair.h>
#include <qstring.h>

#include <functional>

QT_BEGIN_NAMESPACE

using PropertyPrinter = std::function<void(const QList<QPair<QString, QString>> &)>;
void qmakePropertyPrinter(const QList<QPair<QString, QString>> &values);
void jsonPropertyPrinter(const QList<QPair<QString, QString>> &values);

QT_END_NAMESPACE

#endif // PROPERTYPRINTER_H