QGIS API Documentation 3.39.0-Master (3aed037ce22)
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
45 QgsServiceModule() = default;
46 virtual ~QgsServiceModule() = default;
47
53 virtual void registerSelf( QgsServiceRegistry &registry,
54 QgsServerInterface *serverIface = nullptr ) = 0;
55};
56
57#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
virtual ~QgsServiceModule()=default
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.