aboutsummaryrefslogtreecommitdiffstats
path: root/src/qmlcompiler/qresourcerelocater_p.h
diff options
context:
space:
mode:
authorUlf Hermann <ulf.hermann@qt.io>2020-10-20 13:57:38 +0200
committerUlf Hermann <ulf.hermann@qt.io>2020-10-20 17:19:26 +0200
commit51f6d418fa803a37e8a1e3bcfdd7f7e02b7bdcad (patch)
tree389324f114b1172d97fb9d7fbf6073a36628d16e /src/qmlcompiler/qresourcerelocater_p.h
parent14cd261513174e0006ebdd5b3605347621c7e36b (diff)
qmlcachegen: Move resourcefilter.cpp into QmlCompiler
For backwards compatibility, a replacement for qmlcachegen will need to provide the same functionality. Change-Id: I22664230ea636d384190122223d15819ebee930c Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
Diffstat (limited to 'src/qmlcompiler/qresourcerelocater_p.h')
-rw-r--r--src/qmlcompiler/qresourcerelocater_p.h50
1 files changed, 50 insertions, 0 deletions
diff --git a/src/qmlcompiler/qresourcerelocater_p.h b/src/qmlcompiler/qresourcerelocater_p.h
new file mode 100644
index 0000000000..5b75a424e6
--- /dev/null
+++ b/src/qmlcompiler/qresourcerelocater_p.h
@@ -0,0 +1,50 @@
+/****************************************************************************
+**
+** Copyright (C) 2020 The Qt Company Ltd.
+** Contact: https://www.qt.io/licensing/
+**
+** This file is part of the tools applications of the Qt Toolkit.
+**
+** $QT_BEGIN_LICENSE:GPL-EXCEPT$
+** Commercial License Usage
+** Licensees holding valid commercial Qt licenses may use this file in
+** accordance with the commercial license agreement provided with the
+** Software or, alternatively, in accordance with the terms contained in
+** a written agreement between you and The Qt Company. For licensing terms
+** and conditions see https://www.qt.io/terms-conditions. For further
+** information use the contact form at https://www.qt.io/contact-us.
+**
+** GNU General Public License Usage
+** Alternatively, this file may be used under the terms of the GNU
+** General Public License version 3 as published by the Free Software
+** Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT
+** included in the packaging of this file. Please review the following
+** information to ensure the GNU General Public License requirements will
+** be met: https://www.gnu.org/licenses/gpl-3.0.html.
+**
+** $QT_END_LICENSE$
+**
+****************************************************************************/
+
+#ifndef QRESOURCERELOCATER_P_H
+#define QRESOURCERELOCATER_P_H
+
+//
+// W A R N I N G
+// -------------
+//
+// This file is not part of the Qt API. It exists purely as an
+// implementation detail. This header file may change from version to
+// version without notice, or even be removed.
+//
+// We mean it.
+
+#include <QtCore/qstring.h>
+
+QT_BEGIN_NAMESPACE
+
+int qRelocateResourceFile(const QString &input, const QString &output);
+
+QT_END_NAMESPACE
+
+#endif // QRESOURCERELOCATER_P_H