// Copyright 1997-1999 Omni Development, Inc.  All rights reserved.
//
// This software may only be used and reproduced according to the
// terms in the file OmniSourceLicense.html, which should be
// distributed with this project and can also be found at
// http://www.omnigroup.com/DeveloperResources/OmniSourceLicense.html.
//
// $Header: /Network/Developer/Source/CVS/OmniGroup/OmniAppKit/Widgets.subproj/OAProgressView.h,v 1.8 1999/03/30 21:26:12 kc Exp $

#import <AppKit/NSView.h>

@class NSString;
@class NSColor, NSFont;

@interface OAProgressView : NSView
{
    unsigned int progress;
    unsigned int total;
    struct {
        unsigned int validTotal:1;
        unsigned int validProgress:1;
        unsigned int turnedOff:1;
    } flags;
    NSImage *gaugeImage, *barberImage, *noProgressImage;
}

- (void)turnOff;
    // Turn off the progress view

- (void)processedBytes:(unsigned int)amount;
    // Use NSNotFound for undefined amount
- (void)processedBytes:(unsigned int)amount ofBytes:(unsigned int)total;

@end
