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

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_PLATFORMUTILS_P_H
0008 #define KPUBLICTRANSPORT_PLATFORMUTILS_P_H
0009 
0010 class QString;
0011 
0012 namespace KPublicTransport {
0013 
0014 /** Platform normalization utilities. */
0015 namespace PlatformUtils
0016 {
0017     /** Normalize platform names. */
0018     QString normalizePlatform(const QString &platform);
0019 
0020     /** Implementation for the "xPlatformChanged" properties in Journey and Departure. */
0021     bool platformChanged(const QString &scheduledPlatform, const QString &expectedPlatform);
0022 }
0023 
0024 }
0025 
0026 #endif // KPUBLICTRANSPORT_PLATFORMUTILS_H