|
From: Andre R. <and...@us...> - 2004-10-23 21:23:17
|
Update of /cvsroot/frontierkernel/Frontier/FrontierSDK/Toolkits/IACTools/Source In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv20009/Frontier/FrontierSDK/Toolkits/IACTools/Source Modified Files: iacnetwork.c Log Message: Sanitized global includes. Include frontier.h in all source files. Move inclusion of system header files into osincludes.h. Index: iacnetwork.c =================================================================== RCS file: /cvsroot/frontierkernel/Frontier/FrontierSDK/Toolkits/IACTools/Source/iacnetwork.c,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** iacnetwork.c 9 Oct 2004 03:11:13 -0000 1.1 --- iacnetwork.c 23 Oct 2004 21:23:08 -0000 1.2 *************** *** 3,8 **** #include <appletdefs.h> - #include <Script.h> #include "iac.h" --- 3,10 ---- + #include "frontier.h" + #include "standard.h" + #include <appletdefs.h> #include "iac.h" *************** *** 27,30 **** --- 29,34 ---- + #if TARGET_API_MAC_OS8 + static OSErr HCProgramToPortAndLoc (char *theName, short len, LocationNameRec *theLoc, PortInfoRec *thePort) { *************** *** 173,177 **** to attempt to verify that something has actually been found */ ! LocationNameRec loc; PortInfoRec port; --- 177,181 ---- to attempt to verify that something has actually been found */ ! LocationNameRec loc; PortInfoRec port; *************** *** 203,206 **** --- 207,226 ---- } /*string2networkaddress*/ + #else + + static pascal Boolean string2networkaddress (ConstStr255Param bsadr, TargetID *target) { + + /* + 2004-10-21 aradke: Can't do this on Carbon, give up and return bogus error + */ + + IACglobals.errorcode = noResponseErr; + + return (false); + + } /*string2networkaddress*/ + + #endif + Boolean IACnewnetworkverb (ConstStr255Param bsadr, OSType vclass, OSType vtoken, AppleEvent *event) { |