Skip to content

Commit

Permalink
add SERVER_EXPORT for each function in namespace
Browse files Browse the repository at this point in the history
  • Loading branch information
pblottiere committed Jan 30, 2017
1 parent 44da573 commit 83f4c99
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/server/qgsserverprojectutils.h
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -26,38 +26,38 @@
* entries from a QgsProject. * entries from a QgsProject.
* @note added in QGIS 3.0 * @note added in QGIS 3.0
*/ */
namespace SERVER_EXPORT QgsServerProjectUtils namespace QgsServerProjectUtils
{ {


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


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


/** Returns the WMS service url defined in a QGIS project. /** Returns the WMS service url defined in a QGIS project.
* @param project the QGIS project * @param project the QGIS project
* @return url if defined in project, an empty string otherwise. * @return url if defined in project, an empty string otherwise.
*/ */
QString wmsServiceUrl( const QgsProject& project ); SERVER_EXPORT QString wmsServiceUrl( const QgsProject& project );


/** Returns the WFS service url defined in a QGIS project. /** Returns the WFS service url defined in a QGIS project.
* @param project the QGIS project * @param project the QGIS project
* @return url if defined in project, an empty string otherwise. * @return url if defined in project, an empty string otherwise.
*/ */
QString wfsServiceUrl( const QgsProject& project ); SERVER_EXPORT QString wfsServiceUrl( const QgsProject& project );


/** Returns the WCS service url defined in a QGIS project. /** Returns the WCS service url defined in a QGIS project.
* @param project the QGIS project * @param project the QGIS project
* @return url if defined in project, an empty string otherwise. * @return url if defined in project, an empty string otherwise.
*/ */
QString wcsServiceUrl( const QgsProject& project ); SERVER_EXPORT QString wcsServiceUrl( const QgsProject& project );
}; };


#endif #endif

0 comments on commit 83f4c99

Please sign in to comment.