/* ecPanelController */

#import <Cocoa/Cocoa.h>

@interface ecPanelController : NSWindowController
{
    IBOutlet NSButton * __weak altBtn;
    IBOutlet NSButton * __weak defBtn;
    IBOutlet NSTextField * __weak msgText;
    IBOutlet NSButton * __weak othBtn;
    IBOutlet NSImageCell * __weak msgIcon;

	int m_resultCode;
}
- (IBAction)doAltBtn:(id)sender;
- (IBAction)doDefBtn:(id)sender;
- (IBAction)doOthBtn:(id)sender;

- (void)done;
- (void)setResultCode:(int)code;
- (int)resultCode;
- (void)setTitle:(NSString *)str;
- (void)setMessage:(NSString *)str;
- (void)setAltBtnText:(NSString *)str;
- (void)setDefBtnText:(NSString *)str;
- (void)setOthBtnText:(NSString *)str;
- (int)showSheetOnWindow:(NSWindow *)win title:(NSString *)title msg:(NSString *)msg
			defBtn:(NSString *)def altBtn:(NSString *)alt othBtn:(NSString *)oth;
@end
