|
From: <cre...@us...> - 2006-06-24 01:07:02
|
Revision: 1404 Author: creecode Date: 2006-06-23 18:06:58 -0700 (Fri, 23 Jun 2006) ViewCVS: http://svn.sourceforge.net/frontierkernel/?rev=1404&view=rev Log Message: ----------- FSRef-ized Modified Paths: -------------- Frontier/branches/FSRef_Migration/Common/source/appletglue.c Modified: Frontier/branches/FSRef_Migration/Common/source/appletglue.c =================================================================== --- Frontier/branches/FSRef_Migration/Common/source/appletglue.c 2006-06-24 01:00:11 UTC (rev 1403) +++ Frontier/branches/FSRef_Migration/Common/source/appletglue.c 2006-06-24 01:06:58 UTC (rev 1404) @@ -188,18 +188,20 @@ boolean assureappisrunning (OSType serverid, boolean flbringtofront) { - /* - if the application whose creator id is serverid is running, return true. + // + // 2006-06-23 creedon: replaced FSSpec with tyfilespec + // + // if the application whose creator id is serverid is running, return true. + // + // if not, we look for the application and try to launch it. we wait until it's actually running and ready to receive Apple + // Events. + // - if not, we look for the application and try to launch it. we wait until it's - actually running and ready to receive Apple Events. - */ - bigstring appname; typrocessid psn; - FSSpec fs; + tyfilespec fs; - if (findrunningapplication (&serverid, appname, &psn)) /*already running, nothing to do*/ + if (findrunningapplication (&serverid, appname, &psn)) // already running, nothing to do return (true); if (!findapplication (serverid, &fs)) @@ -209,9 +211,10 @@ return (false); return (true); - } /*assureappisrunning*/ + } // assureappisrunning + boolean pushhandleonhandle (Handle hsource, Handle hdest) { return (pushhandle (hsource, hdest)); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |