Skip to content

Commit

Permalink
[Server] Various code cleaning for server cache manager and WMTS service
Browse files Browse the repository at this point in the history
  • Loading branch information
rldhont committed Aug 21, 2018
1 parent f6d0fc0 commit 6895926
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 7 deletions.
1 change: 1 addition & 0 deletions src/server/qgsserverinterfaceimpl.h
Expand Up @@ -72,6 +72,7 @@ class QgsServerInterfaceImpl : public QgsServerInterface
/**
* Gets the helper over all the registered server cache filters
* \returns the server cache helper
* \since QGIS 3.4
*/
QgsServerCacheManager *cacheManager() const override { return mCacheManager.get(); }

Expand Down
4 changes: 2 additions & 2 deletions src/server/services/wmts/qgswmts.cpp
Expand Up @@ -31,7 +31,7 @@ namespace QgsWmts
* \ingroup server
* \class QgsWmts::Service
* \brief OGC web service specialized for WMTS
* \since QGIS 3.0
* \since QGIS 3.4
*/
class Service: public QgsService
{
Expand Down Expand Up @@ -68,7 +68,7 @@ namespace QgsWmts
}

// Get the request
QString req = params.value( QStringLiteral( "REQUEST" ) );
QString req = params.value( QgsServerParameter::name( QgsServerParameter::REQUEST ) );
if ( req.isEmpty() )
{
throw QgsServiceException( QStringLiteral( "OperationNotSupported" ),
Expand Down
2 changes: 1 addition & 1 deletion src/server/services/wmts/qgswmtsgettile.cpp
@@ -1,5 +1,5 @@
/***************************************************************************
qgswmsgetmap.cpp
qgswmtsgettile.cpp
-------------------------
begin : July 23 , 2017
copyright : (C) 2018 by René-Luc D'Hont
Expand Down
2 changes: 1 addition & 1 deletion src/server/services/wmts/qgswmtsgettile.h
@@ -1,5 +1,5 @@
/***************************************************************************
qgswmsgettile.h
qgswmtsgettile.h
-------------------------
begin : July 23 , 2017
copyright : (C) 2018 by René-Luc D'Hont
Expand Down
6 changes: 3 additions & 3 deletions src/server/services/wmts/qgswmtsserviceexception.h
@@ -1,7 +1,7 @@
/***************************************************************************
qgswmtsserviceexception.h
------------------------
begin : July 23, 2017
begin : July 23, 2018
copyright : (C) 2018 by René-Luc D'Hont
email : rldhont at 3liz dot com
***************************************************************************/
Expand All @@ -28,8 +28,8 @@ namespace QgsWmts
/**
* \ingroup server
* \class QgsWmts::QgsServiceException
* \brief Exception class for WFS services
* \since QGIS 3.0
* \brief Exception class for WMTS services
* \since QGIS 3.4
*/
class QgsServiceException : public QgsOgcServiceException
{
Expand Down
1 change: 1 addition & 0 deletions src/server/services/wmts/qgswmtsutils.h
Expand Up @@ -27,6 +27,7 @@
/**
* \ingroup server
* WMTS implementation
* \since QGIS 3.4
*/

//! WMTS implementation
Expand Down

0 comments on commit 6895926

Please sign in to comment.