summaryrefslogtreecommitdiff
path: root/tests/auto/geotestplugin/qgeotiledmap_test.h
blob: 357674fd358cd1912c2df746be7aceeae3a17a0f (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
31
32
33
34
35
// Copyright (C) 2016 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0

#ifndef QGEOTILEDMAP_TEST_H
#define QGEOTILEDMAP_TEST_H

#include <QtLocation/private/qgeotiledmappingmanagerengine_p.h>
#include <QtLocation/private/qgeotiledmap_p.h>

QT_USE_NAMESPACE

class QGeoTiledMappingManagerEngineTest;
class QGeoTiledMapTestPrivate;

struct QGeoTiledMapTestOptions {
    bool supportVisibleArea = true;
};

class QGeoTiledMapTest: public QGeoTiledMap
{
    Q_OBJECT
    Q_DECLARE_PRIVATE(QGeoTiledMapTest)
public:
    QGeoTiledMapTest(QGeoTiledMappingManagerEngine *engine,
                     const QGeoTiledMapTestOptions &options,
                     QObject *parent = nullptr);

public:
    using QGeoTiledMap::setCameraData;
    QGeoTiledMappingManagerEngine *m_engine;
};

#endif