JPEGView/Headers/cSelection.h
Aaron Giles 92bdb55672 JPEGView 3.3 for Macintosh
These are the sources for the final official release of JPEGView for the
Mac, back in 1994.
2015-02-05 00:18:10 -08:00

1 line
1.2 KiB
C

/*********************************************************/
/* 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