//
//  Loader.h
//  TestStraightCocoa
//
//  Created by aj on Mon Jul 02 2001.
//  Copyright (c) 2001 __CompanyName__. All rights reserved.
//

#import <AppKit/AppKit.h>

@class MCSimpleBox;

@interface MCProgressPanel : NSWindowController {

    IBOutlet	NSTextField				*infoField;
    IBOutlet	NSProgressIndicator		*indicator;
	IBOutlet	NSTextField				*appNameField;
	IBOutlet    MCSimpleBox             *box;

}
+ (NSString *)globalInstanceNibName;

+ (MCProgressPanel *)defaultGlobalInstance;
+ (MCProgressPanel *)defaultInstance;

- (void)setupWindowForIndeterminateDisplay;
- (void)setupWindowForDisplayWithTotalIncrements:(int)incr initialMessage:(NSString *)message;
- (void)incrementIndicatorWithMessage:(NSString *)message;
- (void)setMessage: (NSString *)message;
- (void)incrementIndicator;
- (void)setIncrements: (int)increments;
- (void)addToIncrements: (int)more_increments;
- (void)closePanel;
- (void)setProgressValue:(double)value;
- (void)resetForProgressDisplay;

//+ (void)incrementIndicatorWithMessage:(NSString *)message;

- (NSTextField *)infoField;
- (NSProgressIndicator *)indicator;
- (NSTextField *)appNameField;

@end
