File tree 4 files changed +35
-3
lines changed
4 files changed +35
-3
lines changed Original file line number Diff line number Diff line change @@ -596,6 +596,7 @@ INPUT = @CMAKE_SOURCE_DIR@/doc \
596
596
@CMAKE_SOURCE_DIR@/src/analysis/raster \
597
597
@CMAKE_SOURCE_DIR@/src/analysis/vector \
598
598
@CMAKE_SOURCE_DIR@/src/plugins \
599
+ @CMAKE_SOURCE_DIR@/src/server/qgsserver.h \
599
600
@CMAKE_SOURCE_DIR@/src/server/qgscapabilitiescache.h \
600
601
@CMAKE_SOURCE_DIR@/src/server/qgsmapserviceexception.h \
601
602
@CMAKE_SOURCE_DIR@/src/server/qgsrequesthandler.h \
Original file line number Diff line number Diff line change @@ -34,7 +34,6 @@ class QgsServerInterface;
34
34
* after core services have returned to main loop
35
35
* * sendResponse() - called just before sending output to FGCI
36
36
*/
37
-
38
37
class SERVER_EXPORT QgsServerFilter
39
38
{
40
39
Original file line number Diff line number Diff line change @@ -41,14 +41,39 @@ class SERVER_EXPORT QgsServerInterface
41
41
/* * Destructor */
42
42
virtual ~QgsServerInterface () = 0 ;
43
43
44
+ /* *
45
+ * Set the request handler
46
+ * @param QgsRequestHandler
47
+ */
44
48
virtual void setRequestHandler ( QgsRequestHandler* requestHandler ) = 0;
49
+
50
+ /* *
51
+ * Get pointer to the capabiblities cache
52
+ * @return QgsCapabilitiesCache
53
+ */
45
54
virtual QgsCapabilitiesCache* capabiblitiesCache () = 0;
55
+
56
+ /* *
57
+ * Get pointer to the request handler
58
+ * @return QgsRequestHandler
59
+ */
46
60
virtual QgsRequestHandler* requestHandler ( ) = 0;
61
+
62
+ /* *
63
+ * Register a QgsServerFilter
64
+ * @param filter the QgsServerFilter to add
65
+ * @param priority an optional priority for the filter order
66
+ */
47
67
virtual void registerFilter ( QgsServerFilter* filter, int priority = 0 ) = 0;
68
+
69
+ /* *
70
+ * Return the list of current QgsServerFilter
71
+ * @return QgsServerFiltersMap list of QgsServerFilter
72
+ */
48
73
virtual QgsServerFiltersMap filters ( ) = 0;
49
- /* Pass environment variables to python*/
50
- virtual QString getEnv ( const QString& name ) const = 0;
51
74
75
+ // ! Return an enrironment variable, used to pass environment variables to python
76
+ virtual QString getEnv ( const QString& name ) const = 0;
52
77
};
53
78
54
79
#endif // QGSSERVERINTERFACE_H
Original file line number Diff line number Diff line change @@ -26,8 +26,15 @@ class SERVER_EXPORT QgsServerPlugins
26
26
{
27
27
public:
28
28
explicit QgsServerPlugins ();
29
+ /* *
30
+ * Initialise the python plugins
31
+ * @param interface QgsServerInterface
32
+ * @return bool true on success
33
+ */
29
34
static bool initPlugins ( QgsServerInterface* interface );
35
+ // ! Pointer to QgsPythonUtils
30
36
static QgsPythonUtils* mPythonUtils ;
37
+ // ! List of available server plugin names
31
38
static QStringList mServerPlugins ;
32
39
};
33
40
You can’t perform that action at this time.
0 commit comments