//
//  BSCDProgressPanelController.m
//  BathyScapheDataConverter
//
//  Created by 堀 昌樹 on 11/11/29.
//  Copyright (c) 2011年 __MyCompanyName__. All rights reserved.
//

#import "BSCDProgressPanelController.h"

@implementation BSCDProgressPanelController

@synthesize inProgress = _inProgress;
@synthesize amount = _amount;
@synthesize count = _count;
@synthesize label = _label;
@synthesize message = _message;

@synthesize progressTime = _progressTime;

- (id)init
{
	return [self initWithWindowNibName:@"BSCDProgressPanel"];
}
- (id)initWithWindow:(NSWindow *)window
{
    self = [super initWithWindow:window];
    if (self) {
        // Initialization code here.
		self.inProgress = YES;
    }
    
    return self;
}

- (NSWindow *)window
{
	NSWindow *window = [super window];
	[window center];
	return window;
}

- (IBAction)cancel:(id)sender
{
	[NSApp abortModal];
}

@end
