#include <PalmOS.h>
#include <PalmCompatibility.h>
#include "gtalkRsc.h"
#include "gpslib.h"
#include "gtalk.h"
#include "gpsutil.h"
#include "log.h"
#include "dbio.h"
#include "gpsio.h"
Defines | |
| #define | ACTIVETRKNAME "ACTIVE TRACK" |
Functions | |
| Err | SetRecord (VoidHand RecH, void *p, ULong l, DmOpenRef DB, UInt pos, UInt Category) |
| Writes a record contents and attributes. | |
| Err | SetCategory (DmOpenRef DB, UInt index, UInt Category) |
| Sets a record's category and dmRecAttrDirty flag. | |
| Err | put_wpt (GarminObject *p, UInt total, UInt current, LocalFormatID format, unsigned char size) |
| stores a raw waypoint in waypoint data base. | |
| Err | put_rte (GarminObject *p, UInt total, UInt current, LocalFormatID format, unsigned char size) |
| Callback to store a route in the current routes data base. | |
| void | MakeTrackHeader (Object *trkhdrp, LocalFormatID format, GarminObject *p, TrkPts *trkp) |
| Initialise a track header object from a Garmin raw header and a (first) track point. | |
| Err | put_trk (GarminObject *p, UInt total, UInt current, LocalFormatID format, unsigned char size) |
| Callback to store tracks in the current tracks data base. | |
| UInt | init_active_trk () |
| Creates and initialises an active track in the current track data base. | |
| void | push_active_trkpt (Custom_Trk_Point_Type trkpt) |
| Pushes a track point in the active track. | |
| GarminObject * | get_next_wpt (UInt current, LocalFormatID format, unsigned char *size) |
| Extracts next waypoint from current wpt category and converts it to specified format. | |
| GarminObject * | get_next_trk (UInt current, LocalFormatID format, unsigned char *size, Boolean *eot) |
| Extracts next element of track from current data base record. | |
| GarminObject * | get_next_rte (UInt current, LocalFormatID format, unsigned char *size, Boolean *header, Boolean *eor) |
| Extracts next sequential route item from current route data base. | |
| char * | get_next_full_rte (UInt current) |
| Return next route in Furuno format. | |
| char * | Furuno_get_next_wpt (UInt current) |
| Extracts next waypoint from current wpt category and converts it to Furuno format. | |
| void | CleanUpTracks () |
| Cleaning of tracks. | |
| void | InitObject (Object *op) |
| Initializes an object. | |
Variables | |
| Raw_D210_Rte_Link_Type | rteLink |
| int | active_trk_index = -1 |
|
|
Cleaning of tracks. Check tracks to recover unused space in case of interrupted transfers.
|
|
|
Extracts next waypoint from current wpt category and converts it to Furuno format.
|
|
|
Return next route in Furuno format.
|
|
||||||||||||||||||||||||
|
Extracts next sequential route item from current route data base. The item is converted to specified format
|
|
||||||||||||||||||||
|
Extracts next element of track from current data base record. Process each record of current category. Used as callback by gpslib
|
|
||||||||||||||||
|
Extracts next waypoint from current wpt category and converts it to specified format.
|
|
|
Creates and initialises an active track in the current track data base. The record has a particuliar name defined in ACTIVETRKNAME.
|
|
|
Initializes an object. Clears the header and set version number.
|
|
||||||||||||||||||||
|
Initialise a track header object from a Garmin raw header and a (first) track point.
|
|
|
Pushes a track point in the active track. The active track must be initialised.
|
|
||||||||||||||||||||||||
|
Callback to store a route in the current routes data base.
|
|
||||||||||||||||||||||||
|
Callback to store tracks in the current tracks data base.
|
|
||||||||||||||||||||||||
|
stores a raw waypoint in waypoint data base. Used as callback by gpslib
|
|
||||||||||||||||
|
Sets a record's category and dmRecAttrDirty flag.
|
|
||||||||||||||||||||||||||||
|
Writes a record contents and attributes. Record is released on return.
|
|
|
Initial value: {
{0, 0},
{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
{0}
}
|
1.3.6