37
6.2.37. INT SetItineraryDefaultDepartureV01( TItineraryLocRecV01 &
aLoc)
Command Parameters:
•
TItineraryLocRecV01 & aLoc:
record specifying itinerary location
Returns:
0 if successful, non−zero value otherwise.
Supported Since:
TTN 3.0
Set the default departure point for the itinerary.
6.2.38. INT SetItineraryDefaultDepartureV02( int aIndex, LPCTSTR
aName, long aLongitude, long aLatitude, int aFlags)
Command Parameters:
•
int aIndex:
index in the itinarary
•
LPCTSTR aName:
Name of this location in the itinerary
•
long aLongitude:
longitude specified in WGS84 format (in millionths of degree)
•
long aLatitude:
latitude specified in WGS84 format (in millionths of degree)
•
int aFlags:
flags
Returns:
0 if successful, non−zero value otherwise.
Supported Since:
TTN 3.0
Set the default departure point for the itinerary.
6.2.39. INT GetItineraryDefaultDepartureV01( TItineraryLocRecV01 &
aLoc)
Command Parameters:
•
TItineraryLocRecV01 & aLoc:
record specifying itinerary location
Returns:
0 if successful, non−zero value otherwise.
Supported Since:
TTN 3.0
Get the default departure point for the itinerary.
6.2.40. INT GetItineraryDefaultDepartureV02( TCHAR aName[128], long
& aLongitude, long & aLatitude, int & aFlags)
Command Parameters:
•
TCHAR aName[128]:
Name of this location in the itinerary
•
long & aLongitude:
longitude specified in WGS84 format (in millionths of degree)
•
long & aLatitude:
latitude specified in WGS84 format (in millionths of degree)
•
int & aFlags:
flags
Returns:
0 if successful, non−zero value otherwise.
Supported Since:
TTN 3.0
Get the default departure point for the itinerary.
6.2.41. INT SaveItinerary( LPCTSTR aFileName)
Command Parameters:
•
LPCTSTR aFileName:
file the itinerary is written to.
6. Communicating with TomTom Navigator from C++