KPublicTransport

disruption.h
1/*
2 SPDX-FileCopyrightText: 2019 Volker Krause <vkrause@kde.org>
3
4 SPDX-License-Identifier: LGPL-2.0-or-later
5*/
6
7#ifndef KPUBLICTRANSPORT_DISRUPTION_H
8#define KPUBLICTRANSPORT_DISRUPTION_H
9
10#include "kpublictransport_export.h"
11
12#include <QMetaType>
13
14namespace KPublicTransport {
15
16/** Disruption information for a Departure or a JourneySection.
17 * This follows how Navitia models disruptions which follows how GTFS-rt models disruptions.
18 * @see https://developers.google.com/transit/gtfs-realtime/reference/#message-alert
19 */
20namespace Disruption
21{
22 KPUBLICTRANSPORT_EXPORT Q_NAMESPACE
23
24 /** Disruption effects, numerical sorted so that higher values imply more severe disruptions. */
25 enum Effect {
26 NormalService = 0,
27 NoService = 1024
28 };
29
30 Q_ENUM_NS(Effect)
31}
32
33}
34
35#endif // KPUBLICTRANSPORT_DISRUPTION_H
Effect
Disruption effects, numerical sorted so that higher values imply more severe disruptions.
Definition disruption.h:25
Query operations and data types for accessing realtime public transport information from online servi...
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:07:52 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.