QGIS/python/core/gps/qgsgpsconnectionregistry.sip

55 lines
1.9 KiB
Plaintext
Raw Normal View History

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
%TypeHeaderCode
2017-05-23 14:34:35 +02:00
#include "qgsgpsconnectionregistry.h"
%End
public:
QgsGPSConnectionRegistry();
~QgsGPSConnectionRegistry();
2017-05-23 14:34:35 +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
void unregisterConnection( QgsGPSConnection *c );
2017-05-23 14:34:35 +02:00
%Docstring
Unregisters connection. The registry does no longer own the connection
%End
QList< QgsGPSConnection *> connectionList() const;
2017-05-23 14:34:35 +02:00
%Docstring
:rtype: list of QgsGPSConnection
%End
};
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 *
************************************************************************/