/*
 * transWin.h
 *
 * [Generated from transWin, 25 September 1996]
 */

#if !defined(__CC_NORCROFT) || !defined(__arm)
  #error You must use the Norcroft ARM Compiler for Sapphire programs
#endif

#pragma include_only_once
#pragma force_top_level

#ifndef __transWin_h
#define __transWin_h

#ifndef __sapphire_h
  #include "sapphire.h"
#endif

/*----- Overview ----------------------------------------------------------*
 *
 * Functions provided:
 *
 *  transWin_subWaiting
 *  transWin_openSub
 *  transWin_register
 *  transWin_close
 *  transWin_init
 */

/* --- transWin_subWaiting --- *
 *
 * On entry:	--
 *
 * On exit:	CS if a submenu is waiting to be opened, CC otherwise
 *
 * Use:		Informs the caller whether the menu system is waiting for
 *		a submenu to be attached.
 */

extern routine transWin_subWaiting;

/* --- transWin_openSub --- *
 *
 * On entry:	R0 == window handle to open
 *
 * On exit:	--
 *
 * Use:		Opens the given window as a submenu.
 */

extern routine transWin_openSub;

/* --- transWin_register --- *
 *
 * On entry:	R0 == window handle to register
 *
 * On exit:	--
 *
 * Use:		Registers a window as being the current transient window.
 */

extern routine transWin_register;

/* --- transWin_close --- *
 *
 * On entry:	R0 == window handle to close
 *
 * On exit:	--
 *
 * Use:		Closes the current transient window.
 */

extern routine transWin_close;

/* --- transWin_init --- *
 *
 * On entry:	--
 *
 * On exit:	--
 *
 * Use:		Initialises the transWin system.
 */

extern routine transWin_init;

/*----- That's all, folks -------------------------------------------------*/

#endif
