Main Page | Alphabetical List | Data Structures | File List | Globals | Related Pages

route.h File Reference

include file for route.c More...

Go to the source code of this file.

Functions

Boolean RteEditFormHandleEvent (EventPtr e) ROUTE_SECTION
 Creation and edition of routes.

Boolean RouteFormHandleEvent (EventPtr e) ROUTE_SECTION
 Route form event handler.

Err EditRouteRecord (UInt recindex, UInt objindex, Object *objp) ROUTE_SECTION
 Insertion, deletion of objects in a route record.

UInt NewRouteNumber (void) ROUTE_SECTION
 Search a free route number in current category.

Err CopyOrCreateRoute (Custom_Rte_Hdr_Type *RteHdrp, UInt16 index, Boolean new) ROUTE_SECTION
 Duplicate or create a route.


Variables

UInt CurrentRouteIndex


Detailed Description

include file for route.c

Author:
C. Claveleira
Date:
1999-2004

Function Documentation

Err CopyOrCreateRoute Custom_Rte_Hdr_Type RteHdrp,
UInt16  index,
Boolean  new
 

Duplicate or create a route.

Parameters:
RteHdrp pointer on the new route header
index index of route to duplicate (if new not set)
new if true a route is to created, else given route is to be duplicated
Returns:
error code

Err EditRouteRecord UInt  recindex,
UInt  objindex,
Object objp
 

Insertion, deletion of objects in a route record.

Parameters:
recindex index of route record in routes database
objindex index of object in route to delete or where to insert a new object
objp pointer on object to insert. If null, delete objindex, else insert *objp at objindex
Returns:
0 if ok

UInt NewRouteNumber void   ) 
 

Search a free route number in current category.

Returns:
route number

Boolean RouteFormHandleEvent EventPtr  e  ) 
 

Route form event handler.

Parameters:
e pointer on event to handle
Returns:
true if evet handled

Boolean RteEditFormHandleEvent EventPtr  e  ) 
 

Creation and edition of routes.

Parameters:
e event
Returns:
true if nothing more to do


Generated on Sun Mar 13 09:36:01 2005 for GPilotS by doxygen 1.3.6