|
From: <cre...@us...> - 2006-06-24 01:39:59
|
Revision: 1409 Author: creecode Date: 2006-06-23 18:39:56 -0700 (Fri, 23 Jun 2006) ViewCVS: http://svn.sourceforge.net/frontierkernel/?rev=1409&view=rev Log Message: ----------- FSRef-ized Modified Paths: -------------- Frontier/branches/FSRef_Migration/Common/headers/shelltypes.h Modified: Frontier/branches/FSRef_Migration/Common/headers/shelltypes.h =================================================================== --- Frontier/branches/FSRef_Migration/Common/headers/shelltypes.h 2006-06-24 01:28:19 UTC (rev 1408) +++ Frontier/branches/FSRef_Migration/Common/headers/shelltypes.h 2006-06-24 01:39:56 UTC (rev 1409) @@ -56,29 +56,6 @@ short blue; } diskrgb; -#ifdef NEWFILESPECTYPE - typedef struct newtyfilespec { - - short fileTypeID; - - short lengthOfFileSpecifier; - - long volumeID; - - char fullSpecifier[258]; - - Handle fileSpecifier; - - long macSpecifier; - } tyfilespec, *ptrfilespec, **hdlfilespec; - - #define fsname(fs) (fs)->fullSpecifier - -#else - typedef FSSpec tyfilespec, *ptrfilespec, **hdlfilespec; - - #define fsname(fs) (fs)->name -#endif #ifdef MACVERSION typedef ControlHandle hdlscrollbar; @@ -183,4 +160,60 @@ boolean flbold; /*if displayed, should text style be bold?*/ } tybuttonstatus; + +#ifdef MACVERSION + + typedef struct ExtFSRef { + + FSRef fsref; + CFStringRef path; + + } ExtFSRef, *ExtFSRefPtr, **ExtFSRefHandle; + + typedef ExtFSRef tyfilespec, *ptrfilespec, **hdlfilespec; + + #endif // MACVERSION + + +#ifdef WIN95VERSION + +typedef struct tyfilespec { + + long volumeID; + char fullSpecifier [258]; + + } tyfilespec, *ptrfilespec, **hdlfilespec; + + #define fsname ( fs ) ( fs ) -> fullSpecifier + + #endif // WIN95VERSION + + +/* #ifdef NEWFILESPECTYPE + typedef struct newtyfilespec { + + short fileTypeID; + + short lengthOfFileSpecifier; + + long volumeID; + + char fullSpecifier[258]; + + Handle fileSpecifier; + + long macSpecifier; + } tyfilespec, *ptrfilespec, **hdlfilespec; + + #define fsname(fs) (fs)->fullSpecifier + +#else + typedef FSSpec tyfilespec, *ptrfilespec, **hdlfilespec; + + #define fsname(fs) (fs)->name #endif + +*/ + +#endif + This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |