File indexing completed on 2024-05-12 03:50:40

0001 // SPDX-License-Identifier: LGPL-2.1-or-later
0002 //
0003 // SPDX-FileCopyrightText: 2010 Dennis Nienhüser <nienhueser@kde.org>
0004 //
0005 
0006 #ifndef MARBLE_INSTRUCTIONTRANSFORMATION_H
0007 #define MARBLE_INSTRUCTIONTRANSFORMATION_H
0008 
0009 #include "RoutingInstruction.h"
0010 #include "RoutingWaypoint.h"
0011 #include "marble_export.h"
0012 
0013 namespace Marble
0014 {
0015 
0016 /**
0017   * Transforms waypoints and metadata into driving directions
0018   */
0019 class MARBLE_EXPORT InstructionTransformation
0020 {
0021 public:
0022     /** Transforms waypoints and metadata into driving directions */
0023     static RoutingInstructions process( const RoutingWaypoints &waypoints );
0024 
0025 private:
0026     // Pure static usage
0027     InstructionTransformation() = delete;
0028     Q_DISABLE_COPY( InstructionTransformation )
0029 };
0030 
0031 } // namespace Marble
0032 
0033 #endif // MARBLE_INSTRUCTIONTRANSFORMATION_H