Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
qgeorouteparserosrmv5_p.h
Go to the documentation of this file.
1// Copyright (C) 2016 The Qt Company Ltd.
2// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
3
4#ifndef QGEOROUTEPARSEROSRMV5_H
5#define QGEOROUTEPARSEROSRMV5_H
6
7//
8// W A R N I N G
9// -------------
10//
11// This file is not part of the Qt API. It exists purely as an
12// implementation detail. This header file may change from version to
13// version without notice, or even be removed.
14//
15// We mean it.
16//
17
18
19#include <QtLocation/private/qgeorouteparser_p.h>
20#include <QtCore/QUrlQuery>
21
23
25
26class Q_LOCATION_EXPORT QGeoRouteParserOsrmV5Extension
27{
28public:
32
36
37 virtual void updateQuery(QUrlQuery &query) const = 0;
38 virtual void updateSegment(QGeoRouteSegment &segment, const QJsonObject &step, const QJsonObject &maneuver) const = 0;
39};
40
41class Q_LOCATION_EXPORT QGeoRouteParserOsrmV5 : public QGeoRouteParser
42{
44 Q_DECLARE_PRIVATE(QGeoRouteParserOsrmV5)
45
46public:
47 QGeoRouteParserOsrmV5(QObject *parent = nullptr);
48 virtual ~QGeoRouteParserOsrmV5();
49
50 void setExtension(const QGeoRouteParserOsrmV5Extension *extension);
51
52private:
53 Q_DISABLE_COPY(QGeoRouteParserOsrmV5)
54};
55
57
58#endif // QGEOROUTEPARSEROSRMV5_H
virtual void updateQuery(QUrlQuery &query) const =0
virtual void updateSegment(QGeoRouteSegment &segment, const QJsonObject &step, const QJsonObject &maneuver) const =0
\inmodule QtLocation
\inmodule QtCore\reentrant
Definition qjsonobject.h:20
\inmodule QtCore
Definition qobject.h:103
\inmodule QtCore
Definition qurlquery.h:20
void extension()
[6]
Definition dialogs.cpp:230
Combined button and popup list for selecting options.
GLenum query
GLuint segment
#define Q_OBJECT