/*********************************************************/
/* This source code copyright (c) 1991-2001, Aaron Giles */
/* See the Read Me file for licensing information.       */
/* Contact email: mac@aarongiles.com                     */
/*********************************************************/

#ifndef __FILEMENU__
#define __FILEMENU__

void HandleFileChoice(short theItem);
void DoOpenDialog(void);
pascal Boolean OpenSaveModalFilter(DialogPtr theDialog, EventRecord *theEvent, 
	short *itemHit, void *yourDataPtr);
pascal Boolean OpenFileFilter(CInfoPBPtr pb, Boolean *dummy);
pascal short OpenDialogHook(short item, DialogPtr theDialog, long dummy);
void ScanDirFiles(void);
void DoSaveDialog(void);
void UpdateSaveButtons(DialogPtr theDialog);
pascal short SaveDialogHook(short item, DialogPtr theDialog, long dummy);

extern Boolean ValidType(OSType theType);

#endif
