summaryrefslogtreecommitdiff
path: root/mbglib/common/gpsutils.h
diff options
context:
space:
mode:
Diffstat (limited to 'mbglib/common/gpsutils.h')
-rw-r--r--mbglib/common/gpsutils.h23
1 files changed, 9 insertions, 14 deletions
diff --git a/mbglib/common/gpsutils.h b/mbglib/common/gpsutils.h
index 5876ffa..fdac213 100644
--- a/mbglib/common/gpsutils.h
+++ b/mbglib/common/gpsutils.h
@@ -1,7 +1,7 @@
/**************************************************************************
*
- * $Id: gpsutils.h 1.4.1.1 2003/05/15 09:40:25 martin REL_M $
+ * $Id: gpsutils.h 1.7 2010/07/15 09:32:09 martin REL_M $
*
* Copyright (c) Meinberg Funkuhren, Bad Pyrmont, Germany
*
@@ -10,8 +10,12 @@
*
* -----------------------------------------------------------------------
* $Log: gpsutils.h $
- * Revision 1.4.1.1 2003/05/15 09:40:25 martin
- * Changed degree string/char for QNX.
+ * Revision 1.7 2010/07/15 09:32:09 martin
+ * Use DEG character definition from pcpslstr.h.
+ * Revision 1.6 2005/02/18 10:32:33Z martin
+ * Check more predefined macros to determine if compiling for Windows.
+ * Revision 1.5 2003/02/04 09:18:48Z MARTIN
+ * Updated function prototypes.
* Revision 1.4 2002/12/12 16:08:11 martin
* Definitions for degree character.
* Requires mbggeo.h.
@@ -41,17 +45,6 @@
/* Start of header body */
-#define ANSI_C_DEGREE '°' // single char
-#define ANSI_S_DEGREE "°" // string
-
-#if defined( _Windows ) || defined( __linux ) || defined( __QNX__ )
- #define C_DEGREE ANSI_C_DEGREE
- #define S_DEGREE ANSI_S_DEGREE
-#else
- #define C_DEGREE 'ø'
- #define S_DEGREE "ø"
-#endif
-
/* function prototypes: */
@@ -71,7 +64,9 @@ extern "C" {
void swap_iono_doubles( IONO *ionop ) ;
void swap_pos_doubles( POS *posp ) ;
void sprint_dms( char *s, DMS *pdms, int prec ) ;
+ void sprint_alt( char *s, double alt ) ;
void sprint_pos_geo( char *s, POS *ppos, const char *sep, int prec ) ;
+ void sprint_fixed_freq( char *s, FIXED_FREQ_INFO *p_ff ) ;
/* ----- function prototypes end ----- */