blob: 6a0886c9ce6cdb2b8199673591cb88560c7d1757 (
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
|
// Copyright (C) 2018 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
#ifndef QRCREADER_H
#define QRCREADER_H
#include <QtCore/qstring.h>
#include <QtCore/qstringlist.h>
class ReadQrcResult
{
public:
QStringList files;
QString errorString;
qint64 line = 0;
bool hasError() const { return !errorString.isEmpty(); }
};
ReadQrcResult readQrcFile(const QString &resourceFile, const QString &content);
bool isSupportedExtension(const QString &ext);
#endif // QRCREADER_H
|