QGIS API Documentation  3.4.15-Madeira (e83d02e274)
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 
26 class QgsServiceRegistry;
27 class QgsServerInterface;
28 
41 class SERVER_EXPORT QgsServiceModule
42 {
43 
44  public:
45 
49  QgsServiceModule() = default;
50 
54  virtual ~QgsServiceModule() = default;
55 
61  virtual void registerSelf( QgsServiceRegistry &registry,
62  QgsServerInterface *serverIface = nullptr ) = 0;
63 };
64 
65 #endif
Class defining the service module interface for QGIS server services.
QgsServerInterface Class defining interfaces exposed by QGIS Server and made available to plugins...
QgsServiceRegistry Class defining the registry manager for QGIS server services.