/*
	File:		Scrap.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 __SCRAP__
#define __SCRAP__

#ifndef __TYPES__
#include <MacTypes.H>
#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

struct ScrapStuff {
	long			scrapSize;
	Handle			scrapHandle;
	short			scrapCount;
	short			scrapState;
	StringPtr			scrapName;
};
typedef struct ScrapStuff ScrapStuff;

typedef ScrapStuff *PScrapStuff;

#ifdef __cplusplus
extern "C" {
#endif

extern PScrapStuff pascal InfoScrap(void);
extern long pascal UnloadScrap(void);
extern long pascal LoadScrap(void);
extern long pascal GetScrap(Handle hDest, ResType theType, long *offset);
extern long pascal ZeroScrap(void);
extern long pascal PutScrap(long length, ResType theType, Ptr source);
#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


