/*
 * $Source: $
 * $Revision: $
 * $Date: $
 * $State: $
 * $Author: $
 *
 *
 * $Log: $
 *
 */

/************************************************************

Created: Friday, October 20, 1989 at 4:42 AM
	Folders.h
	C Interface to the Macintosh Libraries


	Copyright Apple Computer, Inc.	1989-90
	All rights reserved

************************************************************/


#ifndef __FOLDERS__
#define __FOLDERS__

#ifndef __TYPES__
#include <Types.h>
#endif

#ifndef __FILES__
#include <Files.h>
#endif

enum {kOnSystemDisk = 0x8000};

#define kCreateFolder					(true)
#define kDontCreateFolder				(false)

#define kSystemFolderType				('macs')		/* the system folder */
#define kDesktopFolderType				('desk')		/* the desktop folder; objects in this folder show on the desktop */
#define kTrashFolderType				('trsh')		/* the trash folder; objects in this folder show up in the trash */
#define kWhereToEmptyTrashFolderType	('empt')		/* the Òempty trashÓ folder; Finder starts emptying from here down */

#define kPrintMonitorDocsFolderType		('prnt')		/* Print Monitor documents */

#define kStartupFolderType				('strt')		/* Finder objects (applications, documents, DAs, aliases to É) to open at startup go here */
#define kAppleMenuFolderType			('amnu')		/* Finder objects to put into the Apple menu go here */
#define kControlPanelFolderType			('ctrl')		/* Control Panels go here (may contain INITs) */
#define kExtensionFolderType			('extn')		/* Finder extensions go here */

#define kPreferencesFolderType			('pref')		/* preferences for applications go here */
#define kTemporaryFolderType			('temp')		/* temporary files go here (deleted periodically, but donÕt rely on it) */

#ifdef __cplusplus
extern "C" {
#endif

pascal OSErr
FindFolder(short vRefNum, OSType, Boolean createFolder, short* foundVRefNum, long* foundDirID)
	= { 0x7000, 0xA823 };

#ifdef __cplusplus
}
#endif

#endif
