Skip to content
Permalink
Browse files

Fix indent and documentation

  • Loading branch information
dmarteau committed Jan 10, 2017
1 parent 92d3958 commit bfc081d3dd6b7ccf8652f5d1acbee85e2854c67b
Showing with 9 additions and 5 deletions.
  1. +3 −3 python/server/qgsserverresponse.sip
  2. +1 −0 src/server/qgsowsserver.h
  3. +5 −2 src/server/qgsrequesthandler.h
@@ -25,9 +25,9 @@

class QgsServerResponse
{
%TypeHeaderCode
% TypeHeaderCode
#include "qgsserverresponse.h"
%End
% End
public:

//!constructor
@@ -62,7 +62,7 @@ class QgsServerResponse
* Return true if the headers have alredy beeing written
*/
virtual bool headersWritten() const = 0;

/** Set the http return code
* @param code HTTP return code value
*/
@@ -65,6 +65,7 @@ class QgsOWSServer
const QgsAccessControl* mAccessControl;

#ifdef HAVE_SERVER_PYTHON_PLUGINS

/** Apply filter strings from the access control to the layers.
* @param layer the concerned layer
* @param originalLayerFilters the original layer filter
@@ -25,7 +25,6 @@
#include <QStringList>
#include <QPair>
#include <QColor>
#include <QPair>
#include <QHash>

#include "qgis_server.h"
@@ -47,7 +46,11 @@ typedef QMultiMap< int, QgsColorBox > QgsColorBoxMap; // sum of pixels / color b
class SERVER_EXPORT QgsRequestHandler
{
public:
// QgsServerRequest and QgsServerResponse MUST live in the same scope

/** Constructor
*
* Note that QgsServerRequest and QgsServerResponse MUST live in the same scope
*/
explicit QgsRequestHandler( QgsServerRequest& request, QgsServerResponse& response );
~QgsRequestHandler();

0 comments on commit bfc081d

Please sign in to comment.
You can’t perform that action at this time.