//
//  BIAddNoteWindow.h
//  BIViews
//
//  Created by Eric Hochmeister on 31/03/05.
//  Copyright 2005 __MyCompanyName__. All rights reserved.
//

#import <Cocoa/Cocoa.h>
#import <MCApplication/MCWindowController.h>

@class BIProject;
@class BIClient;

@interface BIAddNoteWindow : MCWindowController {

	BIProject* _project;  // selected project
	NSArray   *_projects; // projects to populate the popup with
	
	IBOutlet NSTextField* _nameField;
	IBOutlet NSTextView* _contentsField;
	IBOutlet NSPopUpButton* _projectPopUpList;
	IBOutlet NSObjectController* _clientController;
}

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

- (BIProject *)project;
- (void)setProject:(BIProject *)aProject;
- (NSArray *)projects;
- (void)setProjects:(NSArray *)aProjects;

- (IBAction)help:(id)sender;

@end
