mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-27 00:33:48 -05:00
38 lines
1019 B
Plaintext
38 lines
1019 B
Plaintext
%Feature MOBILITY_LOCATION
|
|
|
|
%If (MOBILITY_LOCATION)
|
|
class QgsQtLocationConnection: QgsGPSConnection
|
|
{
|
|
%TypeHeaderCode
|
|
#include <qgsqtlocationconnection.h>
|
|
%End
|
|
public:
|
|
QgsQtLocationConnection();
|
|
~QgsQtLocationConnection();
|
|
|
|
protected slots:
|
|
/** Needed to make QtLocation detected*/
|
|
void broadcastConnectionAvailable();
|
|
|
|
/** Parse available data source content*/
|
|
void parseData();
|
|
|
|
/** Called when the position updated.
|
|
* @note not available in python binding
|
|
*/
|
|
// void positionUpdated( const QGeoPositionInfo &info );
|
|
|
|
%If (!ANDROID)
|
|
/** Called when the number of satellites in view is updated.
|
|
* @note not available in python bindings on android
|
|
*/
|
|
void satellitesInViewUpdated( const QList<QGeoSatelliteInfo>& satellites );
|
|
|
|
/** Called when the number of satellites in use is updated.
|
|
* @note not available in python bindings on android
|
|
*/
|
|
void satellitesInUseUpdated( const QList<QGeoSatelliteInfo>& satellites );
|
|
%End
|
|
};
|
|
%End
|