These shouldn't be here

This commit is contained in:
Steve Checkoway
2003-09-10 03:50:05 +00:00
parent 010f353817
commit 573e9df0b6
2 changed files with 0 additions and 46 deletions
@@ -1,17 +0,0 @@
/* InstallerWindowController */
#import <Cocoa/Cocoa.h>
#import "Helper.h"
@interface InstallerWindowController : NSWindowController
{
IBOutlet NSButton *button;
IBOutlet NSTextView *textView;
BOOL installing;
Helper *helper;
}
- (void)awakeFromNib;
- (void)dealloc;
- (IBAction)pushedButton:(id)sender;
- (void)postMessage:(NSString *)message;
@end
@@ -1,29 +0,0 @@
#import "InstallerWindowController.h"
@implementation InstallerWindowController
- (void)awakeFromNib
{
helper = [[Helper alloc] initWithPath:@"files"];
}
/* This whole method might be unneeded, I can't remember */
- (void)dealloc
{
[helper autorelease];
helper = nil;
}
- (IBAction)pushedButton:(id)sender
{
[sender setEnabled:NO];
[NSThread detachNewThreadSelector:@selector(startHelper:) toTarget:helper withObject:self];
}
- (void)postMessage:(NSString *)message
{
NSString *temp = [NSString stringWithFormat:@"%@\n", message];
[textView insertText:temp];
}
@end