- added include for <vector>
qgis.h:
- added WKBUnknown to enumerated list to be used as error state
qgisapp.cpp:
- fixed a for loop
qgisapp.h, qgisiface.h, qgslegend.h, qgslegenditem.h, qgsmapcanvs.h, qgsvectorlayer.h:
- made copy ctor and assignment operator private since we won't be copying
any of these
qgsattributetable.cpp, qgsrasterlayer.cpp, qgssymbologyutils.cpp:
- functions that say they return something should actually return something
*renderer.h:
- made dtors virtual
qgscoordinatetransform.h:
- added initializer for xMax
qgsgeomtypedialog.cpp:
- added return of WKBUnknown when given bad data
qgslabel.cpp, qgslabeldialog.cpp:
- used static_cast to stomp compiler warning
qgsmapcanvas.cpp:
- made CanvasProperties a class form struct, partly to find work-around for
gcc bug and partly to ensure that ctor and assignment operator were
disabled
- ensured that members were in the same order in initializer list as they
were declared
- now use QgsScaleCalculator::units
qgsproject.cpp:
- now read and write map units; still need to tie it in with more code
qgsprojectproperties.cpp:
- now use canonical map units stored in QgsProject singleton object
qgsscalecalculator:
- now prefer to use QgsScaleCalculator::units instead of int
And many minor formatting changes.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2175 c8812cc2-4d05-0410-92ff-de0c093fc19c
has been tested and it compiles under unix. Future changes to the code must
be aware of multiplatform issues.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1563 c8812cc2-4d05-0410-92ff-de0c093fc19c
- qgsconfig.h now has header sentinals
- now will install headers in $(prefix)/qgis/include and libqis.* library in
$(prefix)/lib [1]
- "src/Makefile" no longer relies on explicit dependencies and uses better
naming scheme for created source files [2]
Notes:
[0] To eliminate any file namespace collisions. Unfortunately there will
still be some macro name collisions. These are harmless, though annoying.
What needs to happen is that all header file references to "qgsconfig.h"
be moved to implementation files, thus breaking any include dependencies
for external software.
[1] There currently does not exist a way to make this optional; these will
always install. In the future, this might be something toggleable by a
configure script option. Moreover, there does not currently exist a
"qgis-config" script for getting command line options for external,
dependant software; there might be one in a future release.
I decided to err on including too many header files; almost certainly some
of the header files that are currently installed can be culled from the
"to install" list.
The new make file has two targets: the old qgis application target, and a
second one for the library. As plug-ins are developed, there may be a
need to add more source files to the library to link against. I just
added in the bare minimum for the current set of plug-ins. If more
sources need to be added, just add them to libqgis_la_SOURCES, near the
bottom of "src/Makefile.am".
[2] All *.ui files will create corresponding *.uic.h and *.uic.cpp files.
Since these also need MOC files, *.moc.uic.cpp files are also
automatically created.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1056 c8812cc2-4d05-0410-92ff-de0c093fc19c