Skip to content
Permalink
Browse files
[sipify] Add name of source file to generated headers
  • Loading branch information
m-kuhn committed Apr 1, 2017
1 parent 22272c6 commit 5148b7accb2d550380d17c6518a4762cfbcee618
@@ -1,7 +1,10 @@
/******************************************************************
* This file has been generated automatically by sipify.pl *
* Do not edit manually ! Edit header file and generate it again. *
*****************************************************************/
/************************************************************************
* This file has been generated automatically from *
* *
* src/core/qgsactionscope.h *
* *
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
************************************************************************/


class QgsActionScope
@@ -115,3 +118,10 @@ class QgsActionScope
};


/************************************************************************
* This file has been generated automatically from *
* *
* src/core/qgsactionscope.h *
* *
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
************************************************************************/
@@ -1,7 +1,10 @@
/******************************************************************
* This file has been generated automatically by sipify.pl *
* Do not edit manually ! Edit header file and generate it again. *
*****************************************************************/
/************************************************************************
* This file has been generated automatically from *
* *
* src/core/qgsactionscoperegistry.h *
* *
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
************************************************************************/


class QgsActionScopeRegistry : QObject
@@ -78,3 +81,10 @@ class QgsActionScopeRegistry : QObject

};

/************************************************************************
* This file has been generated automatically from *
* *
* src/core/qgsactionscoperegistry.h *
* *
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
************************************************************************/
@@ -1,7 +1,10 @@
/******************************************************************
* This file has been generated automatically by sipify.pl *
* Do not edit manually ! Edit header file and generate it again. *
*****************************************************************/
/************************************************************************
* This file has been generated automatically from *
* *
* src/core/qgsanimatedicon.h *
* *
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
************************************************************************/



@@ -86,3 +89,10 @@ class QgsAnimatedIcon : QObject

};

/************************************************************************
* This file has been generated automatically from *
* *
* src/core/qgsanimatedicon.h *
* *
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
************************************************************************/
@@ -1,7 +1,10 @@
/******************************************************************
* This file has been generated automatically by sipify.pl *
* Do not edit manually ! Edit header file and generate it again. *
*****************************************************************/
/************************************************************************
* This file has been generated automatically from *
* *
* src/core/qgsattributes.h *
* *
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
************************************************************************/



@@ -103,3 +106,10 @@ typedef QVector<QVariant> QgsAttributes;
};


/************************************************************************
* This file has been generated automatically from *
* *
* src/core/qgsattributes.h *
* *
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
************************************************************************/
@@ -1,7 +1,10 @@
/******************************************************************
* This file has been generated automatically by sipify.pl *
* Do not edit manually ! Edit header file and generate it again. *
*****************************************************************/
/************************************************************************
* This file has been generated automatically from *
* *
* src/core/qgsfeature.h *
* *
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
************************************************************************/



@@ -444,3 +447,10 @@ typedef QList<QgsFeature> QgsFeatureList;



/************************************************************************
* This file has been generated automatically from *
* *
* src/core/qgsfeature.h *
* *
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
************************************************************************/
@@ -1,7 +1,10 @@
/******************************************************************
* This file has been generated automatically by sipify.pl *
* Do not edit manually ! Edit header file and generate it again. *
*****************************************************************/
/************************************************************************
* This file has been generated automatically from *
* *
* src/core/qgssettings.h *
* *
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
************************************************************************/



@@ -225,3 +228,10 @@ Removes all entries in the user settings

};

/************************************************************************
* This file has been generated automatically from *
* *
* src/core/qgssettings.h *
* *
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
************************************************************************/
@@ -1,7 +1,10 @@
/******************************************************************
* This file has been generated automatically by sipify.pl *
* Do not edit manually ! Edit header file and generate it again. *
*****************************************************************/
/************************************************************************
* This file has been generated automatically from *
* *
* src/core/qgsvectorlayer.h *
* *
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
************************************************************************/



@@ -1908,3 +1911,10 @@ Set the extent
QgsVectorLayer( const QgsVectorLayer &rhs );
};

/************************************************************************
* This file has been generated automatically from *
* *
* src/core/qgsvectorlayer.h *
* *
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
************************************************************************/
@@ -22,10 +22,13 @@
my $private_section_line = '';
my $line;

print "/******************************************************************\n";
print " * This file has been generated automatically by sipify.pl *\n";
print " * Do not edit manually ! Edit header file and generate it again. *\n";
print " *****************************************************************/\n";
print "/************************************************************************\n";
print " * This file has been generated automatically from *\n";
print " * *\n";
printf " * %-*s *\n", 68, $headerfile;
print " * *\n";
print " * Do not edit manually ! Edit header and run scripts/sipify.pl again *\n";
print " ************************************************************************/\n";


while(!eof $header){
@@ -325,3 +328,10 @@
$comment = '';
}
}
print "/************************************************************************\n";
print " * This file has been generated automatically from *\n";
print " * *\n";
printf " * %-*s *\n", 68, $headerfile;
print " * *\n";
print " * Do not edit manually ! Edit header and run scripts/sipify.pl again *\n";
print " ************************************************************************/\n";
@@ -1,7 +1,10 @@
/******************************************************************
* This file has been generated automatically by sipify.pl *
* Do not edit manually ! Edit header file and generate it again. *
*****************************************************************/
/************************************************************************
* This file has been generated automatically from *
* *
* tests/scripts/sipifyheader.h *
* *
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
************************************************************************/



@@ -129,3 +132,10 @@ A constructor with definition in header on several lines
}


/************************************************************************
* This file has been generated automatically from *
* *
* tests/scripts/sipifyheader.h *
* *
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
************************************************************************/
@@ -4,7 +4,9 @@

DIR=$(git rev-parse --show-toplevel)

outdiff=$(${DIR}/scripts/sipify.pl ${DIR}/tests/scripts/sipifyheader.h | diff ${DIR}/tests/scripts/sipifyheader.expected.sip -)
pushd ${DIR}
outdiff=$(./scripts/sipify.pl tests/scripts/sipifyheader.h | diff tests/scripts/sipifyheader.expected.sip -)
popd

if [[ $outdiff ]]; then
echo " *** sipify.pl did not output expected file"

0 comments on commit 5148b7a

Please sign in to comment.