File indexing completed on 2024-05-12 04:42:33
0001 /* 0002 SPDX-FileCopyrightText: 2019 Volker Krause <vkrause@kde.org> 0003 0004 SPDX-License-Identifier: LGPL-2.0-or-later 0005 */ 0006 0007 #ifndef KPUBLICTRANSPORT_DEUTSCHEBAHNBACKEND_H 0008 #define KPUBLICTRANSPORT_DEUTSCHEBAHNBACKEND_H 0009 0010 #include "hafasmgatebackend.h" 0011 0012 namespace KPublicTransport { 0013 0014 /** Backend for DB-specific APIs. */ 0015 class DeutscheBahnBackend : public HafasMgateBackend 0016 { 0017 public: 0018 static inline constexpr const char* type() { return "deutschebahn"; } 0019 bool queryVehicleLayout(const VehicleLayoutRequest &request, VehicleLayoutReply *reply, QNetworkAccessManager *nam) const override; 0020 }; 0021 0022 } 0023 0024 #endif