2017-05-23 14:34:35 +02:00
|
|
|
/************************************************************************
|
|
|
|
* This file has been generated automatically from *
|
|
|
|
* *
|
|
|
|
* src/core/gps/qgsgpsconnectionregistry.h *
|
|
|
|
* *
|
|
|
|
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
|
|
|
|
************************************************************************/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2018-01-14 19:29:13 +01:00
|
|
|
class QgsGpsConnectionRegistry
|
2016-02-14 03:50:23 +01:00
|
|
|
{
|
2017-05-23 14:34:35 +02:00
|
|
|
%Docstring
|
2017-12-15 10:36:55 -04:00
|
|
|
A class to register / unregister existing GPS connections such that the information
|
|
|
|
is available to all classes and plugins.
|
2017-05-23 14:34:35 +02:00
|
|
|
|
2018-01-14 19:29:13 +01:00
|
|
|
QgsGpsConnectionRegistry is not usually directly created, but rather accessed through
|
2017-12-19 11:43:52 -04:00
|
|
|
:py:func:`QgsApplication.gpsConnectionRegistry()`
|
2017-05-23 14:34:35 +02:00
|
|
|
%End
|
|
|
|
|
2012-09-24 02:28:15 +02:00
|
|
|
%TypeHeaderCode
|
2017-05-23 14:34:35 +02:00
|
|
|
#include "qgsgpsconnectionregistry.h"
|
2012-09-24 02:28:15 +02:00
|
|
|
%End
|
|
|
|
public:
|
2017-09-11 21:43:15 +10:00
|
|
|
|
2018-01-14 19:29:13 +01:00
|
|
|
QgsGpsConnectionRegistry();
|
2017-09-11 21:43:15 +10:00
|
|
|
%Docstring
|
2018-01-14 19:29:13 +01:00
|
|
|
Constructor for QgsGpsConnectionRegistry.
|
2017-09-11 21:43:15 +10:00
|
|
|
%End
|
2018-01-14 19:29:13 +01:00
|
|
|
~QgsGpsConnectionRegistry();
|
2012-09-24 02:28:15 +02:00
|
|
|
|
2017-05-23 14:34:35 +02:00
|
|
|
|
2018-01-14 19:29:13 +01:00
|
|
|
void registerConnection( QgsGpsConnection *c );
|
2017-05-23 14:34:35 +02:00
|
|
|
%Docstring
|
|
|
|
Inserts a connection into the registry. The connection is owned by the registry class until it is unregistered again
|
|
|
|
%End
|
2018-01-14 19:29:13 +01:00
|
|
|
void unregisterConnection( QgsGpsConnection *c );
|
2017-05-23 14:34:35 +02:00
|
|
|
%Docstring
|
|
|
|
Unregisters connection. The registry does no longer own the connection
|
|
|
|
%End
|
2012-09-24 02:28:15 +02:00
|
|
|
|
2018-01-14 19:29:13 +01:00
|
|
|
QList< QgsGpsConnection *> connectionList() const;
|
2012-09-24 02:28:15 +02:00
|
|
|
|
2017-06-08 08:03:09 +02:00
|
|
|
private:
|
2018-01-14 19:29:13 +01:00
|
|
|
QgsGpsConnectionRegistry( const QgsGpsConnectionRegistry &rh );
|
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/qgsgpsconnectionregistry.h *
|
|
|
|
* *
|
|
|
|
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
|
|
|
|
************************************************************************/
|