File indexing completed on 2024-05-12 04:42:39

0001 /*
0002     SPDX-FileCopyrightText: 2021 Volker Krause <vkrause@kde.org>
0003 
0004     SPDX-License-Identifier: LGPL-2.0-or-later
0005 */
0006 
0007 #ifndef KPUBLICTRANSPORT_OEBBBACKEND_H
0008 #define KPUBLICTRANSPORT_OEBBBACKEND_H
0009 
0010 #include "hafasmgatebackend.h"
0011 
0012 namespace KPublicTransport {
0013 
0014 /** ÖBB-specific backend, adding ÖBB vehicle layout support on top of their standard Hafas. */
0015 class OebbBackend : public HafasMgateBackend
0016 {
0017 public:
0018     static inline constexpr const char* type() { return "oebb"; }
0019     bool queryVehicleLayout(const VehicleLayoutRequest &request, VehicleLayoutReply *reply, QNetworkAccessManager *nam) const override;
0020 };
0021 
0022 }
0023 
0024 #endif // KPUBLICTRANSPORT_OEBBBACKEND_H