Warning, /education/marble/src/bindings/python/sip/PositionProviderPluginInterface.sip is written in an unsupported language. File is not indexed.

0001 // Copyright 2011 Simon Edwards <simon@simonzone.com>
0002 
0003 //                 Generated by twine2
0004 
0005 // This program is free software; you can redistribute it and/or modify
0006 // it under the terms of the GNU Library General Public License as
0007 // published by the Free Software Foundation; either version 2, or
0008 // (at your option) any later version.
0009 
0010 // This program is distributed in the hope that it will be useful,
0011 // but WITHOUT ANY WARRANTY; without even the implied warranty of
0012 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
0013 // GNU General Public License for more details
0014 
0015 // You should have received a copy of the GNU Library General Public
0016 // License along with this program; if not, write to the
0017 // Free Software Foundation, Inc.,
0018 // 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
0019 
0020 namespace Marble
0021 {
0022 enum PositionProviderStatus
0023 {
0024     PositionProviderStatusError,
0025     PositionProviderStatusUnavailable,
0026     PositionProviderStatusAcquiring,
0027     PositionProviderStatusAvailable
0028 };
0029 class PositionProviderPluginInterface : Marble::PluginInterface
0030 {
0031 %TypeHeaderCode
0032 #include <PositionProviderPluginInterface.h>
0033 %End
0034 
0035 public:
0036     virtual ~PositionProviderPluginInterface ();
0037     virtual void            initialize ()=0;
0038     virtual bool            isInitialized () const=0;
0039     virtual Marble::PositionProviderStatus  status () const=0;
0040     virtual Marble::GeoDataCoordinates  position () const=0;
0041     virtual Marble::GeoDataAccuracy  accuracy () const=0;
0042     virtual qreal           speed () const=0;
0043     virtual qreal           direction () const=0;
0044     virtual QDateTime       timestamp () const=0;
0045     virtual QString         error () const;
0046 };
0047 };