mirror of
https://codeberg.org/comaps/comaps
synced 2025-12-21 13:53:37 +00:00
Format all C++ and Java code via clang-format
Signed-off-by: Konstantin Pastbin <konstantin.pastbin@gmail.com>
This commit is contained in:
@@ -4,10 +4,12 @@
|
||||
|
||||
#include <QGeoPositionInfoSource>
|
||||
|
||||
class QtLocationService : public QObject, public location::LocationService
|
||||
class QtLocationService
|
||||
: public QObject
|
||||
, public location::LocationService
|
||||
{
|
||||
Q_OBJECT
|
||||
QGeoPositionInfoSource *m_positionSource;
|
||||
QGeoPositionInfoSource * m_positionSource;
|
||||
// Unfortunately when the source is `geoclue2`
|
||||
// we would need access to the `Active` D-Bus property
|
||||
// https://www.freedesktop.org/software/geoclue/docs
|
||||
@@ -17,7 +19,7 @@ class QtLocationService : public QObject, public location::LocationService
|
||||
|
||||
public:
|
||||
explicit QtLocationService(location::LocationObserver &, std::string const &);
|
||||
virtual ~QtLocationService() {};
|
||||
virtual ~QtLocationService() {}
|
||||
virtual void Start();
|
||||
virtual void Stop();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user