
/*© copyright 1991-96 UserLand Software, Inc. All Rights Reserved.*/


#define iowaprefsinclude

#define ctdialogs 50

typedef struct tydialoginfo { /*information we remember about each dialog*/
	
	short top, left;
	} tydialoginfo;
	
#define maxsavedquickscript 1024

typedef struct tyiowaprefs { /*globals that communicate between callbacks*/
	
	short versionnumber; /*this structure is saved on disk*/
	
	/*information we maintain for each iowa dialog*/
	
		tydialoginfo dialoginfo [ctdialogs];
		
	/*information for the quick script window*/
		
		short ixdefaultquickscriptlanguage;
		
		long lensavedquickscript;
		
		char savedquickscript [maxsavedquickscript];
		
	char waste [992]; /*room for growth*/
	} tyiowaprefs;
	
extern tyiowaprefs iowaprefs;


boolean iowadefaultprefs (void);

boolean iowareadprefsfile (FSSpec *, tyiowaprefs *);

boolean iowaloadprefs (void);

boolean iowawriteprefsfile (tyiowaprefs *, FSSpec *);

boolean iowasaveprefs (void);

void littleprefsdialog (void);

