//
//  FBCalDAVPasswordPrompt.h
//  FBCalDAV
//
//  Created by Kent Sutherland on 1/11/11.
//  Copyright 2011 Kent Sutherland. All rights reserved.
//

#import <Cocoa/Cocoa.h>

@class FBCalDAVAccount;

@interface FBCalDAVPasswordPrompt : NSWindowController {
    NSTextField *promptTextField_;
    NSSecureTextField *passwordTextField_;
    NSButton *keychainCheckbox_;
    
    FBCalDAVAccount *account_;
}

@property(nonatomic, assign) IBOutlet NSTextField *promptTextField;
@property(nonatomic, assign) IBOutlet NSSecureTextField *passwordTextField;
@property(nonatomic, assign) IBOutlet NSButton *keychainCheckbox;
@property(nonatomic, retain) FBCalDAVAccount *account;

+ (NSString *)runModalForAccount:(FBCalDAVAccount *)account;

- (IBAction)cancel:(id)sender;
- (IBAction)ok:(id)sender;

@end
