1 // 2 // PRProgressAction.h 3 // PRICE 4 // 5 // Created by Riccardo Mottola on Tue Jun 22 2004. 6 // Copyright (c) 2004-2008 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 #import "PRCProgress.h" 13 #import "PRFilter.h" 14 15 @interface PRProgressAction : PRFilter 16 { 17 @protected PRCProgress* progPanel; 18 @protected int progressSteps; /* completed steps up to that point */ 19 @protected int totalProgressSteps; /* total number of steps to complete the filter */ 20 } 21 22 - (void) setActivity :(NSString *)description; 23 - (void) advanceProgress; 24 - (void) showProgress; 25 26 @end 27