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

#ifndef __CFILE__
#define __CFILE__

pascal OSErr FileAccessor(DescType classWanted, AEDesc *container, 
	DescType containerClass, DescType keyForm, AEDesc *keyData, 
	AEDesc *resultToken, long theRefCon);
pascal OSErr FilePropertyAccessor(DescType classWanted, AEDesc *container, 
	DescType containerClass, DescType keyForm, AEDesc *keyData, 
	AEDesc *resultToken, long theRefCon);
OSErr GetFileData(WindowPtr theWindow, DescType typeWanted, AEDesc *theData);
OSErr GetFilePropertyData(WindowPtr theWindow, DescType theProperty, DescType typeWanted, 
	AEDesc *theData);
OSErr SetFilePropertyData(WindowPtr theWindow, DescType theProperty, AEDesc *theData);
OSErr MakeFileObject(WindowPtr theWindow, AEDesc *theObject);
OSErr MakeFilePropertyObject(WindowPtr theWindow, DescType theProperty, AEDesc *theObject);

#endif
