osawindows.c File Reference

#include "frontier.h"
#include "standard.h"
#include <uisharing.h>
#include <uisinternal.h>
#include <land.h>
#include "ops.h"
#include "kb.h"
#include "memory.h"
#include "quickdraw.h"
#include "resources.h"
#include "shell.h"
#include "shellmenu.h"
#include "shellprivate.h"
#include "tablestructure.h"
#include "osainternal.h"
#include "osawindows.h"
#include <SetUpA5.h>

Include dependency graph for osawindows.c:

Go to the source code of this file.

Defines

#define windowcandofunctionUPP   ((ComponentFunctionUPP) windowcandofunction)
#define handlewindoweventcommandUPP   ((ComponentFunctionUPP) handlewindoweventcommand)
#define windowiscardcommandUPP   ((ComponentFunctionUPP) windowiscardcommand)
#define closewindowcommandUPP   ((ComponentFunctionUPP) closewindowcommand)
#define windoweditcommandUPP   ((ComponentFunctionUPP) windoweditcommand)
#define windowopencommandUPP   ((ComponentFunctionUPP) windowopencommand)
#define handleselectwindowUPP   handleselectwindow

Functions

static WindowPtr osageteventwindow (EventRecord *ev)
static boolean removewindowsharinghandlers (void)
static pascal ComponentResult handlewindoweventcommand (Handle hglobals, EventRecord *ev, tyWindowSharingGlobals *pwsGlobals)
static pascal ComponentResult windowiscardcommand (Handle hglobals, WindowPtr w)
static pascal ComponentResult closewindowcommand (Handle hglobals, WindowPtr w)
static pascal ComponentResult windoweditcommand (Handle hglobals, short editcmd)
static pascal ComponentResult windowopencommand (Handle hglobals, Handle h, short flscripted, Str255 windowname, Point pt, uisEventCallback filter)
static pascal ComponentResult windowcandofunction (short selector)
static pascal OSErr handleselectwindow (const AppleEvent *event, AppleEvent *reply, SInt32 refcon)
static boolean installwindowsharinghandlers (void)
static pascal ComponentResult windowsharingdispatch (register ComponentParameters *params, Handle storage)
boolean initwindowsharingcomponent (void)


Define Documentation

#define closewindowcommandUPP   ((ComponentFunctionUPP) closewindowcommand)
 

Definition at line 408 of file osawindows.c.

Referenced by windowsharingdispatch().

#define handleselectwindowUPP   handleselectwindow
 

Definition at line 435 of file osawindows.c.

Referenced by installwindowsharinghandlers(), and removewindowsharinghandlers().

#define handlewindoweventcommandUPP   ((ComponentFunctionUPP) handlewindoweventcommand)
 

Definition at line 406 of file osawindows.c.

Referenced by windowsharingdispatch().

#define windowcandofunctionUPP   ((ComponentFunctionUPP) windowcandofunction)
 

Definition at line 405 of file osawindows.c.

Referenced by windowsharingdispatch().

#define windoweditcommandUPP   ((ComponentFunctionUPP) windoweditcommand)
 

Definition at line 409 of file osawindows.c.

Referenced by windowsharingdispatch().

#define windowiscardcommandUPP   ((ComponentFunctionUPP) windowiscardcommand)
 

Definition at line 407 of file osawindows.c.

Referenced by windowsharingdispatch().

#define windowopencommandUPP   ((ComponentFunctionUPP) windowopencommand)
 

Definition at line 410 of file osawindows.c.

Referenced by windowsharingdispatch().


Function Documentation

static pascal ComponentResult closewindowcommand Handle  hglobals,
WindowPtr  w
[static]
 

Definition at line 186 of file osawindows.c.

References shellclosewindow().

Referenced by initwindowsharingcomponent().

Here is the call graph for this function:

static pascal OSErr handleselectwindow const AppleEvent event,
AppleEvent reply,
SInt32  refcon
[static]
 

Definition at line 278 of file osawindows.c.

References noErr, RestoreA5, SetUpAppA5, shellwindowmenudirty(), and typeLongInteger.

Referenced by installwindowsharinghandlers().

Here is the call graph for this function:

static pascal ComponentResult handlewindoweventcommand Handle  hglobals,
EventRecord ev,
tyWindowSharingGlobals pwsGlobals
[static]
 

Definition at line 100 of file osawindows.c.

References autoKey, tykeystrokerecord::chkb, tyshellglobals::cmdkeyfilterroutine, tylangcallbacks::errormessagecallback, fl, tykeystrokerecord::flcmdkey, flosashutdown, isshellwindow(), jugglerEvt, keyboardstatus, keyDown, langcallbacks, langerrordialog(), osageteventwindow(), removewindowsharinghandlers(), resumeFlag, setkeyboardstatus(), shellactivatewindow(), shelladjustcursor(), shellglobals, shellidle(), shellpopglobals(), shellprocessevent(), shellpushglobals(), suspendResumeMessage, and textchar().

Referenced by initwindowsharingcomponent().

Here is the call graph for this function:

boolean initwindowsharingcomponent void   ) 
 

Definition at line 588 of file osawindows.c.

References closewindowcommand(), frontierstring, handlewindoweventcommand(), installwindowsharinghandlers(), nil, osaregistercomponent(), RememberA5, windowcandofunction(), windoweditcommand(), windowiscardcommand(), windowopencommand(), windowsharingcomponentstring, windowsharingdispatch(), and wsComponentType.

Referenced by osacomponentstart().

Here is the call graph for this function:

static boolean installwindowsharinghandlers void   )  [static]
 

Definition at line 440 of file osawindows.c.

References handleselectwindow(), handleselectwindowUPP, nil, and noErr.

Referenced by initwindowsharingcomponent(), and windowsharingdispatch().

Here is the call graph for this function:

static WindowPtr osageteventwindow EventRecord ev  )  [static]
 

Definition at line 53 of file osawindows.c.

References activateEvt, autoKey, jugglerEvt, keyDown, mouseDown, mouseUp, nil, and updateEvt.

Referenced by handlewindoweventcommand().

static boolean removewindowsharinghandlers void   )  [static]
 

Definition at line 455 of file osawindows.c.

References handleselectwindowUPP, nil, and noErr.

Referenced by handlewindoweventcommand(), and windowsharingdispatch().

static pascal ComponentResult windowcandofunction short  selector  )  [static]
 

Definition at line 257 of file osawindows.c.

References wsCloseWindowCommand, wsEditCommand, wsEventHandlerCommand, wsRunFromHandleCommand, and wsWindowIsCardCommand.

Referenced by initwindowsharingcomponent().

static pascal ComponentResult windoweditcommand Handle  hglobals,
short  editcmd
[static]
 

Definition at line 193 of file osawindows.c.

References fl, isshellwindow(), shelleditcommand(), shellpopglobals(), and shellpushglobals().

Referenced by initwindowsharingcomponent().

Here is the call graph for this function:

static pascal ComponentResult windowiscardcommand Handle  hglobals,
WindowPtr  w
[static]
 

Definition at line 179 of file osawindows.c.

References isshellwindow().

Referenced by initwindowsharingcomponent().

Here is the call graph for this function:

static pascal ComponentResult windowopencommand Handle  hglobals,
Handle  h,
short  flscripted,
Str255  windowname,
Point  pt,
uisEventCallback  filter
[static]
 

Definition at line 216 of file osawindows.c.

References bigstring, externalvaluetype, fl, hashtablelookup(), hnode, langexpandtodotparams(), langsearchpathlookup(), langzoomvalwindow(), nil, pophashtable(), pushhashtable(), roottable, texthandletostring(), and tyvaluerecord::valuetype.

Referenced by initwindowsharingcomponent().

Here is the call graph for this function:

static pascal ComponentResult windowsharingdispatch register ComponentParameters *  params,
Handle  storage
[static]
 

Definition at line 479 of file osawindows.c.

References callosafunction(), closewindowcommandUPP, disposecomponentglobals(), handlewindoweventcommandUPP, installwindowsharinghandlers(), newcomponentglobals(), noErr, removewindowsharinghandlers(), RestoreA5, SetUpAppA5, windowcandofunctionUPP, windoweditcommandUPP, windowiscardcommandUPP, windowopencommandUPP, wsCloseWindowCommand, wsEditCommand, wsEventHandlerCommand, wsRunFromHandleCommand, and wsWindowIsCardCommand.

Referenced by initwindowsharingcomponent().

Here is the call graph for this function:


Generated on Fri Jun 9 21:38:58 2006 for frontierkernel 10.1.10a by  doxygen 1.4.6