osamenus.h

Go to the documentation of this file.
00001 
00002 /*  $Id: osamenus.h 355 2005-01-11 22:48:55Z andreradke $    */
00003 
00004 /******************************************************************************
00005 
00006     UserLand Frontier(tm) -- High performance Web content management,
00007     object database, system-level and Internet scripting environment,
00008     including source code editing and debugging.
00009 
00010     Copyright (C) 1992-2004 UserLand Software, Inc.
00011 
00012     This program is free software; you can redistribute it and/or modify
00013     it under the terms of the GNU General Public License as published by
00014     the Free Software Foundation; either version 2 of the License, or
00015     (at your option) any later version.
00016 
00017     This program is distributed in the hope that it will be useful,
00018     but WITHOUT ANY WARRANTY; without even the implied warranty of
00019     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00020     GNU General Public License for more details.
00021 
00022     You should have received a copy of the GNU General Public License
00023     along with this program; if not, write to the Free Software
00024     Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
00025 
00026 ******************************************************************************/
00027 
00028 #define osamenusinclude
00029 
00030 #ifndef __APPLEEVENTS__
00031 
00032     #include <AppleEvents.h>
00033 
00034 #endif
00035 
00036 #ifndef windowsharinginclude
00037 
00038     // #include <uisharing.h>
00039     // #include <uisinternal.h>
00040     
00041     #define msComponentType 'SHMN'
00042     #define msComponentSubType 0
00043     
00044     #define msInitSharedMenusCommand 0x2001 
00045     #define msSharedMenuHitCommand 0x2002
00046     #define msSharedScriptRunningCommand 0x2003
00047     #define msCancelSharedScriptCommand 0x2004
00048     #define msCheckSharedMenusCommand 0x2005
00049     #define msDisposeSharedMenusCommand 0x2007
00050     #define msIsSharedMenuCommand 0x2008
00051     #define msEnableSharedMenusCommand 0x2009
00052     #define msRunSharedMenuItemCommand 0x200A
00053     #define msSetScriptErrorCallbackCommand 0x200B
00054     #define msSetEventFilterCallbackCommand 0x200C
00055     #define msSetMenusInserterCallbackCommand 0x200D
00056     #define msSetMenusRemoverCallbackCommand 0x200E
00057     #define msDirtySharedMenusCommand 0x200F
00058     
00059 
00060 #endif
00061 
00062 
00063 #define __MENUSHARING__ /*so other modules can tell that we've been included*/
00064 
00065 
00066 /*routines shared between osamenus.c and osacomponent.c*/
00067 
00068 extern OSAError osageterror (void); /*osacomponent.c*/
00069 
00070 extern THz osasethomezone (hdlcomponentglobals);
00071     
00072 extern THz osasetclientzone (hdlcomponentglobals);
00073 
00074 extern pascal OSErr osadefaultactiveproc (long);
00075 
00076 extern pascal OSAError osaDispose (hdlcomponentglobals, OSAID);
00077 
00078 extern pascal OSAError osaSetActiveProc (hdlcomponentglobals, OSAActiveUPP, long);
00079 
00080 extern pascal OSAError osaSetSendProc (hdlcomponentglobals, OSASendUPP, long);
00081 
00082 extern pascal OSAError osaCompileExecute (hdlcomponentglobals, const AEDesc *, OSAID, long, OSAID *);
00083 
00084 extern pascal OSAError osaDoScript (hdlcomponentglobals, const AEDesc *, OSAID, DescType, long, AEDesc *);
00085 
00086 extern boolean osafindclienteventfilter (long, long *);
00087 
00088 
00089 extern boolean initmenusharingcomponent (void); /*osamenus.c*/
00090 
00091 
00092 
00093 

Generated on Wed May 31 18:19:58 2006 for frontierkernel 10.1.10a by  doxygen 1.4.6