sourCEntral - mobile manpages

pdf

MPE_Describe_state

NAME

MPE_Describe_state − Create log record describing a state

SYNOPSIS

int MPE_Describe_state( start, end, name, color )
int start, end;
char *name, *color;

INPUT PARAMETERS

start

- event number for the start of the state

end

- event number for the end of the state

name

- Name of the state

color

- color to display the state in

NOTES

Adds string containing a state def to the logfile. The format of the definition is (in ALOG)
(LOG_STATE_DEF) 0 sevent eevent 0 0 "color" "name"

States are added to a log file by calling MPE_Log_event for the start and end event numbers.

SEE ALSO

MPE_Log_get_event_number

LOCATION

mpe_log.c

pdf