2013-08-03 15:12:31 +00:00
|
|
|
/*
|
|
|
|
Copyright 2013 Hardcoded Software (http://www.hardcoded.net)
|
|
|
|
|
|
|
|
This software is licensed under the "BSD" License as described in the "LICENSE" file,
|
|
|
|
which should be included with this package. The terms are also available at
|
|
|
|
http://www.hardcoded.net/licenses/bsd_license
|
|
|
|
*/
|
|
|
|
|
|
|
|
#import <Cocoa/Cocoa.h>
|
|
|
|
#import "HSGUIController.h"
|
|
|
|
#import "HSTextField.h"
|
|
|
|
#import "Worker.h"
|
|
|
|
#import "PyProgressWindow.h"
|
|
|
|
|
|
|
|
@interface HSProgressWindow : HSGUIController <Worker>
|
|
|
|
{
|
|
|
|
NSInteger progress;
|
|
|
|
HSTextField *jobdescTextField;
|
|
|
|
HSTextField *progressdescTextField;
|
2013-08-03 20:27:36 +00:00
|
|
|
NSWindow *parentWindow;
|
2013-08-03 15:12:31 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
- (id)initWithPyRef:(PyObject *)aPyRef view:(NSView *)aView;
|
|
|
|
- (PyProgressWindow *)model;
|
2013-08-03 20:27:36 +00:00
|
|
|
- (void)setParentWindow:(NSWindow *)aParentWindow;
|
2013-08-03 15:12:31 +00:00
|
|
|
|
|
|
|
- (void)setProgress:(NSInteger)aProgress;
|
|
|
|
- (void)showWindow;
|
|
|
|
- (void)closeWindow;
|
|
|
|
@end
|