Int Usegffile( Lpctstr Afilename); Int Enablegfrecord( Long Arecordid, Int Astate); Structures And Enumerations From The Api; Tnavversioninfov01 Structure - TomTom Navigator SDK Installation And Use Manual

Version 3.0 build 193
Table of Contents

Advertisement

Supported Since: TTN 3.0
Store the coordinates of a list of points from the current route in the specified file.

6.2.55. INT UseGFFile( LPCTSTR aFilename)

Command Parameters:
• LPCTSTR aFilename: full name of the GF file
Returns: 0 if successful, non−zero value otherwise.
Supported Since: TTN 2.0
Instruct Navigator to display a GF file, discarding the previous GF file (if any).
See Also: EnableGFRecord

6.2.56. INT EnableGFRecord( long aRecordID, INT aState)

Command Parameters:
• long aRecordID: unique ID of the record to be enabled or disabled
• INT aState: whether to enable or disable the record
Returns: 0 if successful, non−zero value otherwise.
Supported Since: TTN 2.0
Enable or disable a record in the current GF file.
See Also: UseGFFile

6.3. Structures and enumerations from the API

6.3.1. TNavVersionInfoV01 structure

The struct TNavVersionInfoV01 has the following fields:
char iVersion[16];
INT
iBuildNumber;

6.3.2. TFavouriteRecV01 structure

The favorites record has the following fields:
TCHAR iName[64];
TCHAR iDescription[128];
long iLongitude;
long iLatitude;

6.3.3. EDirectCommands enumeration

EDirectCommands is an enumeration with the following items:
• KCommandSoundOn − turn spoken voice instructions on (works only when in navigation view)
• KCommandSoundOff − turn spoken voice instructions off (works only when in navigation view)
• KCommandNightColors − show map in night colors (works only when in navigation view)
• KCommandDayColors − show map in day colors (works only when in navigation view)
• KCommandShowMap − show map and instructions while driving (works only when in navigation
view)
• KCommandHideMap − show "instructions only" view while driving (works only when in navigation
view)
• KCommandRecalculate − recalculate a route (works only when in navigation view)
6. Communicating with TomTom Navigator from C++
41

Advertisement

Table of Contents
loading

Table of Contents