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

55 lines
1.8 KiB
Plaintext

/************************************************************************
* This file has been generated automatically from *
* *
* src/server/qgsservice.h *
* *
* Do not edit manually ! Edit header and run scripts/sipify.py again *
************************************************************************/
class QgsService
{
%Docstring(signature="appended")
Defines interfaces for QGIS server services.
This class provides methods for executing server requests They are
registered at runtime for a given service name.
%End
%TypeHeaderCode
#include "qgsservice.h"
#include "qgsserverrequest.h"
#include "qgsserverresponse.h"
%End
public:
QgsService();
virtual ~QgsService();
virtual QString name() const = 0;
%Docstring
Returns the name of the service.
%End
virtual QString version() const = 0;
%Docstring
Returns the version of the service.
%End
virtual void executeRequest( const QgsServerRequest &request, QgsServerResponse &response, const QgsProject *project ) = 0;
%Docstring
Executes the requests and sets result in :py:class:`QgsServerRequest`.
%End
};
/************************************************************************
* This file has been generated automatically from *
* *
* src/server/qgsservice.h *
* *
* Do not edit manually ! Edit header and run scripts/sipify.py again *
************************************************************************/