command.c File Reference

#include "frontier.h"
#include "standard.h"
#include "kb.h"
#include "memory.h"
#include "mouse.h"
#include "strings.h"
#include "resources.h"
#include "shell.rsrc.h"
#include "lang.h"
#include "langsystem7.h"
#include "miniwindow.h"
#include "process.h"
#include "cancoon.h"
#include "scripts.h"
#include "command.h"

Include dependency graph for command.c:

Go to the source code of this file.

Defines

#define cmdtextitem   1

Functions

static boolean cmdsavestring (short stringnumber, Handle htext)
static boolean cmdloadstring (short stringnumber, Handle *h)
static boolean cmderrorroutine (long refcon, long lnum, short charnum, hdlhashtable *htable, bigstring bsname)
static boolean cmdtexthit (Point pt)
static boolean cmdprocesscallback (void)
static pascal void * cmdthreadmain (tythreadmainparams hprocess)
static boolean cmdiconhit (void)
static boolean cmdgettargetdata (short id)
static void cmdcheckrunbutton (void)
static boolean cmdsetfields (void)
boolean startcmddialog (void)
boolean cmdstart (void)

Variables

static hdlprocessrecord quickscriptprocess = nil


Define Documentation

#define cmdtextitem   1
 

Definition at line 47 of file command.c.

Referenced by cmdsetfields().


Function Documentation

static void cmdcheckrunbutton void   )  [static]
 

Definition at line 366 of file command.c.

References fl, nil, and quickscriptprocess.

Referenced by cmdsetfields().

static boolean cmderrorroutine long  refcon,
long  lnum,
short  charnum,
hdlhashtable htable,
bigstring  bsname
[static]
 

Definition at line 108 of file command.c.

References commandlistnumber, commandtitlestring, getstringlist(), langgetsourceoffset(), minisetselect(), miniwindow, nil, shellpopglobals(), shellpushglobals(), and startcmddialog().

Referenced by cmdiconhit().

Here is the call graph for this function:

static boolean cmdgettargetdata short  id  )  [static]
 

Definition at line 348 of file command.c.

References currentprocess, idwordprocessor, nil, and quickscriptprocess.

Referenced by cmdsetfields().

static boolean cmdiconhit void   )  [static]
 

Definition at line 232 of file command.c.

References cmderrorroutine(), cmdprocesscallback(), cmdthreadmain(), disposeprocess(), disposetmpvalue(), endprocessthread(), fl, hashgetvaluestring(), hcode, idcommandconfig, langbuildtree(), langdisposetree(), langerrorclear(), langpoperrorcallback(), langpusherrorcallback(), minigetstring(), minisetwindowmessage(), newprocess(), newprocessthread(), nil, processruncode(), typrocessrecord::processstartedroutine, quickscriptprocess, setbooleanvalue(), and sysbeep.

Referenced by cmdsetfields().

Here is the call graph for this function:

static boolean cmdloadstring short  stringnumber,
Handle h
[static]
 

Definition at line 93 of file command.c.

References assert, cancoonglobals, copyhandle(), and nil.

Referenced by cmdsetfields().

Here is the call graph for this function:

static boolean cmdprocesscallback void   )  [static]
 

Definition at line 173 of file command.c.

References idcommandconfig, and miniinvalicon().

Referenced by cmdiconhit().

Here is the call graph for this function:

static boolean cmdsavestring short  stringnumber,
Handle  htext
[static]
 

Definition at line 55 of file command.c.

References assert, cancoonglobals, copyhandle(), copyhandlecontents(), equalhandles(), h, and nil.

Referenced by cmdsetfields().

Here is the call graph for this function:

static boolean cmdsetfields void   )  [static]
 

Definition at line 378 of file command.c.

References bigstring, cmdcheckrunbutton(), cmdgettargetdata(), cmdiconhit(), cmdloadstring(), cmdsavestring(), cmdtexthit(), cmdtextitem, commandlistnumber, commandtitlestring, copystring(), getstringlist(), idcommandconfig, ixcommandinfo, minidata, and runiconstring.

Referenced by startcmddialog().

Here is the call graph for this function:

boolean cmdstart void   ) 
 

Definition at line 421 of file command.c.

References idcommandconfig, and ministart().

Referenced by frontierstart().

Here is the call graph for this function:

static boolean cmdtexthit Point  pt  )  [static]
 

Definition at line 142 of file command.c.

References bigstring, tykeystrokerecord::ctmodifiers, tymouserecord::fldoubleclick, keyboardstatus, langzoomobject(), minigetselstring(), mousestatus, nil, pophashtable(), pushhashtable(), scriptgetdebuggingcontext(), and scriptunlockdebuggingcontext().

Referenced by cmdsetfields().

Here is the call graph for this function:

static pascal void* cmdthreadmain tythreadmainparams  hprocess  )  [static]
 

Definition at line 181 of file command.c.

References BIGSTRING, bigstring, disposeprocess(), disposetmpvalue(), exitprocessthread(), fl, getobjectmodeldisplaystring(), idcommandconfig, initprocessthread(), minisetwindowmessage(), nil, processruncode(), quickscriptprocess, scriptgetdebuggingcontext(), scriptunlockdebuggingcontext(), and setbooleanvalue().

Referenced by cmdiconhit().

Here is the call graph for this function:

boolean startcmddialog void   ) 
 

Definition at line 415 of file command.c.

References cmdsetfields(), idcommandconfig, and startminidialog().

Referenced by cmderrorroutine(), and windowfunctionvalue().

Here is the call graph for this function:


Variable Documentation

hdlprocessrecord quickscriptprocess = nil [static]
 

Definition at line 51 of file command.c.

Referenced by cmdcheckrunbutton(), cmdgettargetdata(), cmdiconhit(), and cmdthreadmain().


Generated on Thu Jun 1 05:03:09 2006 for frontierkernel 10.1.10a by  doxygen 1.4.6