QGIS/python/core/gps/qgsgpsconnectionregistry.sip.in

58 lines
2.0 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 *
************************************************************************/
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
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
%TypeHeaderCode
2017-05-23 14:34:35 +02:00
#include "qgsgpsconnectionregistry.h"
%End
public:
2017-09-11 21:43:15 +10:00
QgsGpsConnectionRegistry();
2017-09-11 21:43:15 +10:00
%Docstring
Constructor for QgsGpsConnectionRegistry.
2017-09-11 21:43:15 +10:00
%End
~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-06-08 08:03:09 +02:00
private:
QgsGpsConnectionRegistry( const QgsGpsConnectionRegistry &rh );
};
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 *
************************************************************************/