File indexing completed on 2024-07-21 09:27:07

0001 // SPDX-License-Identifier: LGPL-2.1-or-later
0002 //
0003 // SPDX-FileCopyrightText: 2010 Dennis Nienhüser <nienhueser@kde.org>
0004 //
0005 
0006 
0007 #ifndef MARBLE_LOCALDATABASEPLUGIN_H
0008 #define MARBLE_LOCALDATABASEPLUGIN_H
0009 
0010 #include "SearchRunnerPlugin.h"
0011 
0012 namespace Marble
0013 {
0014 
0015 class LocalDatabasePlugin : public SearchRunnerPlugin
0016 {
0017     Q_OBJECT
0018     Q_PLUGIN_METADATA(IID "org.kde.marble.LocalDatabasePlugin")
0019     Q_INTERFACES( Marble::SearchRunnerPlugin )
0020 
0021 public:
0022     explicit LocalDatabasePlugin(QObject *parent = nullptr);
0023 
0024     QString name() const override;
0025 
0026     QString guiString() const override;
0027 
0028     QString nameId() const override;
0029 
0030     QString version() const override;
0031 
0032     QString description() const override;
0033 
0034     QString copyrightYears() const override;
0035 
0036     QVector<PluginAuthor> pluginAuthors() const override;
0037 
0038     SearchRunner* newRunner() const override;
0039 };
0040 
0041 }
0042 
0043 #endif