langipc.h

Go to the documentation of this file.
00001 
00002 /*  $Id: langipc.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 langipcinclude
00029 
00030 
00031 #ifndef langinclude
00032 
00033     #include "lang.h"
00034 
00035 #endif
00036 
00037 #ifndef __APPLEEVENTS__
00038 
00039     #include <AppleEvents.h>
00040 
00041 #endif
00042 
00043 /*types*/
00044 
00045 typedef short tyipcmessageflags;
00046 
00047 
00048 enum { /*ipcmessageflags*/
00049     
00050     normalmsg = 0,
00051     
00052     noreplymsg = 0x01,
00053     
00054     transactionmsg = 0x02,
00055     
00056     microsoftmsg = 0x04,
00057     
00058     systemmsg = 0x08
00059     };
00060 
00061 
00062 /*globals*/
00063 
00064 #ifndef THINK_C
00065 
00066     extern typrocessid langipcself;
00067 
00068 #endif
00069 
00070 
00071 /*prototypes*/
00072 
00073 extern boolean langipcerrorroutine (bigstring, ptrvoid); /*langipc.c*/
00074 
00075 extern boolean setdescriptorvalue (AEDesc, tyvaluerecord *);
00076 
00077 extern boolean valuetodescriptor (tyvaluerecord *, AEDesc *);
00078 
00079 #ifdef landinclude
00080 
00081 extern boolean langipcbuildparamlist (hdltreenode, hdlverbrecord, hdltreenode *);
00082 
00083 extern boolean langipcpushparam (tyvaluerecord *, typaramkeyword, hdlverbrecord);
00084 
00085 #endif
00086 
00087 extern boolean langipcfindapptable (OSType , boolean, hdlhashtable *, bigstring);
00088 
00089 extern boolean langipcbrowsenetwork (hdltreenode, tyvaluerecord *);
00090 
00091 extern boolean langipcsettimeout (hdltreenode, tyvaluerecord *);
00092 
00093 extern boolean langipcsettransactionid (hdltreenode, tyvaluerecord *);
00094 
00095 extern boolean langipcsetinteractionlevel (hdltreenode, tyvaluerecord *);
00096 
00097 extern boolean langipcgeteventattr (hdltreenode, tyvaluerecord *);
00098 
00099 extern boolean langipccoerceappleitem (hdltreenode, tyvaluerecord *);
00100 
00101 extern boolean langipcapprunning (hdltreenode, tyvaluerecord *);
00102 
00103 extern boolean langipcgetaddressvalue (hdltreenode, tyvaluerecord *);
00104 
00105 extern void binarytodesc (Handle, AEDesc *);
00106 
00107 extern boolean langipcconvertoplist (const tyvaluerecord *, AEDesc *);
00108 
00109 extern boolean langipcconvertaelist (const AEDesc *, tyvaluerecord *);
00110 
00111 extern boolean langipcputlistitem (hdltreenode, tyvaluerecord *);
00112 
00113 extern boolean langipcgetlistitem (hdltreenode, tyvaluerecord *);
00114 
00115 extern boolean langipccountlistitems (hdltreenode, tyvaluerecord *);
00116 
00117 extern boolean newselfaddressedevent (AEEventID id, AppleEvent *event);
00118 
00119 extern boolean langipcmessage (hdltreenode, tyipcmessageflags, tyvaluerecord *);
00120 
00121 extern boolean langipccomplexmessage (hdltreenode, tyvaluerecord *);
00122 
00123 extern boolean langipctablemessage (hdltreenode, tyvaluerecord *);
00124 
00125 extern boolean langipcbuildsubroutineevent (AppleEvent *, bigstring, hdltreenode);
00126 
00127 extern boolean langipchandlercall (hdltreenode, bigstring, hdltreenode, tyvaluerecord *);
00128 
00129 extern boolean langipckernelfunction (hdlhashtable, bigstring, hdltreenode, tyvaluerecord *);
00130 
00131 extern boolean langipcshowmenunode (long);
00132 
00133 extern boolean langipcnoop (void);
00134 
00135 extern boolean langipcstart (void);
00136 
00137 extern void langipcshutdown (void);
00138 
00139 extern boolean langipcinit (void);
00140 
00141 
00142 extern boolean langipcgetmenuhandle (OSType, short, Handle *); /*langipcmenus.c*/
00143 
00144 #ifdef flnewfeatures
00145 
00146 extern boolean langipcgetitemlangtext (long, short, short, Handle *, long *);
00147 
00148 extern boolean langipccheckformulas (long);
00149 
00150 extern void langipcdisposemenuarray (long, Handle);
00151 
00152 #endif
00153 
00154 extern boolean langipcrunitem (long, short, short, long *);
00155 
00156 extern boolean langipckillscript (long);
00157 
00158 extern boolean langipcgetmenuarray (long, short, boolean, Handle *);
00159 
00160 extern boolean langipcmenustartup (void);
00161 
00162 extern boolean langipcmenushutdown (void);
00163 
00164 extern boolean langipcsymbolchanged (hdlhashtable, const bigstring, boolean);
00165 
00166 extern boolean langipcsymbolinserted (hdlhashtable, const bigstring);
00167 
00168 extern boolean langipcsymboldeleted (hdlhashtable, const bigstring);
00169 
00170 extern boolean langipcmenuinit (void);
00171 
00172 
00173 
00174 

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