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 *
|
|
|
|
************************************************************************/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2016-02-14 03:50:23 +01:00
|
|
|
class QgsGPSConnectionRegistry
|
|
|
|
{
|
2017-05-23 14:34:35 +02:00
|
|
|
%Docstring
|
|
|
|
A class to register / unregister existing GPS connections such that the information
|
|
|
|
is available to all classes and plugins.
|
|
|
|
|
|
|
|
QgsGPSConnectionRegistry is not usually directly created, but rather accessed through
|
|
|
|
QgsApplication.gpsConnectionRegistry().
|
|
|
|
%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:
|
2016-12-28 16:09:05 +10:00
|
|
|
QgsGPSConnectionRegistry();
|
2012-09-24 02:28:15 +02:00
|
|
|
~QgsGPSConnectionRegistry();
|
|
|
|
|
2017-05-23 14:34:35 +02:00
|
|
|
|
2017-05-01 18:13:15 +02: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
|
2017-05-01 18:13:15 +02: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
|
|
|
|
|
|
|
QList< QgsGPSConnection *> connectionList() const;
|
2017-05-23 14:34:35 +02:00
|
|
|
%Docstring
|
|
|
|
:rtype: list of QgsGPSConnection
|
|
|
|
%End
|
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 *
|
|
|
|
************************************************************************/
|