Quantum GIS API Documentation  1.7.5-Wroclaw
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
qgis.cpp
Go to the documentation of this file.
1 /***************************************************************************
2  qgis.cpp
3 
4  -------------------
5  begin : 2007
6  copyright : (C) 2007 by Gary E. Sherman
7  email : sherman@mrcc.com
8 ***************************************************************************/
9 
10 /***************************************************************************
11  * *
12  * This program is free software; you can redistribute it and/or modify *
13  * it under the terms of the GNU General Public License as published by *
14  * the Free Software Foundation; either version 2 of the License, or *
15  * (at your option) any later version. *
16  * *
17  ***************************************************************************/
18 #include "qgis.h"
19 #ifndef QGSVERSION
20 #include "qgsversion.h"
21 #endif
22 
23 #include "qgsconfig.h"
24 
25 // Version constants
26 //
27 
28 // Version string
29 const char* QGis::QGIS_VERSION = VERSION;
30 
31 // development version
32 const char* QGis::QGIS_DEV_VERSION = QGSVERSION;
33 
34 // Version number used for comparing versions using the
35 // "Check QGIS Version" function
36 const int QGis::QGIS_VERSION_INT = VERSION_INT;
37 
38 // Release name
39 const char* QGis::QGIS_RELEASE_NAME = RELEASE_NAME;
40 
41 const char* QGis::qgisVectorGeometryType[] =
42 {
43  "Point",
44  "Line",
45  "Polygon",
46  "Unknown geometry",
47  "No geometry",
48 };
49 
50 // description strings for feature types
51 const char* QGis::qgisFeatureTypes[] =
52 {
53  "Null",
54  "WKBPoint",
55  "WKBLineString",
56  "WKBPolygon",
57  "WKBMultiPoint",
58  "WKBMultiLineString",
59  "WKBMultiPolygon"
60 };
61 
62 const double QGis::DEFAULT_IDENTIFY_RADIUS = 0.5;
63