forked from wocommunity/Golipse
-
Notifications
You must be signed in to change notification settings - Fork 0
/
GolipseAppDelegate.h
56 lines (44 loc) · 1.67 KB
/
GolipseAppDelegate.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
//
// GolipseAppDelegate.h
// Golipse
//
// Created by David LeBer on 10-10-09.
// Copyright 2010 Align Software Inc. All rights reserved.
//
#import <Cocoa/Cocoa.h>
@interface GolipseAppDelegate : NSObject <NSApplicationDelegate> {
NSWindow *window;
NSPopUpButton *installLocationPicker;
NSMenuItem *installLocationOtherItem;
NSTextField *installLocationLabel;
NSButton *installNowButton;
NSScrollView *logScrollView;
NSTextView *logTextView;
NSTask *installTask;
NSPipe *logPipe;
BOOL userDidCancel;
}
@property (assign) IBOutlet NSWindow *window;
@property (nonatomic, retain) IBOutlet NSPopUpButton *installLocationPicker;
@property (nonatomic, retain) IBOutlet NSMenuItem *installLocationOtherItem;
@property (nonatomic, retain) IBOutlet NSTextField *installLocationLabel;
@property (nonatomic, retain) IBOutlet NSButton *installNowButton;
@property (nonatomic, retain) IBOutlet NSScrollView *logScrollView;
@property (nonatomic, retain) IBOutlet NSTextView *logTextView;
@property (nonatomic, retain) NSTask *installTask;
@property (nonatomic, retain) NSPipe *logPipe;
#pragma mark -
#pragma mark Install
- (IBAction) installWOLipsAction:(id)sender;
- (void) installTaskDidFinish:(NSNotification *)note;
- (void) appendStringToLog:(NSString *)logSnippet;
#pragma mark -
#pragma mark Preference Window
- (IBAction) showPreferenceWindow:(id)sender;
#pragma mark -
#pragma mark Install Location
- (IBAction)chooseInstallLocation:(id)sender;
- (void)chooseInstallLocationDidEnd: (NSOpenPanel *)panel returnCode: (int)returnCode contextInfo: (void *)contextInfo;
- (IBAction)chooseDefaultInstallLocation:(id)sender;
- (void)setupInstallLocationWithPath:(NSString*)inDLPath;
@end