blob: c2ebd6a20a1d97246b0959d5091ada6cb355a7f8 (
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
25
26
27
28
29
30
|
// Copyright (C) 2014 Appello Systems AB.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
#ifndef QGEOMAPVERSION_H
#define QGEOMAPVERSION_H
#include <QByteArray>
#include <QJsonObject>
QT_BEGIN_NAMESPACE
class QGeoMapVersion
{
public:
QGeoMapVersion();
bool isNewVersion(const QJsonObject &newVersionData) const;
int version() const;
void setVersion(const int);
void setVersionData(const QJsonObject &versionData);
QByteArray toJson() const;
private:
int m_version;
QJsonObject m_versionData;
};
QT_END_NAMESPACE
#endif // QGEOMAPVERSION_H
|