File indexing completed on 2024-05-05 03:50:35

0001 // SPDX-License-Identifier: LGPL-2.1-or-later
0002 //
0003 // SPDX-FileCopyrightText: 2009 Eckhart Wörner <ewoerner@kde.org>
0004 //
0005 
0006 #ifndef GEOCUTE_VELOCITYPROVIDER_H
0007 #define GEOCUTE_VELOCITYPROVIDER_H
0008 
0009 #include "Provider.h"
0010 #include "Velocity.h"
0011 
0012 
0013 
0014 class QString;
0015 
0016 namespace GeoCute
0017 {
0018 
0019 class VelocityProvider : public Provider
0020 {
0021     Q_OBJECT
0022     
0023     public:
0024         VelocityProvider(const QString& service, const QString& path,
0025             QObject* parent = 0);
0026         ~VelocityProvider();
0027         Velocity velocity();
0028         
0029     Q_SIGNALS:
0030         void velocityChanged(GeoCute::Velocity info);
0031         
0032     private:
0033         class Private;
0034         Private* const d;
0035         Q_PRIVATE_SLOT(d, void velocityChangedCall(QDBusMessage message))
0036 };
0037 
0038 }
0039 
0040 
0041 
0042 #endif