GPS4Palm

Source Code Documentation


HandleMessage.h

Go to the documentation of this file.
00001 /*****************************************************************************
00002  *
00003  * $RCSfile: HandleMessage_8h-source.html,v $
00004  *
00005  * Display image stored in memory area pointed to by **lines
00006  *   using WinDrawBitmap
00007  *
00008  * created: 2003-10-14
00009  *
00010  *
00011  * This program is Copyright (C) 12/2002 Matthias Prinke
00012  * <matthias.prinke@surfeu.de> and covered by GNU's GPL.
00013  * In particular, this program is free software and comes WITHOUT
00014  * ANY WARRANTY.
00015  *
00016  * $Author: mp $
00017  *
00018  * $Date: 2007-10-08 20:40:33 $
00019  *
00020  * $Revision: 1.7.2.1 $
00021  *
00022  * $Log: HandleMessage_8h-source.html,v $
00022  * Revision 1.7.2.1  2007-10-08 20:40:33  mp
00022  * updated for gps4palm V0.9.5 beta
00022  *
00023  * Revision 1.5  2004-12-19 10:06:19  mp
00024  * changed GPS fix status encoding
00025  *
00026  * Revision 1.4  2004/11/24 21:11:11  mp
00027  * moved static function declarations from header to implementation file
00028  *
00029  * Revision 1.3  2003/11/20 20:37:53  mp
00030  * added STAT_REDRAW
00031  *
00032  * Revision 1.2  2003/10/20 17:19:47  mp
00033  * modified UpdateStatus, added status flags
00034  *
00035  * Revision 1.1  2003/10/15 19:14:26  mp
00036  * initial version
00037  *
00038  *
00039  *
00040  ****************************************************************************/ 
00041 #ifndef HANDLEMESSAGE_H
00042 #define HANDLEMESSAGE_H
00043 
00044 #define STAT_OK         0
00045 #define STAT_WARNING    1
00046 #define STAT_NO_GPS     2
00047 #define STAT_REDRAW     3
00048 
00049 /*
00050  * The map display functions are in their own segment
00051  */
00052 #define MSGHANDLER_SECTION   __attribute__ ((section ("msghand")))
00053 
00054 
00055 Boolean HandleMessage(Char *message)                        MSGHANDLER_SECTION;
00056 
00057 void UpdateStatus(UInt16 status)                            MSGHANDLER_SECTION;
00058 
00059 #endif

Created: Mon, 08 Oct 2007 22:33:16 +0200
Copyright ©2004 M. Prinke