mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-30 08:21:25 +00:00
Updates to reduce global namespace pollution. Plenty more remaining.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@23795 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
4874117588
commit
31342aef09
85 changed files with 1090 additions and 1277 deletions
|
@ -1955,8 +1955,9 @@ static BOOL isLocked = NO;
|
|||
}
|
||||
@end
|
||||
|
||||
NSDictionary*
|
||||
GSUserDefaultsDictionaryRepresentation()
|
||||
@implementation _GSPrivate (UserDefaults)
|
||||
|
||||
+ (NSDictionary*) userDefaultsDictionaryRepresentation
|
||||
{
|
||||
NSDictionary *defs;
|
||||
|
||||
|
@ -1970,11 +1971,7 @@ GSUserDefaultsDictionaryRepresentation()
|
|||
return defs;
|
||||
}
|
||||
|
||||
/*
|
||||
* Get one of several potentially useful flags.
|
||||
*/
|
||||
BOOL
|
||||
GSUserDefaultsFlag(GSUserDefaultFlagType type)
|
||||
+ (BOOL) userDefaultsFlag: (GSUserDefaultFlagType)type
|
||||
{
|
||||
if (sharedDefaults == nil)
|
||||
{
|
||||
|
@ -1982,4 +1979,5 @@ GSUserDefaultsFlag(GSUserDefaultFlagType type)
|
|||
}
|
||||
return flags[type];
|
||||
}
|
||||
@end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue