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

58 lines
2.0 KiB
Plaintext

/************************************************************************
* 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
{
%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
:py:func:`QgsApplication.gpsConnectionRegistry()`
%End
%TypeHeaderCode
#include "qgsgpsconnectionregistry.h"
%End
public:
QgsGpsConnectionRegistry();
%Docstring
Constructor for QgsGpsConnectionRegistry.
%End
~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.pl again *
************************************************************************/