2017-06-26 09:57:09 +02:00
|
|
|
/************************************************************************
|
|
|
|
* This file has been generated automatically from *
|
|
|
|
* *
|
|
|
|
* src/server/qgsservicemodule.h *
|
|
|
|
* *
|
|
|
|
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
|
|
|
|
************************************************************************/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2016-12-07 22:09:57 +01:00
|
|
|
class QgsServiceModule
|
|
|
|
{
|
2021-03-22 21:13:52 +01:00
|
|
|
%Docstring(signature="appended")
|
2017-12-15 10:36:55 -04:00
|
|
|
Class defining the service module interface for QGIS server services
|
2017-06-26 09:57:09 +02:00
|
|
|
|
2017-12-15 10:36:55 -04:00
|
|
|
This class acts as a service registrar for services.
|
2017-06-26 09:57:09 +02:00
|
|
|
|
2021-01-30 09:16:35 +10:00
|
|
|
For dynamic modules, a :py:class:`QgsServiceModule` instance is returned from the
|
2018-07-11 09:13:02 +01:00
|
|
|
QGS_ServiceModule_Init() entry point.
|
2017-06-26 09:57:09 +02:00
|
|
|
%End
|
|
|
|
|
2016-12-07 22:09:57 +01:00
|
|
|
%TypeHeaderCode
|
|
|
|
#include "qgsservicemodule.h"
|
|
|
|
%End
|
|
|
|
public:
|
|
|
|
|
|
|
|
QgsServiceModule();
|
2017-06-26 09:57:09 +02:00
|
|
|
%Docstring
|
2018-07-11 09:13:02 +01:00
|
|
|
Default constructor for QgsServiceModule.
|
2017-06-26 09:57:09 +02:00
|
|
|
%End
|
2016-12-07 22:09:57 +01:00
|
|
|
|
2018-07-11 09:13:02 +01:00
|
|
|
virtual ~QgsServiceModule();
|
2016-12-07 22:09:57 +01:00
|
|
|
|
2017-06-26 09:57:09 +02:00
|
|
|
virtual void registerSelf( QgsServiceRegistry ®istry,
|
2017-05-02 07:21:20 +02:00
|
|
|
QgsServerInterface *serverIface = 0 ) = 0;
|
2017-06-26 09:57:09 +02:00
|
|
|
%Docstring
|
2018-07-11 09:13:02 +01:00
|
|
|
Asks the module to register all provided services.
|
2017-12-15 21:36:08 -04:00
|
|
|
|
2018-07-11 09:13:02 +01:00
|
|
|
:param registry: Service registry
|
|
|
|
:param serverIface: Interface for plugins
|
2017-06-26 09:57:09 +02:00
|
|
|
%End
|
2016-12-07 22:09:57 +01:00
|
|
|
};
|
|
|
|
|
2017-06-26 09:57:09 +02:00
|
|
|
/************************************************************************
|
|
|
|
* This file has been generated automatically from *
|
|
|
|
* *
|
|
|
|
* src/server/qgsservicemodule.h *
|
|
|
|
* *
|
|
|
|
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
|
|
|
|
************************************************************************/
|