/*
	File:		Desk.h

	Copyright:	© 1984-1993 by Apple Computer, Inc., all rights reserved.

	WARNING
	This file was auto generated by the interfacer tool. Modifications
	must be made to the master file.

*/

#ifndef __DESK__
#define __DESK__

#ifndef __TYPES__
#include <MacTypes.H>
#endif

#ifndef __QUICKDRAW__
#if LONG_FILENAMES
#include <Quickdraw.H>
#else
#include <Quickdra.H>
#endif
#endif

#ifndef __EVENTS__
#include <Events.H>
#endif

enum  {
	accEvent			= 64,
	accRun			= 65,
	accCursor			= 66,
	accMenu			= 67,
	accUndo			= 68,
	accCut			= 70,
	accCopy			= 71,
	accPaste			= 72,
	accClear			= 73,
	goodbye			= -1			/*goodbye message*/
};

#ifdef __cplusplus
extern "C" {
#endif
#if PRAGMA_IMPORT
#pragma import on
#endif

#if PRAGMA_STRUCT_ALIGN
	#pragma options align=mac68k
#elif PRAGMA_STRUCT_PACKPUSH
	#pragma pack(push, 2)
#elif PRAGMA_STRUCT_PACK
	#pragma pack(2)
#endif

extern short pascal OpenDeskAcc(ConstStr255Param deskAccName);
extern void pascal CloseDeskAcc(short refNum);
extern void pascal SystemClick(const EventRecord *theEvent, WindowPtr theWindow);
extern Boolean pascal SystemEdit(short editCmd);
extern void pascal SystemTask(void);
extern Boolean pascal SystemEvent(const EventRecord *theEvent);
extern void pascal SystemMenu(long menuResult);
extern short opendeskacc(char *deskAccName);
#if PRAGMA_STRUCT_ALIGN
	#pragma options align=reset
#elif PRAGMA_STRUCT_PACKPUSH
	#pragma pack(pop)
#elif PRAGMA_STRUCT_PACK
	#pragma pack()
#endif

#ifdef PRAGMA_IMPORT_OFF
#pragma import off
#elif PRAGMA_IMPORT
#pragma import reset
#endif
#ifdef __cplusplus
}
#endif

#endif


