Skip to content

Commit

Permalink
Fix indent and documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
dmarteau committed Jan 10, 2017
1 parent 92d3958 commit bfc081d
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 5 deletions.
6 changes: 3 additions & 3 deletions python/server/qgsserverresponse.sip
Expand Up @@ -25,9 +25,9 @@

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

//!constructor
Expand Down Expand Up @@ -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
*/
Expand Down
1 change: 1 addition & 0 deletions src/server/qgsowsserver.h
Expand Up @@ -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
Expand Down
7 changes: 5 additions & 2 deletions src/server/qgsrequesthandler.h
Expand Up @@ -25,7 +25,6 @@
#include <QStringList>
#include <QPair>
#include <QColor>
#include <QPair>
#include <QHash>

#include "qgis_server.h"
Expand All @@ -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();

Expand Down

0 comments on commit bfc081d

Please sign in to comment.