|
26 | 26 | * entries from a QgsProject.
|
27 | 27 | * @note added in QGIS 3.0
|
28 | 28 | */
|
29 |
| -namespace SERVER_EXPORT QgsServerProjectUtils |
| 29 | +namespace QgsServerProjectUtils |
30 | 30 | {
|
31 | 31 |
|
32 | 32 | /** Returns the maximum width for WMS images defined in a QGIS project.
|
33 | 33 | * @param project the QGIS project
|
34 | 34 | * @return width if defined in project, -1 otherwise.
|
35 | 35 | */
|
36 |
| - int wmsMaxWidth( const QgsProject& project ); |
| 36 | + SERVER_EXPORT int wmsMaxWidth( const QgsProject& project ); |
37 | 37 |
|
38 | 38 | /** Returns the maximum height for WMS images defined in a QGIS project.
|
39 | 39 | * @param project the QGIS project
|
40 | 40 | * @return height if defined in project, -1 otherwise.
|
41 | 41 | */
|
42 |
| - int wmsMaxHeight( const QgsProject& project ); |
| 42 | + SERVER_EXPORT int wmsMaxHeight( const QgsProject& project ); |
43 | 43 |
|
44 | 44 | /** Returns the WMS service url defined in a QGIS project.
|
45 | 45 | * @param project the QGIS project
|
46 | 46 | * @return url if defined in project, an empty string otherwise.
|
47 | 47 | */
|
48 |
| - QString wmsServiceUrl( const QgsProject& project ); |
| 48 | + SERVER_EXPORT QString wmsServiceUrl( const QgsProject& project ); |
49 | 49 |
|
50 | 50 | /** Returns the WFS service url defined in a QGIS project.
|
51 | 51 | * @param project the QGIS project
|
52 | 52 | * @return url if defined in project, an empty string otherwise.
|
53 | 53 | */
|
54 |
| - QString wfsServiceUrl( const QgsProject& project ); |
| 54 | + SERVER_EXPORT QString wfsServiceUrl( const QgsProject& project ); |
55 | 55 |
|
56 | 56 | /** Returns the WCS service url defined in a QGIS project.
|
57 | 57 | * @param project the QGIS project
|
58 | 58 | * @return url if defined in project, an empty string otherwise.
|
59 | 59 | */
|
60 |
| - QString wcsServiceUrl( const QgsProject& project ); |
| 60 | + SERVER_EXPORT QString wcsServiceUrl( const QgsProject& project ); |
61 | 61 | };
|
62 | 62 |
|
63 | 63 | #endif
|
0 commit comments