Marble

ParseRunnerPlugin.h
1 //
2 // This file is part of the Marble Virtual Globe.
3 //
4 // This program is free software licensed under the GNU LGPL. You can
5 // find a copy of this license in LICENSE.txt in the top directory of
6 // the source code.
7 //
8 // Copyright 2010 Dennis Nienhüser <[email protected]>
9 // Copyright 2011 Thibaut Gridel <[email protected]>
10 // Copyright 2012 Bernhard Beschow <[email protected]>
11 //
12 
13 #ifndef MARBLE_PARSERUNNERPLUGIN_H
14 #define MARBLE_PARSERUNNERPLUGIN_H
15 
16 #include <QObject>
17 #include "PluginInterface.h"
18 
19 namespace Marble
20 {
21 
22 class ParsingRunner;
23 
27 class MARBLE_EXPORT ParseRunnerPlugin : public QObject, public PluginInterface
28 {
29  Q_OBJECT
30 
31 public:
33  explicit ParseRunnerPlugin( QObject* parent = nullptr );
34 
36  ~ParseRunnerPlugin() override;
37 
43  virtual QString fileFormatDescription() const = 0;
44 
50  virtual QStringList fileExtensions() const = 0;
51 
55  virtual ParsingRunner *newRunner() const = 0;
56 
57  // Overridden methods with default implementations
58 
59  QIcon icon() const override;
60 
61 private:
62  class Private;
63  Private *const d;
64 };
65 
66 }
67 
68 Q_DECLARE_INTERFACE( Marble::ParseRunnerPlugin, "org.kde.Marble.ParseRunnerPlugin/1.01" )
69 
70 #endif // MARBLE_PARSERUNNERPLUGIN_H
Binds a QML item to a specific geodetic location in screen coordinates.
This class specifies interface of a Marble plugin.
A plugin for Marble to execute a parsing task.
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Thu Oct 22 2020 23:24:18 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.