QGIS API Documentation 3.36.0-Maidenhead (09951dc0acf)
Loading...
Searching...
No Matches
qgsservicemodule.h
Go to the documentation of this file.
1/***************************************************************************
2 qgsservicemodule.h
3
4 Class defining the service module 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 QGSSERVICEMODULE_H
22#define QGSSERVICEMODULE_H
23
24#include "qgis_server.h"
25
28
40class SERVER_EXPORT QgsServiceModule
41{
42
43 public:
44
48 QgsServiceModule() = default;
49
53 virtual ~QgsServiceModule() = default;
54
60 virtual void registerSelf( QgsServiceRegistry &registry,
61 QgsServerInterface *serverIface = nullptr ) = 0;
62};
63
64#endif
QgsServerInterface Class defining interfaces exposed by QGIS Server and made available to plugins.
Class defining the service module interface for QGIS server services.
QgsServiceModule()=default
Default constructor for QgsServiceModule.
virtual ~QgsServiceModule()=default
Default destructor for QgsServiceModule.
virtual void registerSelf(QgsServiceRegistry &registry, QgsServerInterface *serverIface=nullptr)=0
Asks the module to register all provided services.
QgsServiceRegistry Class defining the registry manager for QGIS server services.