osamenus.h File Reference

#include <AppleEvents.h>

Include dependency graph for osamenus.h:

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

Go to the source code of this file.

Defines

#define osamenusinclude
#define msComponentType   'SHMN'
#define msComponentSubType   0
#define msInitSharedMenusCommand   0x2001
#define msSharedMenuHitCommand   0x2002
#define msSharedScriptRunningCommand   0x2003
#define msCancelSharedScriptCommand   0x2004
#define msCheckSharedMenusCommand   0x2005
#define msDisposeSharedMenusCommand   0x2007
#define msIsSharedMenuCommand   0x2008
#define msEnableSharedMenusCommand   0x2009
#define msRunSharedMenuItemCommand   0x200A
#define msSetScriptErrorCallbackCommand   0x200B
#define msSetEventFilterCallbackCommand   0x200C
#define msSetMenusInserterCallbackCommand   0x200D
#define msSetMenusRemoverCallbackCommand   0x200E
#define msDirtySharedMenusCommand   0x200F
#define __MENUSHARING__

Functions

OSAError osageterror (void)
THz osasethomezone (hdlcomponentglobals)
THz osasetclientzone (hdlcomponentglobals)
pascal OSErr osadefaultactiveproc (long)
pascal OSAError osaDispose (hdlcomponentglobals, OSAID)
pascal OSAError osaSetActiveProc (hdlcomponentglobals, OSAActiveUPP, long)
pascal OSAError osaSetSendProc (hdlcomponentglobals, OSASendUPP, long)
pascal OSAError osaCompileExecute (hdlcomponentglobals, const AEDesc *, OSAID, long, OSAID *)
pascal OSAError osaDoScript (hdlcomponentglobals, const AEDesc *, OSAID, DescType, long, AEDesc *)
boolean osafindclienteventfilter (long, long *)
boolean initmenusharingcomponent (void)


Define Documentation

#define __MENUSHARING__
 

Definition at line 63 of file osamenus.h.

#define msCancelSharedScriptCommand   0x2004
 

Definition at line 47 of file osamenus.h.

Referenced by menucandofunction(), and menusharingdispatch().

#define msCheckSharedMenusCommand   0x2005
 

Definition at line 48 of file osamenus.h.

Referenced by menucandofunction(), and menusharingdispatch().

#define msComponentSubType   0
 

Definition at line 42 of file osamenus.h.

Referenced by uisInit().

#define msComponentType   'SHMN'
 

Definition at line 41 of file osamenus.h.

Referenced by initmenusharingcomponent(), and uisInit().

#define msDirtySharedMenusCommand   0x200F
 

Definition at line 57 of file osamenus.h.

Referenced by menucandofunction(), and menusharingdispatch().

#define msDisposeSharedMenusCommand   0x2007
 

Definition at line 49 of file osamenus.h.

Referenced by menucandofunction(), and menusharingdispatch().

#define msEnableSharedMenusCommand   0x2009
 

Definition at line 51 of file osamenus.h.

Referenced by menucandofunction(), and menusharingdispatch().

#define msInitSharedMenusCommand   0x2001
 

Definition at line 44 of file osamenus.h.

Referenced by menucandofunction(), and menusharingdispatch().

#define msIsSharedMenuCommand   0x2008
 

Definition at line 50 of file osamenus.h.

Referenced by menucandofunction(), and menusharingdispatch().

#define msRunSharedMenuItemCommand   0x200A
 

Definition at line 52 of file osamenus.h.

Referenced by menucandofunction(), and menusharingdispatch().

#define msSetEventFilterCallbackCommand   0x200C
 

Definition at line 54 of file osamenus.h.

Referenced by menucandofunction(), and menusharingdispatch().

#define msSetMenusInserterCallbackCommand   0x200D
 

Definition at line 55 of file osamenus.h.

Referenced by menucandofunction(), and menusharingdispatch().

#define msSetMenusRemoverCallbackCommand   0x200E
 

Definition at line 56 of file osamenus.h.

Referenced by menucandofunction(), and menusharingdispatch().

#define msSetScriptErrorCallbackCommand   0x200B
 

Definition at line 53 of file osamenus.h.

Referenced by menucandofunction(), and menusharingdispatch().

#define msSharedMenuHitCommand   0x2002
 

Definition at line 45 of file osamenus.h.

Referenced by menucandofunction(), and menusharingdispatch().

#define msSharedScriptRunningCommand   0x2003
 

Definition at line 46 of file osamenus.h.

Referenced by menucandofunction(), and menusharingdispatch().

#define osamenusinclude
 

Definition at line 28 of file osamenus.h.


Function Documentation

boolean initmenusharingcomponent void   ) 
 

Definition at line 3101 of file osamenus.c.

References frontierstring, menusharingcomponentstring, menusharingdispatch(), msComponentType, osaregistercomponent(), and RememberA5.

Referenced by osacomponentstart().

Here is the call graph for this function:

pascal OSAError osaCompileExecute hdlcomponentglobals  ,
const AEDesc ,
OSAID  ,
long  ,
OSAID * 
 

Definition at line 4258 of file osacomponent.c.

References noErr, osaCompile(), osaDispose(), and osaExecute().

Referenced by newcomponentglobals().

Here is the call graph for this function:

pascal OSErr osadefaultactiveproc long   ) 
 

Definition at line 913 of file osacomponent.c.

References EventAvail(), iscmdperiodevent(), keyDownMask, tyEventRecord::message, tyEventRecord::modifiers, noErr, and tyEventRecord::what.

Referenced by initosacomponent(), newcomponentglobals(), sharedmenuactiveproc(), and sharedmenusendproc().

Here is the call graph for this function:

pascal OSAError osaDispose hdlcomponentglobals  ,
OSAID 
 

Definition at line 2744 of file osacomponent.c.

References deletestorageval(), noErr, and osageterror().

Referenced by newcomponentglobals(), osaCompileExecute(), and osaLoadExecute().

Here is the call graph for this function:

pascal OSAError osaDoScript hdlcomponentglobals  ,
const AEDesc ,
OSAID  ,
DescType  ,
long  ,
AEDesc
 

Definition at line 4283 of file osacomponent.c.

References tyvaluedata::codevalue, tyvaluerecord::data, disposetmpvalue(), langdisposetree(), long, noErr, osacompiledesc(), osagetcontext(), osageterror(), osahandlerunscript(), osaScriptError(), and storagevaltodesc().

Referenced by newcomponentglobals(), and osaRunSharedMenuItem().

Here is the call graph for this function:

boolean osafindclienteventfilter long  ,
long
 

Definition at line 5846 of file osacomponent.c.

References tycomponentglobals::hnext, long, and nil.

Referenced by sharedmenuidleproc().

OSAError osageterror void   ) 
 

Definition at line 1165 of file osacomponent.c.

References getoserror(), and noErr.

Referenced by osaCoerceFromDesc(), osaCoerceToDesc(), osaCompile(), osacompiledesc(), osaDisplay(), osaDispose(), osaDoEvent(), osaDoScript(), osaerrormessage(), osaExecute(), osaExecuteEvent(), osaGetSource(), osahandleevent(), osaLoad(), osaRunSharedMenuItem(), and osaStartRecording().

Here is the call graph for this function:

pascal OSAError osaSetActiveProc hdlcomponentglobals  ,
OSAActiveUPP  ,
long 
 

Definition at line 2933 of file osacomponent.c.

References tycomponentglobals::activeproc, and noErr.

Referenced by newcomponentglobals(), and osaRunSharedMenuItem().

THz osasetclientzone hdlcomponentglobals   ) 
 

Definition at line 1720 of file osacomponent.c.

Referenced by CheckFormulas(), GetSharedMenus(), handlerecordableevent(), osabackgroundtask(), osacreateevent(), osadebugger(), osahandleevent(), osahandlerunscript(), osaRunSharedMenuItem(), osasendevent(), and sendrecordedtextevent().

THz osasethomezone hdlcomponentglobals   ) 
 

Definition at line 1695 of file osacomponent.c.

References homezone.

Referenced by CheckFormulas(), GetSharedMenus(), and osaRunSharedMenuItem().

pascal OSAError osaSetSendProc hdlcomponentglobals  ,
OSASendUPP  ,
long 
 

Definition at line 2948 of file osacomponent.c.

References nil, noErr, and osadefaultsendUPP.

Referenced by newcomponentglobals(), and osaRunSharedMenuItem().


Generated on Fri Jun 9 21:04:48 2006 for frontierkernel 10.1.10a by  doxygen 1.4.6