Skip to content

Commit bfc081d

Browse files
committedJan 10, 2017
Fix indent and documentation
1 parent 92d3958 commit bfc081d

File tree

3 files changed

+9
-5
lines changed

3 files changed

+9
-5
lines changed
 

‎python/server/qgsserverresponse.sip

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,9 @@
2525

2626
class QgsServerResponse
2727
{
28-
%TypeHeaderCode
28+
% TypeHeaderCode
2929
#include "qgsserverresponse.h"
30-
%End
30+
% End
3131
public:
3232

3333
//!constructor
@@ -62,7 +62,7 @@ class QgsServerResponse
6262
* Return true if the headers have alredy beeing written
6363
*/
6464
virtual bool headersWritten() const = 0;
65-
65+
6666
/** Set the http return code
6767
* @param code HTTP return code value
6868
*/

‎src/server/qgsowsserver.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@ class QgsOWSServer
6565
const QgsAccessControl* mAccessControl;
6666

6767
#ifdef HAVE_SERVER_PYTHON_PLUGINS
68+
6869
/** Apply filter strings from the access control to the layers.
6970
* @param layer the concerned layer
7071
* @param originalLayerFilters the original layer filter

‎src/server/qgsrequesthandler.h

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@
2525
#include <QStringList>
2626
#include <QPair>
2727
#include <QColor>
28-
#include <QPair>
2928
#include <QHash>
3029

3130
#include "qgis_server.h"
@@ -47,7 +46,11 @@ typedef QMultiMap< int, QgsColorBox > QgsColorBoxMap; // sum of pixels / color b
4746
class SERVER_EXPORT QgsRequestHandler
4847
{
4948
public:
50-
// QgsServerRequest and QgsServerResponse MUST live in the same scope
49+
50+
/** Constructor
51+
*
52+
* Note that QgsServerRequest and QgsServerResponse MUST live in the same scope
53+
*/
5154
explicit QgsRequestHandler( QgsServerRequest& request, QgsServerResponse& response );
5255
~QgsRequestHandler();
5356

0 commit comments

Comments
 (0)
Please sign in to comment.