QGIS API Documentation 3.41.0-Master (3440c17df1d)
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
33class SERVER_EXPORT QgsServerPlugins
34{
35 public:
36
40 explicit QgsServerPlugins() = default;
41
47 static bool initPlugins( QgsServerInterface *interface );
49 static QStringList &serverPlugins();
51 static QgsPythonUtils *sPythonUtils;
52};
53
54#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.