QGIS API Documentation  3.4.15-Madeira (e83d02e274)
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 "qgsrequesthandler.h"
25 #include "qgsserverinterface.h"
26 
27 // This is needed by SIP otherwise it doesn't find QgsPythonUtils header
28 class QgsPythonUtils;
29 
35 class SERVER_EXPORT QgsServerPlugins
36 {
37  public:
38 
42  explicit QgsServerPlugins() = default;
43 
49  static bool initPlugins( QgsServerInterface *interface );
51  static QStringList &serverPlugins();
53  static QgsPythonUtils *sPythonUtils;
54 };
55 
56 #endif // QGSSERVERPLUGINS_H
Initializes Python server plugins and stores a list of server plugin names.
static QgsPythonUtils * sPythonUtils
Pointer to QgsPythonUtils.
QgsServerInterface Class defining interfaces exposed by QGIS Server and made available to plugins...