1 // 2 // PRCProgress.h 3 // PRICE 4 // 5 // Created by Riccardo Mottola on Mon Jun 21 2004. 6 // Copyright (c) 2004 Carduus. All rights reserved. 7 // 8 // This application is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. 9 // This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. 10 11 #import <AppKit/AppKit.h> 12 13 @protocol FilterProgress 14 - (void)setTitle:(NSString *)title; 15 - (void)setActivity:(NSString *)activity; 16 - (void)setProgress:(double)progress; 17 @end 18 19 @interface PRCProgress : NSObject <FilterProgress> 20 { 21 IBOutlet NSWindow *progressPanel; 22 IBOutlet NSProgressIndicator *progressBar; 23 IBOutlet NSTextField *activityDescription; 24 } 25 26 - (IBAction)showProgress:(id)sender; 27 28 @end 29