Marble

PositionProviderPlugin.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 2009 Eckhart Wörner <[email protected]>
9 //
10 
11 #ifndef MARBLE_POSITIONPROVIDERPLUGIN_H
12 #define MARBLE_POSITIONPROVIDERPLUGIN_H
13 
14 #include "PositionProviderPluginInterface.h"
15 #include "marble_export.h"
16 
17 
18 namespace Marble
19 {
20 class PositionProviderPluginPrivate;
21 
26 {
27  Q_OBJECT
28 
29  public:
30  ~PositionProviderPlugin() override;
31 
37  virtual QString guiString() const = 0;
38 
43  virtual PositionProviderPlugin * newInstance() const = 0;
44 
45  Q_SIGNALS:
46  void statusChanged( PositionProviderStatus status ) const;
47  void positionChanged( const GeoDataCoordinates& position,
48  const GeoDataAccuracy& accuracy ) const;
49 
50  protected:
51  PositionProviderPlugin(QObject* parent=nullptr);
52 
53  private:
54  Q_DISABLE_COPY( PositionProviderPlugin )
55  PositionProviderPluginPrivate *d;
56 
57 };
58 
59 }
60 
61 #endif
A 3d point representation.
Binds a QML item to a specific geodetic location in screen coordinates.
The interface for position provider plugins.
The abstract class that provides position information.
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Wed Oct 28 2020 23:24:40 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.