[GRASS-SVN] r50285 - in grass/trunk/include: . Make

svn_grass at osgeo.org svn_grass at osgeo.org
Wed Jan 18 19:12:11 EST 2012


Author: huhabla
Date: 2012-01-18 16:12:10 -0800 (Wed, 18 Jan 2012)
New Revision: 50285

Added:
   grass/trunk/include/temporal.h
Modified:
   grass/trunk/include/Make/Grass.make
Log:
Added new temporal C-library header file and make system library definition.


Modified: grass/trunk/include/Make/Grass.make
===================================================================
--- grass/trunk/include/Make/Grass.make	2012-01-19 00:11:22 UTC (rev 50284)
+++ grass/trunk/include/Make/Grass.make	2012-01-19 00:12:10 UTC (rev 50285)
@@ -169,6 +169,7 @@
 	SQLP:sqlp \
 	STATS:stats \
 	SYMB:symb \
+        TEMPORAL:temporal \
 	VECTOR:vector \
 	VEDIT:vedit \
 	NETA:neta \
@@ -219,6 +220,7 @@
 SITESDEPS        = $(VECTORLIB) $(DBMILIB) $(GISLIB) $(DATETIMELIB)
 STATSDEPS        = $(RASTERLIB) $(GISLIB) $(MATHLIB)	# NB: doesn't use libgis directly
 SYMBDEPS         = $(GISLIB) $(MATHLIB)
+TEMPORALDEPS     = $(DBMILIB) $(GISLIB) $(DATETIMELIB)
 VECTORDEPS       = $(DBMILIB) $(GRAPHLIB) $(DIG2LIB) $(LINKMLIB) $(RTREELIB) $(GISLIB) $(GEOSLIBS) $(GDALLIBS) $(MATHLIB) $(BTREE2LIB) $(GPROJLIB) $(RASTERDEP)
 VEDITDEPS        = $(VECTORLIB) $(DBMILIB) $(GISLIB) $(MATHLIB)
 NETADEPS         = $(VECTORLIB) $(DBMILIB) $(GISLIB)

Added: grass/trunk/include/temporal.h
===================================================================
--- grass/trunk/include/temporal.h	                        (rev 0)
+++ grass/trunk/include/temporal.h	2012-01-19 00:12:10 UTC (rev 50285)
@@ -0,0 +1,14 @@
+#ifndef GRASS_TEMPORAL_H
+#define GRASS_TEMPORAL_H
+
+#include <grass/dbmi.h>
+
+#define TGISDB_DEFAULT_DRIVER "sqlite"
+
+int tgis_set_connection(dbConnection * connection);
+int tgis_get_connection(dbConnection * connection);
+const char *tgis_get_default_driver_name(void);
+const char *tgis_get_default_database_name(void);
+int tgis_set_default_connection(void);
+
+#endif



More information about the grass-commit mailing list