//
//  BISlipTemplateWindow.h
//  BIViews
//
//  Created by Eric Hochmeister on 17/06/05.
//  Copyright 2005 __MyCompanyName__. All rights reserved.
//

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

@class BISlipTemplate;
@class BIAbstractSlipTemplateSubcard;

@interface BISlipTemplateWindow : MCWindowController {

	BISlipTemplate* _slipTemplate;
	
	IBOutlet NSView* _templateSubview;
	BIAbstractSlipTemplateSubcard* view;
	
	BOOL _createSlipTemplateFlag;
	
	NSArray* _slipTypes;
	
}

- (BISlipTemplate *)slipTemplate;
- (void)setSlipTemplate:(BISlipTemplate *)aSlipTemplate;
- (BOOL)createSlipTemplateFlag;
- (void)setCreateSlipTemplateFlag:(BOOL)flag;
- (NSArray *)slipTypes;
- (void)setSlipTypes:(NSArray *)aSlipTypes;


- (void)setupWithSlipTemplate:(BISlipTemplate*)aTemplate;
- (void)loadSubcard;
- (IBAction)saveTemplate:(id)sender;
- (IBAction)cancel:(id)sender;

- (IBAction)help:(id)sender;

@end
