File tree Expand file tree Collapse file tree 1 file changed +14
-12
lines changed Expand file tree Collapse file tree 1 file changed +14
-12
lines changed Original file line number Diff line number Diff line change @@ -38,25 +38,27 @@ class SERVER_EXPORT QgsServerSettingsEnv : public QObject
38
38
Q_OBJECT
39
39
40
40
public:
41
+ // ! Source of the parameter used in the configuration
41
42
enum Source
42
43
{
43
- DEFAULT_VALUE,
44
- ENVIRONMENT_VARIABLE,
45
- INI_FILE
44
+ DEFAULT_VALUE, // !< Default value
45
+ ENVIRONMENT_VARIABLE, // !< Environment variable
46
+ INI_FILE // <! Configuration file
46
47
};
47
48
Q_ENUM ( Source )
48
49
50
+ // ! Environment variables to configure the server
49
51
enum EnvVar
50
52
{
51
- QGIS_OPTIONS_PATH,
52
- QGIS_SERVER_PARALLEL_RENDERING,
53
- QGIS_SERVER_MAX_THREADS,
54
- QGIS_SERVER_LOG_LEVEL,
55
- QGIS_SERVER_LOG_FILE,
56
- QGIS_PROJECT_FILE,
57
- MAX_CACHE_LAYERS,
58
- QGIS_SERVER_CACHE_DIRECTORY,
59
- QGIS_SERVER_CACHE_SIZE
53
+ QGIS_OPTIONS_PATH, // !< Override the default path for user configuration
54
+ QGIS_SERVER_PARALLEL_RENDERING, // !< Activate/deactivate parallel rendering
55
+ QGIS_SERVER_MAX_THREADS, // !< Number of threads to use when parallel rendering is activated
56
+ QGIS_SERVER_LOG_LEVEL, // !< Log level
57
+ QGIS_SERVER_LOG_FILE, // !< Log file
58
+ QGIS_PROJECT_FILE, // !< QGIS project file
59
+ MAX_CACHE_LAYERS, // !< Maximum number of cached layers
60
+ QGIS_SERVER_CACHE_DIRECTORY, // !< Cache directory
61
+ QGIS_SERVER_CACHE_SIZE // !< Cache size
60
62
};
61
63
Q_ENUM ( EnvVar )
62
64
};
You can’t perform that action at this time.
0 commit comments