blob: a29ac167742a417267c8420b4515669e40c5f5c4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
// Copyright (C) 2019 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only
#ifndef FILEHELPER_H
#define FILEHELPER_H
#include <map>
class QString;
class QVariant;
class FileHelper
{
public:
static bool fileExists(const QString &fileName);
static QString getFileContext(const QString &fileName);
static bool getJsonFromFile(const QString &fileName, std::map<QString, QVariant> &jsonMap);
};
#endif // FILEHELPER_H
|