megastubs2.c File Reference

#include "frontier.h"
#include "standard.h"
#include "bitmaps.h"
#include "dialogs.h"
#include "memory.h"
#include "error.h"
#include "file.h"
#include "launch.h"
#include "fileloop.h"
#include "strings.h"
#include "frontierwindows.h"
#include "zoom.h"
#include "lang.h"
#include "langinternal.h"
#include "langipc.h"
#include "langexternal.h"
#include "langsystem7.h"
#include "scripts.h"
#include "shell.h"
#include "shellbuttons.h"
#include "shellhooks.h"
#include "shellprint.h"
#include "process.h"

Include dependency graph for megastubs2.c:

Go to the source code of this file.

Functions

void initbitmaps (boolean fl)
boolean openbitmap (Rect r, WindowPtr w)
void closebitmap (WindowPtr w)
boolean activateapplicationwindow (typrocessid id, WindowPtr w)
void zoominit (void)
void zoomtoorigin (WindowPtr w)
void zoomfromorigin (WindowPtr w)
void zoomwindowfromcenter (Rect r, WindowPtr w)
void zoomwindowtocenter (Rect r, WindowPtr w)
void zoomsetdefaultrect (WindowPtr w, Rect r)
boolean scriptrunsuspendscripts (void)
boolean scriptrunresumescripts (void)
boolean initprocess (void)
unsigned long processstackspace (void)
boolean processagentsleep (long ctseconds)
boolean pushprocess (hdlprocessrecord hp)
boolean popprocess (void)
boolean processbusy (void)
boolean processyield (void)
boolean processdisposecode (hdltreenode hcode)
void processchecktimeouts (void)
void processclose (void)
void processinvalidglobals (WindowPtr w)
boolean processrunning (void)
boolean langzoomobject (const bigstring bs)
boolean initlang (void)
boolean langbackgroundtask (boolean fl)
boolean langpartialeventloop (short mask)
boolean langexternalzoomfrom (tyvaluerecord val, hdlhashtable ht, bigstring bs, Rect r)
boolean langexternalwindowopen (tyvaluerecord val, hdlwindowinfo *hw)
boolean tablezoomtoname (hdlhashtable ht, bigstring bs)
boolean initscripts (void)
void osacomponentshutdown (void)
boolean langdialogrunning (void)
boolean langrunmodeless (hdltreenode hparam1, tyvaluerecord *vreturned)
boolean langipcinit (void)
boolean langipcstart (void)
void langipcshutdown ()

Variables

HWND currentport
HDC currentportDC
static HDC offscreenDC = NULL
static HBITMAP oldbitmap
static Rect offscreenrect
static HWND saveDC
unsigned short fldisableyield = 0
hdlprocessrecord currentprocess = nil
boolean flscriptrunning = false
typrocessid langipcself
static boolean fltoolkitinitialized = false


Function Documentation

boolean activateapplicationwindow typrocessid  id,
WindowPtr  w
 

Definition at line 153 of file megastubs2.c.

Referenced by shellbringtofront().

void closebitmap WindowPtr  w  ) 
 

Definition at line 127 of file megastubs2.c.

References currentport, currentportDC, NULL, offscreenDC, offscreenrect, oldbitmap, r, and saveDC.

void initbitmaps boolean  fl  ) 
 

Definition at line 80 of file megastubs2.c.

Referenced by shellinit().

boolean initlang void   ) 
 

Definition at line 268 of file megastubs2.c.

Referenced by shellinit().

boolean initprocess void   ) 
 

Definition at line 213 of file megastubs2.c.

Referenced by shellinit().

boolean initscripts void   ) 
 

Definition at line 289 of file megastubs2.c.

Referenced by shellinit().

boolean langbackgroundtask boolean  fl  ) 
 

Definition at line 274 of file megastubs2.c.

Referenced by delayticks(), extThreadYield(), fwsbackgroundtask(), langexternalsearch(), locksemaphoreverb(), notifyuser(), osaclientactive(), osaclientsend(), shellyield(), and sysfunctionvalue().

boolean langdialogrunning void   ) 
 

Definition at line 301 of file megastubs2.c.

Referenced by langdialoggetitemparam(), langfunctionvalue(), osabackgroundtask(), and scriptbackgroundtask().

boolean langexternalwindowopen tyvaluerecord  val,
hdlwindowinfo hw
 

Definition at line 285 of file megastubs2.c.

Referenced by ccnewfilewindow(), closeownedwindowsvisit(), closeregisteredwindowvisit(), closevalue(), getwinaddressparam(), langclosehiddenwindow(), langfindtargetwindow(), scriptzoomscript(), tableclosewindows(), tabletitlepopupselect(), and tableupdatewindowtitles().

boolean langexternalzoomfrom tyvaluerecord  val,
hdlhashtable  ht,
bigstring  bs,
Rect  r
 

Definition at line 283 of file megastubs2.c.

boolean langipcinit void   ) 
 

Definition at line 381 of file megastubs2.c.

Referenced by shellinit().

void langipcshutdown void   ) 
 

Definition at line 414 of file megastubs2.c.

Referenced by shellshutdown().

boolean langipcstart void   ) 
 

Definition at line 387 of file megastubs2.c.

References error, handleopen(), handleopenapp(), handlequit(), IACinstallhandler(), kAEOpenApplication, kAEOpenDocuments, kAEQuitApplication, kCoreEventClass, and langipcself.

Referenced by shellinit().

Here is the call graph for this function:

boolean langpartialeventloop short  mask  ) 
 

Definition at line 276 of file megastubs2.c.

References shellpartialeventloop().

Here is the call graph for this function:

boolean langrunmodeless hdltreenode  hparam1,
tyvaluerecord vreturned
 

Definition at line 306 of file megastubs2.c.

Referenced by langfunctionvalue().

boolean langzoomobject const bigstring  bs  ) 
 

Definition at line 266 of file megastubs2.c.

Referenced by cmdtexthit(), and wpverbclick().

boolean openbitmap Rect  r,
WindowPtr  w
 

Definition at line 84 of file megastubs2.c.

References assert, currentport, currentportDC, NULL, offscreenDC, offscreenrect, oldbitmap, and saveDC.

void osacomponentshutdown void   ) 
 

Definition at line 296 of file megastubs2.c.

Referenced by shellshutdown().

boolean popprocess void   ) 
 

Definition at line 240 of file megastubs2.c.

Referenced by ccsavespecialfile(), langrunhandle(), newprocess(), and processruncode().

boolean processagentsleep long  ctseconds  ) 
 

Definition at line 236 of file megastubs2.c.

Referenced by langfunctionvalue().

boolean processbusy void   ) 
 

Definition at line 242 of file megastubs2.c.

Referenced by processruncode(), and shelladjustcursor().

void processchecktimeouts void   ) 
 

Definition at line 248 of file megastubs2.c.

Referenced by langdialogclose(), and shellhandlenullevent().

void processclose void   ) 
 

Definition at line 250 of file megastubs2.c.

Referenced by shellshutdown().

boolean processdisposecode hdltreenode  hcode  ) 
 

Definition at line 246 of file megastubs2.c.

Referenced by opverbdisposecode(), osaCancelSharedScript(), and scriptremoveagent().

void processinvalidglobals WindowPtr  w  ) 
 

Definition at line 252 of file megastubs2.c.

boolean processrunning void   ) 
 

Definition at line 254 of file megastubs2.c.

unsigned long processstackspace void   ) 
 

Definition at line 215 of file megastubs2.c.

Referenced by langcheckstackspace().

boolean processyield void   ) 
 

Definition at line 244 of file megastubs2.c.

Referenced by filemenufunctionvalue(), handleyield(), killdependentprocesses(), landsystem7idleroutine(), langdialogclose(), langrunmodeless(), processscheduler(), processyieldtoagents(), scriptbackgroundtask(), shellbackgroundtask(), shellyield(), and xcmdcallback().

boolean pushprocess hdlprocessrecord  hp  ) 
 

Definition at line 238 of file megastubs2.c.

Referenced by ccsavespecialfile(), langrunhandle(), newprocess(), and processruncode().

boolean scriptrunresumescripts void   ) 
 

Definition at line 204 of file megastubs2.c.

Referenced by shellhandlejugglerevent().

boolean scriptrunsuspendscripts void   ) 
 

Definition at line 202 of file megastubs2.c.

Referenced by shellhandlejugglerevent().

boolean tablezoomtoname hdlhashtable  ht,
bigstring  bs
 

Definition at line 287 of file megastubs2.c.

Referenced by editvalue(), scriptlocalsbutton(), scriptzoomdotparams(), tableclientsurface(), tablepastevalue(), tabletitlepopupselect(), and tablezoomfound().

void zoomfromorigin WindowPtr  w  ) 
 

Definition at line 162 of file megastubs2.c.

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

Referenced by zoomfilewindow(), and zoomwindowfromcenter().

Here is the call graph for this function:

void zoominit void   ) 
 

Definition at line 158 of file megastubs2.c.

Referenced by shellinit().

void zoomsetdefaultrect WindowPtr  w,
Rect  r
 

Definition at line 195 of file megastubs2.c.

void zoomtoorigin WindowPtr  w  ) 
 

Definition at line 160 of file megastubs2.c.

References hidewindow().

Referenced by shellclose().

Here is the call graph for this function:

void zoomwindowfromcenter Rect  r,
WindowPtr  w
 

Definition at line 185 of file megastubs2.c.

References zoomfromorigin().

Referenced by windowzoom().

Here is the call graph for this function:

void zoomwindowtocenter Rect  r,
WindowPtr  w
 

Definition at line 190 of file megastubs2.c.

References hidewindow().

Referenced by mezoomdownwindow().

Here is the call graph for this function:


Variable Documentation

HWND currentport
 

Referenced by calcgrow(), closebitmap(), drawtitle(), and openbitmap().

HDC currentportDC
 

Referenced by closebitmap(), and openbitmap().

hdlprocessrecord currentprocess = nil
 

Definition at line 211 of file megastubs2.c.

Referenced by ccmsg(), cmdgettargetdata(), copythreadglobals(), debuggingcurrentprocess(), exitprocessthread(), filefunctionvalue(), isFrontProcess(), kernelfunctionvalue(), langdialoggettargetdata(), langdialognewwindow(), langipcerrorroutine(), langipcgeteventattr(), langpoperrorcallback(), langpusherrorcallback(), langstartprofiling(), langstopprofiling(), langtracktimeslice(), langwinipcerrorroutine(), opafterstrucchange(), openfileverb(), opstopprofileverb(), popprocess(), processagentsleep(), processisoneshot(), processscheduler(), processscriptkilled(), processstartprofiling(), processstopprofiling(), profilingcurrentprocess(), pushprocess(), readwholefileverb(), scriptgettargetdata(), swapinthreadglobals(), and threaddisposecontext().

unsigned short fldisableyield = 0
 

Definition at line 209 of file megastubs2.c.

Referenced by CheckFormulas(), copythreadglobals(), landsystem7handleevent(), landsystem7send(), langdialogitemhit(), langipcgetmenuarray(), langipchandlefastscript(), langrunstringnoerror(), notifyuser(), osahandlerunscript(), osaRunSharedMenuItem(), processscriptkilled(), processyield(), processyieldtoagents(), shellactivate(), and swapinthreadglobals().

boolean flscriptrunning = false
 

Definition at line 264 of file megastubs2.c.

Referenced by ccmenuroutine(), ccverifywindowclose(), copythreadglobals(), delayticks(), disposemodaldialog(), langerrordirtyhook(), langexternalsearch(), langipchandlefastscript(), langrun(), langruncode(), langrunhandle(), notifyuser(), opflatfind(), osaCheckSharedMenus(), osaRunSharedMenuItem(), osaSharedScriptRunning(), prepuserforwait(), processyield(), scriptbuttondisplayed(), scriptbuttonenabled(), shellactivate(), shellclose(), shellrunwindowconfirmationscript(), shellsysverbwaitroutine(), shellyield(), swapinthreadglobals(), and tablesavesystemtable().

boolean fltoolkitinitialized = false [static]
 

Definition at line 312 of file megastubs2.c.

typrocessid langipcself
 

Definition at line 311 of file megastubs2.c.

HDC offscreenDC = NULL [static]
 

Definition at line 74 of file megastubs2.c.

Referenced by closebitmap(), and openbitmap().

Rect offscreenrect [static]
 

Definition at line 76 of file megastubs2.c.

HBITMAP oldbitmap [static]
 

Definition at line 75 of file megastubs2.c.

Referenced by closebitmap(), and openbitmap().

HWND saveDC [static]
 

Definition at line 77 of file megastubs2.c.

Referenced by closebitmap(), and openbitmap().


Generated on Wed Jun 7 08:00:15 2006 for frontierkernel 10.1.10a by  doxygen 1.4.6