File indexing completed on 2024-05-12 04:42:34
0001 /* 0002 SPDX-FileCopyrightText: 2023 Volker Krause <vkrause@kde.org> 0003 SPDX-License-Identifier: LGPL-2.0-or-later 0004 */ 0005 0006 #ifndef KPUBLICTRANSPORT_HAFASCONFIGURATION_H 0007 #define KPUBLICTRANSPORT_HAFASCONFIGURATION_H 0008 0009 #include <QStringList> 0010 0011 namespace KPublicTransport { 0012 0013 /** Configuration entry for product name mappings. 0014 * @see HafasMgateBackend::productNameMapping 0015 */ 0016 struct HafasMgateProductNameMapping 0017 { 0018 int cls; 0019 QStringList lineName; 0020 QStringList routeName; 0021 0022 constexpr inline bool operator==(int otherCls) const { return cls == otherCls; } 0023 }; 0024 0025 } 0026 0027 #endif