QGIS/python/core/auto_generated/gps/qgsgpsconnectionregistry.sip.in
Nyall Dawson 3f6b490218 Sipify
2025-04-02 11:11:10 +10:00

57 lines
1.9 KiB
Plaintext

/************************************************************************
* This file has been generated automatically from *
* *
* src/core/gps/qgsgpsconnectionregistry.h *
* *
* Do not edit manually ! Edit header and run scripts/sipify.py again *
************************************************************************/
class QgsGpsConnectionRegistry
{
%Docstring(signature="appended")
Registers existing GPS connections such that the information is
available to all classes and plugins.
:py:class:`QgsGpsConnectionRegistry` is not usually directly created,
but rather accessed through
:py:func:`QgsApplication.gpsConnectionRegistry()`.
%End
%TypeHeaderCode
#include "qgsgpsconnectionregistry.h"
%End
public:
QgsGpsConnectionRegistry();
~QgsGpsConnectionRegistry();
void registerConnection( QgsGpsConnection *c );
%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 );
%Docstring
Unregisters connection. The registry does no longer own the connection
%End
QList< QgsGpsConnection *> connectionList() const;
private:
QgsGpsConnectionRegistry( const QgsGpsConnectionRegistry &rh );
};
/************************************************************************
* This file has been generated automatically from *
* *
* src/core/gps/qgsgpsconnectionregistry.h *
* *
* Do not edit manually ! Edit header and run scripts/sipify.py again *
************************************************************************/