scrap.c File Reference

#include "frontier.h"
#include "standard.h"
#include "shelltypes.h"
#include "scrap.h"
#include "error.h"
#include "memory.h"
#include "threads.h"

Include dependency graph for scrap.c:

Go to the source code of this file.

Functions

boolean resetscrap (void)
short getscrapcount (void)
tyscraptype getscraptype (void)
boolean getscrap (tyscraptype scraptype, Handle hscrap)
boolean putscrap (tyscraptype scraptype, Handle hscrap)
boolean openclipboard (void)
boolean closeclipboard (void)
void initclipboard (void)


Function Documentation

boolean closeclipboard void   ) 
 

Definition at line 535 of file scrap.c.

References fl, grabthreadglobals(), and releasethreadglobals().

Referenced by getscrapverb(), putscrapverb(), shellreadscrap(), shellsetscrap(), and shellwritescrap().

Here is the call graph for this function:

boolean getscrap tyscraptype  scraptype,
Handle  hscrap
 

Definition at line 284 of file scrap.c.

References fl, grabthreadglobals(), HLock, HUnlock, MemError, nil, noErr, NULL, offset, oserror(), releasethreadglobals(), sethandlecontents(), SetHandleSize, and UINT.

Referenced by getscrapverb(), mescraphook(), opscraphook(), scriptscraphook(), shellreadscrap(), tablescraphook(), and wpscraphook().

Here is the call graph for this function:

short getscrapcount void   ) 
 

Definition at line 80 of file scrap.c.

References assert, nil, and noErr.

Referenced by initscrap(), shellreadscrap(), shellsetinternalscrap(), and shellwritescrap().

tyscraptype getscraptype void   ) 
 

Definition at line 208 of file scrap.c.

References format, info, nil, noErr, and UINT.

Referenced by shellreadscrap().

void initclipboard void   ) 
 

Definition at line 555 of file scrap.c.

Referenced by initscrap().

boolean openclipboard void   ) 
 

Definition at line 523 of file scrap.c.

References shellframewindow.

Referenced by getscrapverb(), putscrapverb(), shellreadscrap(), shellsetscrap(), and shellwritescrap().

boolean putscrap tyscraptype  scraptype,
Handle  hscrap
 

Definition at line 418 of file scrap.c.

References clearbytes(), fl, gethandlesize(), GetHandleSize, HLock, HUnlock, moveleft(), noErr, NULL, oserror(), and UINT.

Referenced by putscrapverb(), shellexportscrap(), and shellsetscrap().

Here is the call graph for this function:

boolean resetscrap void   ) 
 

Definition at line 63 of file scrap.c.

References noErr.

Referenced by putscrapverb(), shellsetscrap(), and shellwritescrap().


Generated on Sat Jun 10 02:28:04 2006 for frontierkernel 10.1.10a by  doxygen 1.4.6