File indexing completed on 2025-02-02 05:02:27

0001 /*
0002     SPDX-FileCopyrightText: 2020 Volker Krause <vkrause@kde.org>
0003 
0004     SPDX-License-Identifier: LGPL-2.0-or-later
0005 */
0006 
0007 #ifndef DEVELOPMENTMODECONTROLLER_H
0008 #define DEVELOPMENTMODECONTROLLER_H
0009 
0010 #include <QMetaType>
0011 #include <QUrl>
0012 
0013 /** Functions for the development mode. */
0014 class DevelopmentModeController
0015 {
0016     Q_GADGET
0017 public:
0018     Q_INVOKABLE void enablePublicTransportLogging();
0019     Q_INVOKABLE void importMapCSS(const QUrl &url);
0020     Q_INVOKABLE void purgeMapCSS();
0021     Q_INVOKABLE void clearOsmTileCache();
0022     Q_INVOKABLE void crash();
0023     Q_INVOKABLE QString screenInfo();
0024 };
0025 
0026 Q_DECLARE_METATYPE(DevelopmentModeController)
0027 
0028 #endif // DEVELOPMENTMODECONTROLLER_H