JPEGView/Headers/StandardFolder.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
1008 B
C

/*********************************************************/
/* This source code copyright (c) 1991-2001, Aaron Giles */
/* See the Read Me file for licensing information. */
/* Contact email: mac@aarongiles.com */
/*********************************************************/
#ifndef __STANDARDFOLDER__
#define __STANDARDFOLDER__
/*
* sFolder = Standard get folder structure [SFData, SFDataPtr]
*/
typedef struct SFData
{
StandardFileReply *replyPtr;
FSSpec oldSelection, origSelection;
} SFData, *SFDataPtr;
Boolean StandardGetFolder(FSSpec *theSpec);
pascal Boolean StdFolderFilter(CInfoPBPtr pb, long refCon);
pascal short StdFolderHook(short item, DialogPtr theDialog, Ptr userData);
void SetSelectButtonName(StringPtr selName, Boolean hilited, DialogPtr theDialog);
OSErr MakeCanonFSSpec(FSSpec *theSpec);
OSErr GetDeskFolderSpec(FSSpec *theSpec, short vRefNum);
Boolean ShouldHiliteSelect(FSSpec *theSpec);
extern Boolean SameFile(FSSpec *file1, FSSpec *file2);
#endif