|
From: <cre...@us...> - 2006-06-24 01:25:40
|
Revision: 1406 Author: creecode Date: 2006-06-23 18:25:36 -0700 (Fri, 23 Jun 2006) ViewCVS: http://svn.sourceforge.net/frontierkernel/?rev=1406&view=rev Log Message: ----------- FSRef-ized Modified Paths: -------------- Frontier/branches/FSRef_Migration/Common/source/claycallbacks.c Modified: Frontier/branches/FSRef_Migration/Common/source/claycallbacks.c =================================================================== --- Frontier/branches/FSRef_Migration/Common/source/claycallbacks.c 2006-06-24 01:14:06 UTC (rev 1405) +++ Frontier/branches/FSRef_Migration/Common/source/claycallbacks.c 2006-06-24 01:25:36 UTC (rev 1406) @@ -282,8 +282,12 @@ #if filebrowser boolean claygetdirid (const tybrowserspec * fsfolder, tybrowserdir *dirid) { + + // + // 2006-06-23 creedon: FSRef-ized + // - CInfoPBRec pb; + FSRefParam pb; if (!getmacfileinfo (fsfolder, &pb)) return (false); @@ -291,7 +295,7 @@ *dirid = pb.dirInfo.ioDrDirID; return (true); - } /*claygetdirid*/ + } // claygetdirid #endif @@ -745,21 +749,26 @@ boolean claygetfilename (const tybrowserspec *pfs, bigstring name) { - -#if filebrowser - - return (filegetfilename (pfs, name)); - -#endif -#if odbbrowser + // + // 2006-06-23 creedon: FSRef-ized + // - copystring ((*pfs).name, name); + #if filebrowser + + return (getfsfile (pfs, name)); + + #endif - return (true); + #if odbbrowser + + copystring ((*pfs).name, name); + + return (true); + + #endif -#endif - } /*claygetfilename*/ + } // claygetfilename boolean clayrenamefile (tybrowserspec *fs, hdlheadrecord headnode) { This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |