summaryrefslogtreecommitdiffstats
path: root/qmake/propertyprinter.h
diff options
context:
space:
mode:
Diffstat (limited to 'qmake/propertyprinter.h')
-rw-r--r--qmake/propertyprinter.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/qmake/propertyprinter.h b/qmake/propertyprinter.h
new file mode 100644
index 0000000000..90fa3a4274
--- /dev/null
+++ b/qmake/propertyprinter.h
@@ -0,0 +1,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