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

#pragma include_only_once
#pragma force_top_level

#ifndef __saveAs_h
#define __saveAs_h

/*----- Overview ----------------------------------------------------------*
 *
 * Functions provided:
 *
 *  saveAs
 */

/* --- saveAs --- *
 *
 * On entry:	R0 == estimated size of data
 *		R1 == file type of the data
 *		R2 == pointer to name of the file
 *		R3 == pointer to handler block
 *		R4 == value to pass to handlers in R10
 *		R5 == value to pass to handlers in R12
 *
 * On exit:	May return an error
 *
 * Use:		Displays a save as dialogue box for you to save some data.
 */

extern routine saveAs;

/*----- The SaveAs handler block ------------------------------------------*
 *
 * The block begins with the message tag for the dialogue title, followed by
 * an align to word boundary and then branch instructions or 0 for:
 */

#define saEntry__closed 0

#define saEntry__save 4

#define saEntry__send 8

#define saEntry__success 12

#define saEntry__failed 16

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

#endif
