aboutsummaryrefslogtreecommitdiffstats
path: root/src/qmlcompiler/qqmljsloadergenerator_p.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/qmlcompiler/qqmljsloadergenerator_p.h')
-rw-r--r--src/qmlcompiler/qqmljsloadergenerator_p.h33
1 files changed, 33 insertions, 0 deletions
diff --git a/src/qmlcompiler/qqmljsloadergenerator_p.h b/src/qmlcompiler/qqmljsloadergenerator_p.h
new file mode 100644
index 0000000000..f76fdef17b
--- /dev/null
+++ b/src/qmlcompiler/qqmljsloadergenerator_p.h
@@ -0,0 +1,33 @@
+// Copyright (C) 2020 The Qt Company Ltd.
+// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
+
+#ifndef QQMLJSLOADERGENERATOR_P_H
+#define QQMLJSLOADERGENERATOR_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 <qtqmlcompilerexports.h>
+
+#include <QtCore/qstring.h>
+#include <QtCore/qlist.h>
+#include <QtCore/private/qglobal_p.h>
+
+QT_BEGIN_NAMESPACE
+
+bool Q_QMLCOMPILER_EXPORT qQmlJSGenerateLoader(const QStringList &compiledFiles,
+ const QString &outputFileName,
+ const QStringList &resourceFileMappings,
+ QString *errorString);
+QString Q_QMLCOMPILER_EXPORT qQmlJSSymbolNamespaceForPath(const QString &relativePath);
+
+QT_END_NAMESPACE
+
+#endif // QQMLJSLOADERGENERATOR_P_H