mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-30 16:30:41 +00:00
Updates for 10.5 API changes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@27962 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
845a701069
commit
24d43481a8
138 changed files with 2094 additions and 1536 deletions
|
@ -107,40 +107,7 @@ GS_EXPORT NSString *NSHomeDirectory(void);
|
|||
GS_EXPORT NSString *NSHomeDirectoryForUser(NSString *loginName);
|
||||
|
||||
#if OS_API_VERSION(GS_API_MACOSX, GS_API_LATEST)
|
||||
/**
|
||||
* Enumeration of possible requested directory type specifiers for
|
||||
* NSSearchPathForDirectoriesInDomains() function. On a traditional
|
||||
* GNUstep filesystem layout these correspond to the subdirectories
|
||||
* that may be found in the various domains, such as "Library"
|
||||
* and "Applications". In a different filesystem layout these
|
||||
* directories might be located anywhere on disk.
|
||||
<example>
|
||||
{
|
||||
NSApplicationDirectory,
|
||||
NSDemoApplicationDirectory,
|
||||
NSDeveloperApplicationDirectory,
|
||||
NSAdminApplicationDirectory,
|
||||
NSLibraryDirectory,
|
||||
NSDeveloperDirectory,
|
||||
NSUserDirectory,
|
||||
NSDocumentationDirectory,
|
||||
NSDocumentDirectory,
|
||||
NSCoreServiceDirectory,
|
||||
NSDesktopDirectory,
|
||||
NSCachesDirectory,
|
||||
NSApplicationSupportDirectory
|
||||
NSAllApplicationsDirectory,
|
||||
NSAllLibrariesDirectory,
|
||||
GSLibrariesDirectory,
|
||||
GSToolsDirectory,
|
||||
GSAdminToolsDirectory,
|
||||
GSFontsDirectory,
|
||||
GSFrameworksDirectory,
|
||||
GSWebApplicationsDirectory
|
||||
}
|
||||
</example>
|
||||
*/
|
||||
typedef enum
|
||||
enum
|
||||
{
|
||||
NSApplicationDirectory = 1, /** Applications */
|
||||
NSDemoApplicationDirectory, /** Demos */
|
||||
|
@ -178,21 +145,56 @@ typedef enum
|
|||
GSFrameworksDirectory, /** frameworks */
|
||||
GSWebApplicationsDirectory, /** web applications (GSWeb or SOPE) */
|
||||
GSAdminToolsDirectory /** admin non-gui programs */
|
||||
} NSSearchPathDirectory;
|
||||
|
||||
};
|
||||
/**
|
||||
* Mask type for NSSearchPathForDirectoriesInDomains() function. A bitwise OR
|
||||
* of one or more of <code>NSUserDomainMask, NSLocalDomainMask,
|
||||
* NSNetworkDomainMask, NSSystemDomainMask, NSAllDomainsMask</code>.
|
||||
* Enumeration of possible requested directory type specifiers for
|
||||
* NSSearchPathForDirectoriesInDomains() function. On a traditional
|
||||
* GNUstep filesystem layout these correspond to the subdirectories
|
||||
* that may be found in the various domains, such as "Library"
|
||||
* and "Applications". In a different filesystem layout these
|
||||
* directories might be located anywhere on disk.
|
||||
<example>
|
||||
{
|
||||
NSApplicationDirectory,
|
||||
NSDemoApplicationDirectory,
|
||||
NSDeveloperApplicationDirectory,
|
||||
NSAdminApplicationDirectory,
|
||||
NSLibraryDirectory,
|
||||
NSDeveloperDirectory,
|
||||
NSUserDirectory,
|
||||
NSDocumentationDirectory,
|
||||
NSDocumentDirectory,
|
||||
NSCoreServiceDirectory,
|
||||
NSDesktopDirectory,
|
||||
NSCachesDirectory,
|
||||
NSApplicationSupportDirectory
|
||||
NSAllApplicationsDirectory,
|
||||
NSAllLibrariesDirectory,
|
||||
GSLibrariesDirectory,
|
||||
GSToolsDirectory,
|
||||
GSAdminToolsDirectory,
|
||||
GSFontsDirectory,
|
||||
GSFrameworksDirectory,
|
||||
GSWebApplicationsDirectory
|
||||
}
|
||||
</example>
|
||||
*/
|
||||
typedef enum
|
||||
typedef NSUInteger NSSearchPathDirectory;
|
||||
|
||||
enum
|
||||
{
|
||||
NSUserDomainMask = 1, /** The user's personal items */
|
||||
NSLocalDomainMask = 2, /** Local for all users on the machine */
|
||||
NSNetworkDomainMask = 4, /** Public for all users on network */
|
||||
NSSystemDomainMask = 8, /** Standard GNUstep items */
|
||||
NSAllDomainsMask = 0x0ffff, /** all domains */
|
||||
} NSSearchPathDomainMask;
|
||||
};
|
||||
/**
|
||||
* Mask type for NSSearchPathForDirectoriesInDomains() function. A bitwise OR
|
||||
* of one or more of <code>NSUserDomainMask, NSLocalDomainMask,
|
||||
* NSNetworkDomainMask, NSSystemDomainMask, NSAllDomainsMask</code>.
|
||||
*/
|
||||
typedef NSUInteger NSSearchPathDomainMask;
|
||||
|
||||
/**
|
||||
* Returns an array of search paths to look at for resources.<br/ >
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue