QGIS API Documentation 3.34.0-Prizren (ffbdd678812)
Loading...
Searching...
No Matches
qgsserverplugins.h
Go to the documentation of this file.
1/***************************************************************************
2 qgsserverplugins.h
3 -------------------------
4 begin : August 28, 2014
5 copyright : (C) 2014 by Alessandro Pasotti - ItOpen
6 email : apasotti at gmail dot com
7 ***************************************************************************/
8
9/***************************************************************************
10 * *
11 * This program is free software; you can redistribute it and/or modify *
12 * it under the terms of the GNU General Public License as published by *
13 * the Free Software Foundation; either version 2 of the License, or *
14 * (at your option) any later version. *
15 * *
16 ***************************************************************************/
17
18#ifndef QGSSERVERPLUGINS_H
19#define QGSSERVERPLUGINS_H
20
21#define SIP_NO_FILE
22
23
24#include "qgsserverinterface.h"
25
26// This is needed by SIP otherwise it doesn't find QgsPythonUtils header
27class QgsPythonUtils;
28
34class SERVER_EXPORT QgsServerPlugins
35{
36 public:
37
41 explicit QgsServerPlugins() = default;
42
48 static bool initPlugins( QgsServerInterface *interface );
50 static QStringList &serverPlugins();
52 static QgsPythonUtils *sPythonUtils;
53};
54
55#endif // QGSSERVERPLUGINS_H
QgsServerInterface Class defining interfaces exposed by QGIS Server and made available to plugins.
Initializes Python server plugins and stores a list of server plugin names.
QgsServerPlugins()=default
Default constructor for QgsServerPlugins.
static QgsPythonUtils * sPythonUtils
Pointer to QgsPythonUtils.