//
//  ASWUserDefaults.h
//  WireTapPro2
//
//  Created by Dominic Feira on 5/11/06.
//  Copyright 2006 __MyCompanyName__. All rights reserved.
//

@interface NSUserDefaults (ASWUserDefaults_Category) 

- (id)objectForKey:(NSString *)defaultName initialValue:(id)value;
- (NSString *)stringForKey:(NSString *)defaultName initialValue:(NSString *)value;
- (NSArray *)arrayForKey:(NSString *)defaultName initialValue:(NSArray *)value;
- (NSDictionary *)dictionaryForKey:(NSString *)defaultName initialValue:(NSDictionary *)value;
- (NSData *)dataForKey:(NSString *)defaultName initialValue:(NSData *)value;
- (NSArray *)stringArrayForKey:(NSString *)defaultName initialValue:(NSArray *)value;
- (NSInteger)integerForKey:(NSString *)defaultName initialValue:(NSInteger)value;
- (float)floatForKey:(NSString *)defaultName initialValue:(float)value;
- (BOOL)boolForKey:(NSString *)defaultName initialValue:(BOOL)value;

- (void)setPoint:(NSPoint)value forKey:(NSString *)defaultName;
- (NSPoint)pointForKey:(NSString *)defaultName;
- (NSPoint)pointForKey:(NSString *)defaultName initialValue:(NSPoint)value;

- (void)setSize:(NSSize)value forKey:(NSString *)defaultName;
- (NSSize)sizeForKey:(NSString *)defaultName;
- (NSSize)sizeForKey:(NSString *)defaultName initialValue:(NSSize)value;

- (void)setRect:(NSRect)value forKey:(NSString *)defaultName;
- (NSRect)rectForKey:(NSString *)defaultName;
- (NSRect)rectForKey:(NSString *)defaultName initialValue:(NSRect)value;

- (void)setColor:(NSColor *)aColor forKey:(NSString *)defaultName;
- (NSColor *)colorForKey:(NSString *)defaultName;
- (NSColor *)colorForKey:(NSString *)defaultName initialValue:(NSColor *)value;

@end
