/*********************************************************/ /* This source code copyright (c) 1991-2001, Aaron Giles */ /* See the Read Me file for licensing information. */ /* Contact email: mac@aarongiles.com */ /*********************************************************/ #ifndef __CSELECTION__ #define __CSELECTION__ pascal OSErr SelectionAccessor(DescType classWanted, AEDesc *container, DescType containerClass, DescType keyForm, AEDesc *keyData, AEDesc *resultToken, long theRefCon); pascal OSErr SelPropertyAccessor(DescType classWanted, AEDesc *container, DescType containerClass, DescType keyForm, AEDesc *keyData, AEDesc *resultToken, long theRefCon); OSErr GetSelectionData(WindowPtr theWindow, DescType typeWanted, AEDesc *theData); OSErr GetSelPropertyData(WindowPtr theWindow, DescType theProperty, DescType typeWanted, AEDesc *theData); OSErr SetSelPropertyData(WindowPtr theWindow, DescType theProperty, AEDesc *theData); OSErr MakeSelectionObject(WindowPtr theWindow, AEDesc *theObject); OSErr MakeSelPropertyObject(WindowPtr theWindow, DescType theProperty, AEDesc *theObject); extern OSErr DoSetSelection(ImageHandle theImage, Rect *theRect); #endif