Warning, file /pim/kitinerary/src/lib/flightutil_p.h was not indexed or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).

0001 /*
0002     SPDX-FileCopyrightText: 2021 Volker Krause <vkrause@kde.org>
0003 
0004     SPDX-License-Identifier: LGPL-2.0-or-later
0005 */
0006 
0007 #ifndef KITINERARY_FLIGHTUTIL_H
0008 #define KITINERARY_FLIGHTUTIL_H
0009 
0010 namespace KItinerary {
0011 
0012 /** Utility functions for dealing with flights. */
0013 namespace FlightUtil
0014 {
0015 /** Check whether the given distance (in meters) can be covered by a flight
0016  *  in the given time (in seconds).
0017  */
0018 bool isPlausibleDistanceForDuration(int distance, int duration);
0019 
0020 }
0021 
0022 }
0023 
0024 #endif // KITINERARY_FLIGHTUTIL_H