Previous Chapter Back to content   Next Chapter

VISION Documentation (VAPI)

Last update: 11/11/00

Download documentation

PROGRESS INTERFACE

 

Summary
Interface prefix Pr
Number of functions 2
Description Set of functions allowing an actioo on VISION's progress windows, to inform user about work in progress.

 

Prototype void cdecl PrSetProg(long pc)
Parameters [IN] pc: percentage of work done (0...100)
Return None
Description Updates the percentage indicator in the progress window
Comments If the pc paramteter is out of limits, it will be shifted to the nearest limit. The type long is used to ensure compatibility between compilers.
VAPI version 1.00 or greater

 

Prototype void cdecl PrOptimize(long mask)
Parameters [IN] cpu030: 68030 instructions will be used when running
[IN] mask: bit mask having the following meaning:
Bit 0: 68003 instructios will be used
Bit 1: DSP will be used
Return None
Description Indicates to the user that 68030 and/or DSP optimisations will be used when running. This will display a "030!" or "DSP!" in the progress window
Comments The type long is used to ensure compatibility between compilers
VAPI version 1.00 or greater

 


Previous chapter Back to content   Next Chapter

VISION Documentation (VAPI)

Last update: 11/11/00

Download documentation

PROGRESS INTERFACE