|
From: Karsten W. <kar...@us...> - 2006-01-31 16:48:10
|
Update of /cvsroot/frontierkernel/Frontier/FrontierSDK/Toolkits/IACTools/Source In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv1316/IACTools/Source Modified Files: Tag: pre_int64_branch iacapps.c iacasynch.c Log Message: initial checkin from private sandbox Index: iacapps.c =================================================================== RCS file: /cvsroot/frontierkernel/Frontier/FrontierSDK/Toolkits/IACTools/Source/iacapps.c,v retrieving revision 1.4 retrieving revision 1.4.6.1 diff -C2 -d -r1.4 -r1.4.6.1 *** iacapps.c 11 Jan 2005 22:48:36 -0000 1.4 --- iacapps.c 31 Jan 2006 16:47:55 -0000 1.4.6.1 *************** *** 109,115 **** ! static pascal OSErr CoerceTargetIDToType (DescType typecode, Ptr dataptr, Size datasize, DescType totype, long refcon, AEDesc *result) { ! ! #pragma unused (typecode, datasize, totype) TargetID target; --- 109,122 ---- ! static pascal OSErr ! CoerceTargetIDToType ( ! DescType typecode, ! Ptr dataptr, ! Size datasize, ! DescType totype, ! long refcon, ! AEDesc *result) ! { ! #pragma unused (typecode, datasize, totype, refcon) TargetID target; *************** *** 267,276 **** */ ! long gestaltAppleEventsPresent; ! if (Gestalt (gestaltAppleEventsAttr, &gestaltAppleEventsPresent) != noErr) return (false); ! return (gestaltAppleEventsPresent != 0); } /*IAChaveappleevents*/ --- 274,283 ---- */ ! long gestaltAEPresent; // kw - 2006-01-30 --- renamed due to shadow warning ! if (Gestalt (gestaltAppleEventsAttr, &gestaltAEPresent) != noErr) return (false); ! return (gestaltAEPresent != 0); } /*IAChaveappleevents*/ Index: iacasynch.c =================================================================== RCS file: /cvsroot/frontierkernel/Frontier/FrontierSDK/Toolkits/IACTools/Source/iacasynch.c,v retrieving revision 1.3 retrieving revision 1.3.6.1 diff -C2 -d -r1.3 -r1.3.6.1 *** iacasynch.c 11 Jan 2005 22:48:36 -0000 1.3 --- iacasynch.c 31 Jan 2006 16:47:55 -0000 1.3.6.1 *************** *** 30,35 **** ! static Boolean IACaddreplyhandler (tyAsynchCallback callback, long id) { ! short i; --- 30,38 ---- ! static Boolean ! IACaddreplyhandler ( ! tyAsynchCallback pcallback, // kw - 2006-01-30 --- renamed due to shadow warning ! long id) ! { short i; *************** *** 40,44 **** replyhandlers [i].id = id; ! replyhandlers [i].callback = callback; return (true); --- 43,47 ---- replyhandlers [i].id = id; ! replyhandlers [i].callback = pcallback; return (true); *************** *** 51,55 **** static pascal OSErr IAChandleanswer (AppleEvent *event, AppleEvent *reply, long refcon) { ! long replyid; short i; --- 54,59 ---- static pascal OSErr IAChandleanswer (AppleEvent *event, AppleEvent *reply, long refcon) { ! #pragma unused (reply, refcon) ! long replyid; short i; *************** *** 89,94 **** ! Boolean IACsendasynch (AppleEvent *event, tyAsynchCallback callback) { ! AppleEvent reply; OSErr ec; --- 93,101 ---- ! Boolean ! IACsendasynch ( ! AppleEvent *event, ! tyAsynchCallback pcallback) ! { AppleEvent reply; OSErr ec; *************** *** 101,115 **** return (false); ! if (callback != nil) { /*DW 7/30/93*/ ! if (!IACaddreplyhandler (callback, replyid)) return (false); } ec = AESend ( ! ! event, &reply, kAEQueueReply + kAECanInteract + kAECanSwitchLayer, ! ! kAENormalPriority, kNoTimeOut, IACwaitroutineUPP, nil); AEDisposeDesc (event); --- 108,125 ---- return (false); ! if (pcallback != nil) { /*DW 7/30/93*/ ! if (!IACaddreplyhandler (pcallback, replyid)) return (false); } ec = AESend ( ! event, ! &reply, ! kAEQueueReply + kAECanInteract + kAECanSwitchLayer, ! kAENormalPriority, ! kNoTimeOut, ! IACwaitroutineUPP, ! nil); AEDisposeDesc (event); |