QGIS/python/server/auto_generated/qgsservice.sip.in

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

58 lines
1.8 KiB
Plaintext
Raw Normal View History

2017-06-26 09:57:09 +02:00
/************************************************************************
* This file has been generated automatically from *
* *
* src/server/qgsservice.h *
* *
2024-08-11 07:55:04 +10:00
* Do not edit manually ! Edit header and run scripts/sipify.py again *
2017-06-26 09:57:09 +02:00
************************************************************************/
class QgsService
{
2021-03-22 21:13:52 +01:00
%Docstring(signature="appended")
:py:class:`QgsService`
2017-12-15 10:36:55 -04:00
Class defining interfaces for QGIS server services
2017-06-26 09:57:09 +02:00
2017-12-15 10:36:55 -04:00
This class provides methods for executing server requests
They are registered at runtime for a given service name.
2017-06-26 09:57:09 +02:00
%End
%TypeHeaderCode
#include "qgsservice.h"
#include "qgsserverrequest.h"
#include "qgsserverresponse.h"
%End
public:
QgsService();
virtual ~QgsService();
virtual QString name() const = 0;
2017-06-26 09:57:09 +02:00
%Docstring
2017-12-15 10:36:55 -04:00
:return: the name of the service
2017-06-26 09:57:09 +02:00
%End
virtual QString version() const = 0;
2017-06-26 09:57:09 +02:00
%Docstring
2017-12-15 10:36:55 -04:00
:return: the version of the service
2017-06-26 09:57:09 +02:00
%End
2024-12-10 14:52:35 +01:00
virtual void executeRequest( const QgsServerRequest &request, QgsServerResponse &response, const QgsProject *project ) = 0;
2017-06-26 09:57:09 +02:00
%Docstring
2017-12-19 11:43:52 -04:00
Execute the requests and set result in :py:class:`QgsServerRequest`
2017-06-26 09:57:09 +02:00
%End
};
2017-06-26 09:57:09 +02:00
/************************************************************************
* This file has been generated automatically from *
* *
* src/server/qgsservice.h *
* *
2024-08-11 07:55:04 +10:00
* Do not edit manually ! Edit header and run scripts/sipify.py again *
2017-06-26 09:57:09 +02:00
************************************************************************/