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

#ifndef __COREEVENTHANDLERS__
#define __COREEVENTHANDLERS__

pascal OSErr HandleClone(AppleEvent *theEvent, AppleEvent *reply, long refCon);
pascal OSErr HandleClose(AppleEvent *theEvent, AppleEvent *reply, long refCon);
pascal OSErr HandleCountElements(AppleEvent *theEvent, AppleEvent *reply, long refCon);
pascal OSErr HandleCreateElement(AppleEvent *theEvent, AppleEvent *reply, long refCon);
pascal OSErr HandleDelete(AppleEvent *theEvent, AppleEvent *reply, long refCon);
pascal OSErr HandleDoObjectsExist(AppleEvent *theEvent, AppleEvent *reply, long refCon);
pascal OSErr HandleGetData(AppleEvent *theEvent, AppleEvent *reply, long refCon);
OSErr DoGetData(DescType theType, ObjectTokenHandle theToken, short index, 
	DescType typeWanted, AEDesc *theData);
pascal OSErr HandleGetDataSize(AppleEvent *theEvent, AppleEvent *reply, long refCon);
pascal OSErr HandleMove(AppleEvent *theEvent, AppleEvent *reply, long refCon);
pascal OSErr HandleSave(AppleEvent *theEvent, AppleEvent *reply, long refCon);
pascal OSErr HandleSetData(AppleEvent *theEvent, AppleEvent *reply, long refCon);
OSErr DoSetData(DescType theType, ObjectTokenHandle theToken, short index, AEDesc *theData);

#endif
