00001
00002
00003
00004
00005
00006
00007
00008
00009 #import <Cocoa/Cocoa.h>
00010
00011
00012 @interface LLPersistantSettings : NSObject {
00013 NSMutableDictionary *settings;
00014 NSString *pathToSettings;
00015 }
00016
00017 + (LLPersistantSettings*) defaultSettings;
00018 - (void)update;
00019 - (void)removeAllObjects;
00020 - (void)removeObjectForKey:(id)aKey;
00021 - (void)setObject:(id)anObject forKey:(id)aKey;
00022 - (void)setValue:(id)value forKey:(NSString *)key;
00023 - (void)setLazyObject:(id)anObject forKey:(id)aKey;
00024 - (void)setLazyValue:(id)value forKey:(NSString *)key;
00025 - (NSArray *)allKeys;
00026 - (NSArray *)allValues;
00027 - (unsigned)count;
00028 - (NSEnumerator *)keyEnumerator;
00029 - (NSEnumerator *)objectEnumerator;
00030 - (id)objectForKey:(id)aKey;
00031 - (id)valueForKey:(NSString *)key;
00032
00033 @end