//
//  MCIndeterminateProgressPanel.h
//  MCApplication
//
//  Created by Alykhan Jetha on 08/10/04.
//  Copyright 2004 Marketcircle Inc.. All rights reserved.
//

#import <Cocoa/Cocoa.h>


@interface MCIndeterminateProgressPanel : NSWindowController {
	IBOutlet	NSProgressIndicator		*progressIndicator;
	IBOutlet	NSTextField				*progressField;
	
	int retainCount;
	
	NSModalSession session;
}

+ (MCIndeterminateProgressPanel *)sharedIndeterminateProgressPanel;
+ (void)startWithMessage:(NSString *)message positionToMouse:(BOOL)flag;
+ (void)startWithMessage:(NSString *)message positionToMouse:(BOOL)flag incrementRetainCount:(BOOL)retainFlag;
+ (void)startWithMessage:(NSString *)message positionToMouse:(BOOL)flag runAsModalSession:(BOOL)modalFlag;
+ (void)stopAndGoAway;

- (NSProgressIndicator *)progressIndicator;
- (int)retainCount;
- (void)setRetainCount:(int)aRetainCount;

- (NSModalSession)session;
- (void)setSession:(NSModalSession)aSession;
@end
