Changeset View
Changeset View
Standalone View
Standalone View
src/plugins/render/notes/NotesPlugin.h
- This file was added.
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 2016 Spencer Brown <spencerbrown991@gmail.com> | ||||
9 | // | ||||
10 | | ||||
11 | #ifndef NOTESPLUGIN_H | ||||
12 | #define NOTESPLUGIN_H | ||||
13 | | ||||
14 | #include "AbstractDataPlugin.h" | ||||
15 | | ||||
16 | namespace Marble { | ||||
17 | | ||||
18 | class NotesPlugin : public AbstractDataPlugin { | ||||
19 | | ||||
20 | Q_OBJECT | ||||
21 | Q_PLUGIN_METADATA(IID "org.kde.marble.NotesPlugin") | ||||
22 | Q_INTERFACES( Marble::RenderPluginInterface ) | ||||
23 | MARBLE_PLUGIN( NotesPlugin ) | ||||
24 | | ||||
25 | public: | ||||
26 | NotesPlugin(); | ||||
27 | | ||||
28 | explicit NotesPlugin( const MarbleModel *marbleModel ); | ||||
29 | | ||||
30 | void initialize() override; | ||||
31 | | ||||
32 | QString name() const override; | ||||
33 | | ||||
34 | QString guiString() const override; | ||||
35 | | ||||
36 | QString nameId() const override; | ||||
37 | | ||||
38 | QString version() const override; | ||||
39 | | ||||
40 | QString description() const override; | ||||
41 | | ||||
42 | QString copyrightYears() const override; | ||||
43 | | ||||
44 | QVector<PluginAuthor> pluginAuthors() const override; | ||||
45 | | ||||
46 | QIcon icon() const override; | ||||
47 | }; | ||||
48 | | ||||
49 | } | ||||
50 | | ||||
51 | #endif // NOTESPLUGIN_H |