2017-05-23 14:34:35 +02:00
|
|
|
/************************************************************************
|
|
|
|
* This file has been generated automatically from *
|
|
|
|
* *
|
|
|
|
* src/core/gps/qgsgpsdetector.h *
|
|
|
|
* *
|
|
|
|
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
|
|
|
|
************************************************************************/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2018-01-14 19:29:13 +01:00
|
|
|
class QgsGpsDetector : QObject
|
2012-09-24 02:28:15 +02:00
|
|
|
{
|
2017-05-23 14:34:35 +02:00
|
|
|
%Docstring
|
2017-12-15 10:36:55 -04:00
|
|
|
Class to detect the GPS port
|
2017-05-23 14:34:35 +02:00
|
|
|
%End
|
|
|
|
|
2012-09-24 02:28:15 +02:00
|
|
|
%TypeHeaderCode
|
|
|
|
#include "qgsgpsdetector.h"
|
|
|
|
%End
|
|
|
|
public:
|
2018-01-14 19:29:13 +01:00
|
|
|
QgsGpsDetector( const QString &portName );
|
|
|
|
~QgsGpsDetector();
|
2012-09-24 02:28:15 +02:00
|
|
|
|
|
|
|
static QList< QPair<QString, QString> > availablePorts();
|
|
|
|
|
|
|
|
public slots:
|
|
|
|
void advance();
|
2018-01-14 19:29:13 +01:00
|
|
|
void detected( const QgsGpsInformation & );
|
2012-09-24 02:28:15 +02:00
|
|
|
void connDestroyed( QObject * );
|
|
|
|
|
|
|
|
signals:
|
2018-01-14 19:29:13 +01:00
|
|
|
void detected( QgsGpsConnection * );
|
2012-09-24 02:28:15 +02:00
|
|
|
void detectionFailed();
|
2017-05-23 14:34:35 +02:00
|
|
|
|
2012-09-24 02:28:15 +02:00
|
|
|
};
|
2017-05-23 14:34:35 +02:00
|
|
|
|
|
|
|
/************************************************************************
|
|
|
|
* This file has been generated automatically from *
|
|
|
|
* *
|
|
|
|
* src/core/gps/qgsgpsdetector.h *
|
|
|
|
* *
|
|
|
|
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
|
|
|
|
************************************************************************/
|