Skip to content

Commit 83f4c99

Browse files
committedJan 30, 2017
add SERVER_EXPORT for each function in namespace
1 parent 44da573 commit 83f4c99

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed
 

‎src/server/qgsserverprojectutils.h

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -26,38 +26,38 @@
2626
* entries from a QgsProject.
2727
* @note added in QGIS 3.0
2828
*/
29-
namespace SERVER_EXPORT QgsServerProjectUtils
29+
namespace QgsServerProjectUtils
3030
{
3131

3232
/** Returns the maximum width for WMS images defined in a QGIS project.
3333
* @param project the QGIS project
3434
* @return width if defined in project, -1 otherwise.
3535
*/
36-
int wmsMaxWidth( const QgsProject& project );
36+
SERVER_EXPORT int wmsMaxWidth( const QgsProject& project );
3737

3838
/** Returns the maximum height for WMS images defined in a QGIS project.
3939
* @param project the QGIS project
4040
* @return height if defined in project, -1 otherwise.
4141
*/
42-
int wmsMaxHeight( const QgsProject& project );
42+
SERVER_EXPORT int wmsMaxHeight( const QgsProject& project );
4343

4444
/** Returns the WMS service url defined in a QGIS project.
4545
* @param project the QGIS project
4646
* @return url if defined in project, an empty string otherwise.
4747
*/
48-
QString wmsServiceUrl( const QgsProject& project );
48+
SERVER_EXPORT QString wmsServiceUrl( const QgsProject& project );
4949

5050
/** Returns the WFS service url defined in a QGIS project.
5151
* @param project the QGIS project
5252
* @return url if defined in project, an empty string otherwise.
5353
*/
54-
QString wfsServiceUrl( const QgsProject& project );
54+
SERVER_EXPORT QString wfsServiceUrl( const QgsProject& project );
5555

5656
/** Returns the WCS service url defined in a QGIS project.
5757
* @param project the QGIS project
5858
* @return url if defined in project, an empty string otherwise.
5959
*/
60-
QString wcsServiceUrl( const QgsProject& project );
60+
SERVER_EXPORT QString wcsServiceUrl( const QgsProject& project );
6161
};
6262

6363
#endif

0 commit comments

Comments
 (0)
Please sign in to comment.