shellscrap.c File Reference

#include "frontier.h"
#include "standard.h"
#include "kb.h"
#include "memory.h"
#include "scrap.h"
#include "strings.h"
#include "shell.h"
#include "shellhooks.h"

Include dependency graph for shellscrap.c:

Go to the source code of this file.

Data Structures

struct  tyscraprecord

Functions

static void shelldisposeinternalscrap (void)
static boolean shellsetinternalscrap (void *hscrap, tyscraptype type, shelldisposescrapcallback disposeroutine, shellexportscrapcallback exportroutine)
boolean shellsetscrap (void *hscrap, tyscraptype type, shelldisposescrapcallback disposeroutine, shellexportscrapcallback exportroutine)
boolean shellgetscrap (Handle *hscrap, tyscraptype *type)
static boolean exportshellscrap (tyscraptype type, Handle *hscrap, boolean *flconverted)
boolean shellconvertscrap (tyscraptype type, Handle *hscrap, boolean *flconverted)
boolean shellreadscrap (void)
boolean shellexportscrap (tyscraptype scraptype)
boolean shellwritescrap (tyscraptype type)
void initscrap (void)

Variables

tyscraprecord shellscrap


Function Documentation

static boolean exportshellscrap tyscraptype  type,
Handle hscrap,
boolean flconverted
[static]
 

Definition at line 160 of file shellscrap.c.

References tyscraprecord::exportroutine, tyscraprecord::hscrap, nil, shellscrap, and tyscraprecord::type.

Referenced by copy(), copytext(), shellconvertscrap(), and shellexportscrap().

void initscrap void   ) 
 

Definition at line 448 of file shellscrap.c.

References clearbytes(), getscrapcount(), initclipboard(), and shellscrap.

Referenced by appletinitmanagers(), and shellinit().

Here is the call graph for this function:

boolean shellconvertscrap tyscraptype  type,
Handle hscrap,
boolean flconverted
 

Definition at line 188 of file shellscrap.c.

References exportshellscrap(), tyscraprecord::hscrap, shellscrap, and tyscraprecord::type.

Referenced by isoutlinescrap(), langdialogpaste(), megetscraproutine(), opgetscrap(), opgetscraproutine(), pictpaste(), scriptgetscraproutine(), serviceshandlercopy(), and wppaste().

Here is the call graph for this function:

static void shelldisposeinternalscrap void   )  [static]
 

Definition at line 67 of file shellscrap.c.

References tyscraprecord::disposeroutine, tyscraprecord::fldirty, tyscraprecord::hscrap, nil, and shellscrap.

Referenced by shellsetinternalscrap().

boolean shellexportscrap tyscraptype  scraptype  ) 
 

Definition at line 310 of file shellscrap.c.

References disposehandle(), exportshellscrap(), nil, putscrap(), and textscraptype.

Referenced by FrontierFrameWndProc(), and shellwritescrap().

Here is the call graph for this function:

boolean shellgetscrap Handle hscrap,
tyscraptype type
 

Definition at line 150 of file shellscrap.c.

References tyscraprecord::hscrap, nil, shellscrap, and tyscraprecord::type.

Referenced by browsergetscrap(), copy(), iseditscrap(), isoutlinescrap(), megetscraproutine(), paste(), scriptgetscraproutine(), tabledroppasteroutine(), tableexportvaluescrap(), tablepasteroutine(), and tableverbpaste().

boolean shellreadscrap void   ) 
 

Definition at line 212 of file shellscrap.c.

References closeclipboard(), tyscraprecord::count, disposehandle(), tyscraprecord::fldirty, tyscraprecord::floptionkey, tykeystrokerecord::floptionkey, getscrap(), getscrapcount(), getscraptype(), keyboardstatus, newemptyhandle(), nil, noscraptype, openclipboard(), pictscraptype, shellcallscraphooks(), shellscrap, shellsetinternalscrap(), and textscraptype.

Referenced by shelleditcommand().

Here is the call graph for this function:

static boolean shellsetinternalscrap void *  hscrap,
tyscraptype  type,
shelldisposescrapcallback  disposeroutine,
shellexportscrapcallback  exportroutine
[static]
 

Definition at line 97 of file shellscrap.c.

References tyscraprecord::count, tyscraprecord::disposeroutine, tyscraprecord::exportroutine, tyscraprecord::fldirty, getscrapcount(), tyscraprecord::hscrap, nil, shelldisposeinternalscrap(), shellscrap, and tyscraprecord::type.

Referenced by shellreadscrap(), and shellsetscrap().

Here is the call graph for this function:

boolean shellsetscrap void *  hscrap,
tyscraptype  type,
shelldisposescrapcallback  disposeroutine,
shellexportscrapcallback  exportroutine
 

Definition at line 124 of file shellscrap.c.

References closeclipboard(), NULL, openclipboard(), pictscraptype, putscrap(), resetscrap(), shellsetinternalscrap(), and textscraptype.

Referenced by browsersetscrap(), langdialogcopy(), langerrorcopy(), mesetscraproutine(), minicopy(), opdefaultsetscraproutine(), paste(), pastetext(), pictcopy(), scriptsetscraproutine(), tablecopyroutine(), tablescraphook(), and wpsetscrap().

Here is the call graph for this function:

boolean shellwritescrap tyscraptype  type  ) 
 

Definition at line 351 of file shellscrap.c.

References allscraptypes, anyscraptype, closeclipboard(), tyscraprecord::count, tyscraprecord::fldirty, tyscraprecord::fllocked, getscrapcount(), hashscraptype, tyscraprecord::hscrap, openclipboard(), pictscraptype, resetscrap(), shellexportscrap(), shellscrap, textscraptype, and tyscraprecord::type.

Referenced by FrontierFrameWndProc(), getscrapverb(), langdialogpaste(), newmodaldialog(), shellactivatewindow(), shellhandlejugglerevent(), and shellshutdown().

Here is the call graph for this function:


Variable Documentation

tyscraprecord shellscrap
 

Definition at line 62 of file shellscrap.c.

Referenced by exportshellscrap(), initscrap(), shellconvertscrap(), shelldisposeinternalscrap(), shellgetscrap(), shellreadscrap(), shellsetinternalscrap(), and shellwritescrap().


Generated on Tue Jun 13 04:44:53 2006 for frontierkernel 10.1.10a by  doxygen 1.4.6