Quantum GIS API Documentation
1.7.4
|
00001 /*************************************************************************** 00002 qgis.cpp 00003 00004 ------------------- 00005 begin : 2007 00006 copyright : (C) 2007 by Gary E. Sherman 00007 email : sherman@mrcc.com 00008 ***************************************************************************/ 00009 00010 /*************************************************************************** 00011 * * 00012 * This program is free software; you can redistribute it and/or modify * 00013 * it under the terms of the GNU General Public License as published by * 00014 * the Free Software Foundation; either version 2 of the License, or * 00015 * (at your option) any later version. * 00016 * * 00017 ***************************************************************************/ 00018 #include "qgis.h" 00019 #ifndef QGSVERSION 00020 #include "qgsversion.h" 00021 #endif 00022 00023 #include "qgsconfig.h" 00024 00025 // Version constants 00026 // 00027 00028 // Version string 00029 const char* QGis::QGIS_VERSION = VERSION; 00030 00031 // development version 00032 const char* QGis::QGIS_DEV_VERSION = QGSVERSION; 00033 00034 // Version number used for comparing versions using the 00035 // "Check QGIS Version" function 00036 const int QGis::QGIS_VERSION_INT = VERSION_INT; 00037 00038 // Release name 00039 const char* QGis::QGIS_RELEASE_NAME = RELEASE_NAME; 00040 00041 const char* QGis::qgisVectorGeometryType[] = 00042 { 00043 "Point", 00044 "Line", 00045 "Polygon", 00046 "Unknown geometry", 00047 "No geometry", 00048 }; 00049 00050 // description strings for feature types 00051 const char* QGis::qgisFeatureTypes[] = 00052 { 00053 "Null", 00054 "WKBPoint", 00055 "WKBLineString", 00056 "WKBPolygon", 00057 "WKBMultiPoint", 00058 "WKBMultiLineString", 00059 "WKBMultiPolygon" 00060 }; 00061 00062 const double QGis::DEFAULT_IDENTIFY_RADIUS = 0.5; 00063