Added MYWindowUtils, being used by Murky.
5 // Created by Jens Alfke on 7/16/08.
6 // Copyright 2008 Jens Alfke. All rights reserved.
9 #import <Cocoa/Cocoa.h>
10 @class MYAddressItem, ABPerson;
13 @interface MYAddressField : NSComboBox
15 NSString *_property, *_prefix;
16 NSMutableArray *_addresses;
17 NSArray *_defaultAddresses;
18 MYAddressItem *_selectedAddress;
21 @property (getter=isExpanded) BOOL expanded;
23 @property (copy) NSString *addressProperty;
24 @property (copy) NSArray *defaultAddresses;
26 @property (readonly,retain) MYAddressItem* selectedAddress;
32 @interface MYAddressItem : NSObject
34 NSString *_name, *_addressType, *_address, *_uuid;
36 - (id) initWithName: (NSString*)name
37 addressType: (NSString*)addressType address: (NSString*)address;
38 - (id) initWithPerson: (ABPerson*)person
39 addressType: (NSString*)addressType address: (NSString*)address;
40 - (id) initWithString: (NSString*)str addressType: (NSString*)addressType;
41 @property (readonly) NSString *name, *addressType, *address;
42 @property (readonly) ABPerson *person;