[sipify] remove space before ModuleTypeHeader

also update network analysis SIP files
This commit is contained in:
Alexander Bruy 2017-05-01 18:32:37 +03:00 committed by Denis Rouzaud
parent f6266130eb
commit e1c35883c5
5 changed files with 53 additions and 5 deletions

View File

@ -9,7 +9,23 @@
% ModuleHeaderCode
%ModuleHeaderCode
%Docstring
*************************************************************************
qgsgraphbuilderinterface.h
--------------------------------------
Date : 2010-10-22
Copyright : (C) 2010 by Yakushev Sergey
Email : YakushevS <at> list.ru
***************************************************************************
*
This program is free software; you can redistribute it and/or modify *
it under the terms of the GNU General Public License as published by *
the Free Software Foundation; either version 2 of the License, or *
(at your option) any later version. *
*
**************************************************************************
%End
#include <qgsgraphbuilder.h>
%End

View File

@ -10,7 +10,23 @@
% ModuleHeaderCode
%ModuleHeaderCode
%Docstring
*************************************************************************
qgsgraphdirector.h
--------------------------------------
Date : 2010-10-18
Copyright : (C) 2010 by Yakushev Sergey
Email : YakushevS <at> list.ru
***************************************************************************
*
This program is free software; you can redistribute it and/or modify *
it under the terms of the GNU General Public License as published by *
the Free Software Foundation; either version 2 of the License, or *
(at your option) any later version. *
*
**************************************************************************
%End
#include <qgsvectorlayerdirector.h>
%End

View File

@ -9,7 +9,23 @@
% ModuleHeaderCode
%ModuleHeaderCode
%Docstring
*************************************************************************
qgsnetworkstrategy.h
--------------------------------------
Date : 2011-04-01
Copyright : (C) 2010 by Yakushev Sergey
Email : YakushevS <at> list.ru
***************************************************************************
*
This program is free software; you can redistribute it and/or modify *
it under the terms of the GNU General Public License as published by *
the Free Software Foundation; either version 2 of the License, or *
(at your option) any later version. *
*
**************************************************************************
%End
#include <qgsnetworkspeedstrategy.h>
#include <qgsnetworkdistancestrategy.h>
%End

View File

@ -604,7 +604,7 @@ while ($line_idx < $line_count){
$line =~ s/SIP_FORCE//;
# fix astyle placing space after % character
$line =~ s/\s*% (MappedType|TypeCode|TypeHeaderCode|ConvertFromTypeCode|ConvertToTypeCode|MethodCode|End)/%$1/;
$line =~ s/\s*% (MappedType|TypeCode|TypeHeaderCode|ModuleHeaderCode|ConvertFromTypeCode|ConvertToTypeCode|MethodCode|End)/%$1/;
$line =~ s/\/\s+GetWrapper\s+\//\/GetWrapper\//;
push @output, dbg("NOR")."$line\n";

View File

@ -9,7 +9,7 @@
% ModuleHeaderCode
%ModuleHeaderCode
#include <qgsnetworkspeedstrategy.h>
#include <qgsnetworkdistancestrategy.h>
%End