/*
 * fileIcon.h
 *
 * [Generated from fileIcon, 08 November 1995]
 */

#pragma include_only_once
#pragma force_top_level

#ifndef __fileIcon_h
#define __fileIcon_h

/*----- Overview ----------------------------------------------------------*
 *
 * Functions provided:
 *
 *  fileIcon_sprName
 *  fileIcon_reAppear
 *  fileIcon_closed
 *
 * Controls provided:
 *
 *   fileIcon
 *
 * Macros provided:
 *
 *   FILEICN
 */

/* --- fileIcon_sprName --- *
 *
 * On entry:	R0 == filetype
 *		R1 == pointer to filename
 *
 * On exit:	R0 == pointer to sprite name to use
 *
 * Use:		Works out the sprite name to use for the given filetype and
 *		name pair.
 */

extern routine fileIcon_sprName;

/* --- fileIcon_reAppear --- *
 *
 * On entry:	--
 *
 * On exit:	--
 *
 * Use:		Makes the currently vanished file icon reappear.
 */

extern routine fileIcon_reAppear;

/* --- fileIcon_closed --- *
 *
 * On entry:	R0 == dialogue box handle
 *
 * On exit:	--
 *
 * Use:		Informs fileIcon that the specified dialogue box has closed.
 */

extern routine fileIcon_closed;

/* --- fileIcon --- *
 *
 * Control data:	+0
 *
 * Workspace:	+0 == filetype of object to display
 *		+4 == address of filename
 *		+8
 *
 * Flags:	--
 *
 * Use:		Control which displays a filetype icon, and allows it to
 *		be dragged.
 */

extern routine fileIcon;

/*----- Macros and symbols ------------------------------------------------*/

#define fIcon_event (0x80000003)

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

#endif
