QGIS API Documentation
3.14.0-Pi (9f7028fd23)
src
server
qgsservice.h
Go to the documentation of this file.
1
/***************************************************************************
2
qgsservice.h
3
4
Class defining the service interface for QGIS server services.
5
-------------------
6
begin : 2016-12-05
7
copyright : (C) 2016 by David Marteau
8
email : david dot marteau at 3liz dot com
9
***************************************************************************/
10
11
/***************************************************************************
12
* *
13
* This program is free software; you can redistribute it and/or modify *
14
* it under the terms of the GNU General Public License as published by *
15
* the Free Software Foundation; either version 2 of the License, or *
16
* (at your option) any later version. *
17
* *
18
***************************************************************************/
19
20
21
#ifndef QGSSERVICECOMPONENT_H
22
#define QGSSERVICECOMPONENT_H
23
24
#include "
qgsserverrequest.h
"
25
#include "
qgsserverresponse.h
"
26
27
class
QgsProject
;
28
39
class
SERVER_EXPORT
QgsService
40
{
41
#ifdef SIP_RUN
42
#include "
qgsserverrequest.h
"
43
#include "
qgsserverresponse.h
"
44
#endif
45
46
public
:
47
49
QgsService
();
50
52
virtual
~
QgsService
() =
default
;
53
57
virtual
QString name()
const
= 0;
58
62
virtual
QString version()
const
= 0;
63
67
virtual
void
executeRequest(
const
QgsServerRequest
&request,
68
QgsServerResponse
&response,
69
const
QgsProject
*project ) = 0;
70
};
71
72
#endif
73
QgsService
Definition:
qgsservice.h:39
QgsServerRequest
Definition:
qgsserverrequest.h:38
QgsProject
Definition:
qgsproject.h:92
qgsserverrequest.h
qgsserverresponse.h
QgsServerResponse
Definition:
qgsserverresponse.h:43
Generated on Mon Jun 22 2020 05:14:09 for QGIS API Documentation by
1.8.17