Commit 5af357d5 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

GIt_SILENT: using pragma once directly

parent 6a4223ec
Pipeline #56092 skipped
......@@ -4,8 +4,7 @@
SPDX-License-Identifier: LGPL-2.0-or-later
*/
#ifndef KITINERARY_AIRPORTDBGENERATOR_H
#define KITINERARY_AIRPORTDBGENERATOR_H
#pragma once
#include <knowledgedb.h>
#include "osmairportdb.h"
......@@ -63,4 +62,3 @@ private:
}
}
#endif // KITINERARY_AIRPORTDBGENERATOR_H
......@@ -4,8 +4,7 @@
SPDX-License-Identifier: LGPL-2.0-or-later
*/
#ifndef KITINERARY_GENERATOR_CODEGEN_H
#define KITINERARY_GENERATOR_CODEGEN_H
#pragma once
#include "knowledgedb.h"
......@@ -31,4 +30,3 @@ namespace CodeGen
}
}
#endif // KITINERARY_GENERATOR_CODEGEN_H
......@@ -4,8 +4,7 @@
SPDX-License-Identifier: LGPL-2.0-or-later
*/
#ifndef KITINERARY_GENERATOR_COUNTRYDBGENERATOR_H
#define KITINERARY_GENERATOR_COUNTRYDBGENERATOR_H
#pragma once
#include <QSet>
#include <QUrl>
......@@ -55,4 +54,3 @@ private:
}}
#endif // KITINERARY_GENERATOR_COUNTRYDBGENERATOR_H
......@@ -4,8 +4,7 @@
SPDX-License-Identifier: LGPL-2.0-or-later
*/
#ifndef OSMAIRPORTDB_H
#define OSMAIRPORTDB_H
#pragma once
#include <osm/datatypes.h>
#include <osm/element.h>
......@@ -46,4 +45,3 @@ private:
std::map<QString, OSMAirportData> m_iataMap;
};
#endif // OSMAIRPORTDB_H
......@@ -4,8 +4,7 @@
SPDX-License-Identifier: LGPL-2.0-or-later
*/
#ifndef KITINERARY_TIMEZONEDBGENERATOR_H
#define KITINERARY_TIMEZONEDBGENERATOR_H
#pragma once
class QIODevice;
......@@ -23,4 +22,3 @@ public:
}
}
#endif // KITINERARY_TIMEZONEDBGENERATOR_H
......@@ -4,8 +4,7 @@
SPDX-License-Identifier: LGPL-2.0-or-later
*/
#ifndef KITINERARY_GENERATOR_TIMEZONES
#define KITINERARY_GENERATOR_TIMEZONES
#pragma once
#include <knowledgedb.h>
......@@ -43,4 +42,3 @@ private:
}
}
#endif
......@@ -4,8 +4,7 @@
SPDX-License-Identifier: LGPL-2.0-or-later
*/
#ifndef KITINERARY_GENERATOR_TRAINSTATIONDBGENERATOR_H
#define KITINERARY_GENERATOR_TRAINSTATIONDBGENERATOR_H
#pragma once
#include <knowledgedb.h>
#include <stationidentifier.h>
......@@ -75,4 +74,3 @@ private:
}
}
#endif // KITINERARY_GENERATOR_TRAINSTATIONDBGENERATOR_H
......@@ -4,8 +4,7 @@
SPDX-License-Identifier: LGPL-2.0-or-later
*/
#ifndef KITINERARY_GENERATOR_UTIL_H
#define KITINERARY_GENERATOR_UTIL_H
#pragma once
class QString;
......@@ -21,4 +20,3 @@ namespace Util
}
}
#endif // KITINERARY_GENERATOR_UTIL_H
......@@ -4,8 +4,7 @@
SPDX-License-Identifier: LGPL-2.0-or-later
*/
#ifndef KITINERARY_WIKIDATA_H
#define KITINERARY_WIKIDATA_H
#pragma once
#include "knowledgedb.h"
......@@ -36,4 +35,3 @@ namespace WikiData
}
}
#endif // KITINERARY_WIKIDATA_H
......@@ -4,8 +4,7 @@
SPDX-License-Identifier: LGPL-2.0-or-later
*/
#ifndef KITINERARY_BARCODEDECODER_H
#define KITINERARY_BARCODEDECODER_H
#pragma once
#include "kitinerary_export.h"
......@@ -96,4 +95,3 @@ private:
Q_DECLARE_OPERATORS_FOR_FLAGS(KItinerary::BarcodeDecoder::BarcodeTypes)
#endif // KITINERARY_BARCODEDECODER_H
......@@ -4,8 +4,7 @@
SPDX-License-Identifier: LGPL-2.0-or-later
*/
#ifndef CALENDARHANDLER_H
#define CALENDARHANDLER_H
#pragma once
#include "kitinerary_export.h"
......@@ -56,4 +55,3 @@ namespace CalendarHandler
}
#endif // CALENDARHANDLER_H
......@@ -4,8 +4,7 @@
SPDX-License-Identifier: LGPL-2.0-or-later
*/
#ifndef KITINERARY_ACTION_H
#define KITINERARY_ACTION_H
#pragma once
#include "kitinerary_export.h"
#include "datatypes.h"
......@@ -80,4 +79,3 @@ class KITINERARY_EXPORT ViewAction : public Action
}
#endif // KITINERARY_ACTION_H
......@@ -4,8 +4,7 @@
SPDX-License-Identifier: LGPL-2.0-or-later
*/
#ifndef KITINERARY_BRAND_H
#define KITINERARY_BRAND_H
#pragma once
#include "kitinerary_export.h"
#include "datatypes.h"
......@@ -30,4 +29,3 @@ private:
Q_DECLARE_METATYPE(KItinerary::Brand)
#endif // KITINERARY_BRAND_H
......@@ -4,8 +4,7 @@
SPDX-License-Identifier: LGPL-2.0-or-later
*/
#ifndef KITINERARY_BUSTRIP_H
#define KITINERARY_BUSTRIP_H
#pragma once
#include "kitinerary_export.h"
#include "datatypes.h"
......@@ -40,4 +39,3 @@ private:
Q_DECLARE_METATYPE(KItinerary::BusTrip)
#endif // KITINERARY_BUSTRIP_H
......@@ -4,8 +4,7 @@
SPDX-License-Identifier: LGPL-2.0-or-later
*/
#ifndef KITINERARY_CREATIVEWORK_H
#define KITINERARY_CREATIVEWORK_H
#pragma once
#include "kitinerary_export.h"
#include "datatypes.h"
......@@ -56,5 +55,4 @@ Q_DECLARE_METATYPE(KItinerary::CreativeWork)
Q_DECLARE_METATYPE(KItinerary::DigitalDocument)
Q_DECLARE_METATYPE(KItinerary::EmailMessage)
#endif // KITINERARY_CREATIVEWORK_H
......@@ -4,8 +4,7 @@
SPDX-License-Identifier: LGPL-2.0-or-later
*/
#ifndef KITINERARY_DATATYPES_H
#define KITINERARY_DATATYPES_H
#pragma once
#include <QMetaType>
#include <QSharedDataPointer>
......@@ -88,4 +87,3 @@ public: \
void SetName(KItinerary::detail::parameter_type<Type>::type value); \
private:
#endif
......@@ -4,8 +4,7 @@
SPDX-License-Identifier: LGPL-2.0-or-later
*/
#ifndef KITINERARY_DATATYPES_P_H
#define KITINERARY_DATATYPES_P_H
#pragma once
#include <QDateTime>
......@@ -150,4 +149,3 @@ bool Class::operator==(const Class &other) const \
}
#endif
......@@ -4,8 +4,7 @@
SPDX-License-Identifier: LGPL-2.0-or-later
*/
#ifndef KITINERARY_EVENT_H
#define KITINERARY_EVENT_H
#pragma once
#include "kitinerary_export.h"
#include "datatypes.h"
......@@ -38,4 +37,3 @@ private:
Q_DECLARE_METATYPE(KItinerary::Event)
#endif // KITINERARY_EVENT_H
......@@ -4,8 +4,7 @@
SPDX-License-Identifier: LGPL-2.0-or-later
*/
#ifndef KITINERARY_FLIGHT_H
#define KITINERARY_FLIGHT_H
#pragma once
#include "kitinerary_export.h"
#include "datatypes.h"
......@@ -55,4 +54,3 @@ private:
Q_DECLARE_METATYPE(KItinerary::Flight)
#endif // KITINERARY_FLIGHT_H
......@@ -5,8 +5,7 @@
*/
#ifndef KITINERARY_ORGANIZATION_H
#define KITINERARY_ORGANIZATION_H
#pragma once
#include "kitinerary_export.h"
......@@ -91,4 +90,3 @@ Q_DECLARE_METATYPE(KItinerary::Airline)
Q_DECLARE_METATYPE(KItinerary::FoodEstablishment)
Q_DECLARE_METATYPE(KItinerary::LodgingBusiness)
#endif // KITINERARY_ORGANIZATION_H
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment