Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[sipify] use a distinct header to simplify includes
there was an issue in libdxf which includes qgslogger in debug mode and qgsdebug.h includes qgis.h include qgswkbtypes.h (which geometry directory was not listed in libdxrw included paths)
- Loading branch information
Showing
7 changed files
with
150 additions
and
120 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,6 +9,7 @@ | |
|
||
|
||
|
||
|
||
class QgsCoordinateTransform | ||
{ | ||
%Docstring | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,136 @@ | ||
/*************************************************************************** | ||
qgis_sip - QGIS SIP Macros | ||
--------------------- | ||
begin : 4.5.2017 | ||
copyright : (C) 2017 by Denis Rouzaud | ||
email : denis.rouzaud@gmail.com | ||
*************************************************************************** | ||
* * | ||
* 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. * | ||
* * | ||
***************************************************************************/ | ||
#ifndef QGIS_SIP_H | ||
#define QGIS_SIP_H | ||
|
||
/* | ||
* http://pyqt.sourceforge.net/Docs/sip4/annotations.html?highlight=keepreference#function-annotation-Transfer | ||
* | ||
* Example QgsVectorLayer::setDiagramRenderer | ||
*/ | ||
#define SIP_TRANSFER | ||
|
||
/* | ||
* http://pyqt.sourceforge.net/Docs/sip4/annotations.html?highlight=keepreference#function-annotation-TransferBack | ||
*/ | ||
#define SIP_TRANSFERBACK | ||
|
||
/* | ||
* http://pyqt.sourceforge.net/Docs/sip4/annotations.html?highlight=keepreference#function-annotation-TransferThis | ||
*/ | ||
#define SIP_TRANSFERTHIS | ||
|
||
/* | ||
* http://pyqt.sourceforge.net/Docs/sip4/annotations.html?highlight=keepreference#argument-annotation-Out | ||
*/ | ||
#define SIP_OUT | ||
|
||
/* | ||
* http://pyqt.sourceforge.net/Docs/sip4/annotations.html?highlight=keepreference#argument-annotation-In | ||
*/ | ||
#define SIP_IN | ||
|
||
/* | ||
* Combination of | ||
* http://pyqt.sourceforge.net/Docs/sip4/annotations.html?highlight=keepreference#argument-annotation-In | ||
* and | ||
* http://pyqt.sourceforge.net/Docs/sip4/annotations.html?highlight=keepreference#argument-annotation-Out | ||
*/ | ||
#define SIP_INOUT | ||
|
||
/* | ||
* http://pyqt.sourceforge.net/Docs/sip4/annotations.html?highlight=keepreference#function-annotation-Factory | ||
*/ | ||
#define SIP_FACTORY | ||
|
||
/* | ||
* http://pyqt.sourceforge.net/Docs/sip4/annotations.html?highlight=keepreference#function-annotation-PyName | ||
*/ | ||
#define SIP_PYNAME(name) | ||
|
||
/* | ||
* http://pyqt.sourceforge.net/Docs/sip4/annotations.html?highlight=keepreference#argument-annotation-KeepReference | ||
*/ | ||
#define SIP_KEEPREFERENCE | ||
|
||
/* | ||
* http://pyqt.sourceforge.net/Docs/sip4/annotations.html#argument-annotation-Array | ||
*/ | ||
#define SIP_ARRAY | ||
|
||
/* | ||
* http://pyqt.sourceforge.net/Docs/sip4/annotations.html#argument-annotation-ArraySize | ||
*/ | ||
#define SIP_ARRAYSIZE | ||
|
||
/* | ||
* discard line | ||
*/ | ||
#define SIP_SKIP | ||
|
||
/* | ||
* force a private line to be written | ||
*/ | ||
#define SIP_FORCE | ||
|
||
/* | ||
* specify an alternative type for SIP argument or return value | ||
*/ | ||
#define SIP_PYTYPE(type) | ||
|
||
/* | ||
* specify an alternative default value for SIP argument | ||
*/ | ||
#define SIP_PYARGDEFAULT(value) | ||
|
||
/* | ||
* remove argument in SIP method | ||
*/ | ||
#define SIP_PYARGREMOVE | ||
|
||
|
||
/* | ||
* http://pyqt.sourceforge.net/Docs/sip4/annotations.html?highlight=keepreference#function-annotation-ReleaseGIL | ||
*/ | ||
#define SIP_RELEASEGIL | ||
|
||
/* | ||
* Will insert a `%Feature feature` directive in sip files | ||
*/ | ||
#define SIP_FEATURE(feature) | ||
|
||
/* | ||
* Will insert a `%If feature` directive in sip files | ||
*/ | ||
#define SIP_IF_FEATURE(feature) | ||
|
||
/* | ||
* Convert to subclass code | ||
*/ | ||
#define SIP_CONVERT_TO_SUBCLASS_CODE(code) | ||
|
||
/* | ||
* Will insert a `%End` directive in sip files | ||
*/ | ||
#define SIP_END | ||
|
||
/* | ||
* Class level annotation for abstract classes | ||
*/ | ||
#define SIP_ABSTRACT | ||
|
||
|
||
#endif // QGIS_SIP_H |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters