uisinternal.h

Go to the documentation of this file.
00001 
00002 /*  $Id: uisinternal.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 uisinternalinclude
00029 
00030 
00031 #ifndef __COMPONENTS__
00032     
00033     #include <Components.h>
00034 
00035 #endif
00036 
00037 
00038 #ifndef uisharinginclude
00039 
00040     #include <uisharing.h>
00041     
00042 #endif
00043 
00044 
00045 /*window sharing stuff -- for communication with Iowa Runtime component and others*/
00046 
00047     #define wsInterfaceVersion 0x00010001
00048 
00049     #define wsComponentType 'SHUI'
00050     
00051     #ifdef iowaRuntimeInApp
00052         #define wsComponentSubType 'TEST' 
00053     #else   
00054         #define wsComponentSubType 'WIND' 
00055     #endif
00056     
00057     #define wsStubStartCommand 1 
00058     #define wsRecalcObjectCommand 2
00059     #define wsUnusedCommand 3
00060     #define wsRunFromHandleCommand 4
00061     #define wsRunModalHandleCommand 5 
00062     #define wsEventHandlerCommand 6
00063     #define wsWindowIsCardCommand 7
00064     #define wsCloseWindowCommand 8
00065     #define wsSetObjectValueCommand 9
00066     #define wsGetObjectValueCommand 10
00067     #define wsGetObjectHandleCommand 11
00068     #define wsUpdateCommand 12
00069     #define wsEditCommand 13
00070 
00071     typedef struct tyWindowSharingGlobals {
00072         
00073         ComponentInstance windowserver;
00074     
00075         OSErr errorcode; /*a copy of the system error code after a ws call*/
00076         
00077         Boolean flcloseallwindows; /*true when server gets an option-click in a window's close box*/
00078         } tyWindowSharingGlobals;
00079     
00080     extern tyWindowSharingGlobals wsGlobals;
00081 
00082 
00083 /*menu sharing stuff -- for communication with the Frontier 2.1 OSA component*/
00084 
00085     #define msComponentType 'SHMN'
00086     #define msComponentSubType 0
00087     
00088     #define msInitSharedMenusCommand 0x2001 
00089     #define msSharedMenuHitCommand 0x2002
00090     #define msSharedScriptRunningCommand 0x2003
00091     #define msCancelSharedScriptCommand 0x2004
00092     #define msCheckSharedMenusCommand 0x2005
00093     #define msDisposeSharedMenusCommand 0x2007
00094     #define msIsSharedMenuCommand 0x2008
00095     #define msEnableSharedMenusCommand 0x2009
00096     #define msRunSharedMenuItemCommand 0x200A
00097     #define msSetScriptErrorCallbackCommand 0x200B
00098     #define msSetIdleProcCallbackCommand 0x200C
00099 
00100     typedef struct tyMenuSharingGlobals { 
00101     
00102         ComponentInstance menuserver; 
00103         
00104         short idinsertafter;
00105         } tyMenuSharingGlobals;
00106 
00107     extern tyMenuSharingGlobals msGlobals;
00108     

Generated on Wed May 31 18:20:03 2006 for frontierkernel 10.1.10a by  doxygen 1.4.6