00001 /***************************************************************************** 00002 * 00003 * $RCSfile: GPS_8h-source.html,v $ 00004 * 00005 * GPS4Palm Main functions 00006 * 00007 * This program is Copyright (C) 03/2003 Matthias Prinke 00008 * <matthias.prinke@surfeu.de> and covered by GNU's GPL. 00009 * In particular, this program is free software and comes WITHOUT 00010 * ANY WARRANTY. 00011 * 00012 * $Author: mp $ 00013 * 00014 * $Date: 2007-10-08 20:40:33 $ 00015 * 00016 * $Revision: 1.7.2.1 $ 00017 * 00018 * $Log: GPS_8h-source.html,v $ 00018 * Revision 1.7.2.1 2007-10-08 20:40:33 mp 00018 * updated for gps4palm V0.9.5 beta 00018 * 00019 * Revision 1.4 2004-11-24 21:09:21 mp 00020 * moved static function declarations from header to implementation file 00021 * 00022 * Revision 1.3 2004/11/11 18:46:29 mp 00023 * moved functions to 'msghand' section 00024 * 00025 * Revision 1.2 2004/03/09 19:08:34 mp 00026 * Added prototypes for all functions. 00027 * 00028 * Revision 1.1.1.1 2003/07/14 18:59:29 mp 00029 * Imported GPS4Palm to CVS revision control. 00030 * 00031 * 00032 ****************************************************************************/ 00033 #ifndef GPS_H 00034 #define GPS_H 00035 00036 #define MSGHANDLER_SECTION __attribute__ ((section ("msghand"))) 00037 00038 extern UInt16 gTicksPerSecond; 00039 00040 extern UInt32 gMaxTicksWithoutTime; 00041 00042 extern UInt32 gTicksToLoseGPS; 00043 00044 extern Boolean gFormOpened; 00045 00046 UInt32 PilotMain(UInt16 cmd, MemPtr cmdPBP, UInt16 launchFlags); 00047 Boolean ReadFromGPS(void) MSGHANDLER_SECTION; 00048 00049 #endif