scrap.h File Reference

#include "shelltypes.h"

Include dependency graph for scrap.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define scrapinclude
#define noscraptype   0
#define anyscraptype   '****'
#define allscraptypes   '++++'
#define textscraptype   'TEXT'
#define pictscraptype   'PICT'
#define hashscraptype   'HASH'
#define opscraptype   'OP '
#define wpscraptype   'WPTX'
#define menuscraptype   'MNBR'
#define scriptscraptype   'SCPT'

Functions

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


Define Documentation

#define allscraptypes   '++++'
 

Definition at line 42 of file scrap.h.

Referenced by FrontierFrameWndProc(), and shellwritescrap().

#define anyscraptype   '****'
 

Definition at line 40 of file scrap.h.

Referenced by getscrapverb(), shellactivatewindow(), shellhandlejugglerevent(), shellshutdown(), and shellwritescrap().

#define hashscraptype   'HASH'
 

Definition at line 48 of file scrap.h.

Referenced by browsergetscrap(), browsersetscrap(), iseditscrap(), isoutlinescrap(), shellwritescrap(), tablecopyroutine(), tabledroppasteroutine(), tableexportscrap(), tableexportscrapvalue(), tablepasteroutine(), tablescraphook(), and tableverbpaste().

#define menuscraptype   'MNBR'
 

Definition at line 54 of file scrap.h.

Referenced by isoutlinescrap(), meexportscrap(), megetscraproutine(), mescraphook(), mesetscraproutine(), tableexportscrapvalue(), and tablepasteroutine().

#define noscraptype   0
 

Definition at line 38 of file scrap.h.

Referenced by shellreadscrap().

#define opscraptype   'OP '
 

Definition at line 50 of file scrap.h.

Referenced by copy(), isoutlinescrap(), meexportscrap(), megetscraproutine(), newoutlinerecord(), opdefaultsetscraproutine(), opexportscrap(), opgetscraproutine(), opscraphook(), scriptexportscrap(), scriptgetscraproutine(), tableexportscrap(), tableexportscrapvalue(), and tablepasteroutine().

#define pictscraptype   'PICT'
 

Definition at line 46 of file scrap.h.

Referenced by pictcopy(), pictpaste(), shellreadscrap(), shellsetscrap(), shellwritescrap(), tablepasteroutine(), wpexportscrap(), and wppaste().

#define scrapinclude
 

Definition at line 28 of file scrap.h.

#define scriptscraptype   'SCPT'
 

Definition at line 56 of file scrap.h.

Referenced by isoutlinescrap(), scriptexportscrap(), scriptgetscraproutine(), scriptscraphook(), scriptsetscraproutine(), tableexportscrap(), tableexportscrapvalue(), and tablepasteroutine().

#define textscraptype   'TEXT'
 

Definition at line 44 of file scrap.h.

Referenced by copytext(), isoutlinescrap(), langdialogcopy(), langdialogpaste(), langerrorcopy(), meexportscrap(), minicopy(), newmodaldialog(), opgetscrap(), pastetext(), scriptexportscrap(), shellexportscrap(), shellreadscrap(), shellsetscrap(), shellwritescrap(), tableexportscrap(), tableexportscrapvalue(), tableexportvaluescrap(), tablepasteroutine(), tablescraphook(), wpexportscrap(), and wppaste().

#define wpscraptype   'WPTX'
 

Definition at line 52 of file scrap.h.

Referenced by tableexportscrapvalue(), tablepasteroutine(), wpexportscrap(), wppaste(), wpscraphook(), and wpsetscrap().


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  ,
Handle 
 

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().

short handlescrapdisposed void   ) 
 

Referenced by FrontierFrameWndProc().

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  ,
Handle 
 

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:08 2006 for frontierkernel 10.1.10a by  doxygen 1.4.6