File:  [mozdev] / chimera / ProgressDlgController.h
Revision 1.5: download - view: text, annotated - select for diffs - revision graph
Mon Feb 4 03:44:35 2002 UTC (17 years, 8 months ago) by hyatt
Branches: MAIN
CVS tags: HEAD
Saving actually works.  Just need to wire up the progress meter and elapsed time stuff.

//  ProgressDlgController.h
//  Chimera
//  Created by David Hyatt on Sat Feb 02 2002.
//  Copyright (c) 2001 __MyCompanyName__. All rights reserved.

#import <AppKit/AppKit.h>

class nsIWebBrowserPersist;
class nsISupports;
class nsIInputStream;
class nsDownloadListener;

@interface ProgressDlgController : NSWindowController {
    IBOutlet id mFromField;
    IBOutlet id mToField;
    IBOutlet id mStatusLabel;
    IBOutlet id mTimeLeftLabel;
    IBOutlet id mElapsedTimeLabel;
    IBOutlet id mProgressBar;
    IBOutlet id mKeepOpenCheckbox;
    IBOutlet id mCancelButton;
    IBOutlet id mPauseResumeButton;
    IBOutlet id mLaunchButton;
    IBOutlet id mRevealFolderButton;

    BOOL mDownloadIsPaused;
    BOOL mSaveFileDialogShouldStayOpen;

    NSToolbarItem *pauseResumeToggleToolbarItem;
    NSToolbarItem *leaveOpenToggleToolbarItem;
    nsDownloadListener* mDownloadListener;

-(void) setWebPersist: (nsIWebBrowserPersist*)aPersist 
               source: (nsISupports*)aSource
               destination: (NSString*)aDestination
               contentType: (const char*)aContentType
               postData: (nsIInputStream*)aInputStream
               bypassCache: (BOOL)aBypassCache;

-(void) setSourceURL: (const char*)aSource;
-(void) setDestination: (const char*)aDestination;


FreeBSD-CVSweb <>