2 // SUUpdatePermissionPrompt.h
5 // Created by Andy Matuschak on 1/24/08.
6 // Copyright 2008 Andy Matuschak. All rights reserved.
9 #ifndef SUUPDATEPERMISSIONPROMPT_H
10 #define SUUPDATEPERMISSIONPROMPT_H
16 SUDoNotAutomaticallyCheck
17 } SUPermissionPromptResult
;
19 @interface SUUpdatePermissionPrompt
: SUWindowController
{
22 IBOutlet NSTextField
*descriptionTextField
;
23 IBOutlet NSView
*moreInfoView
;
24 IBOutlet NSButton
*moreInfoButton
;
25 BOOL isShowingMoreInfo
, shouldSendProfile
;
27 + (void)promptWithHostBundle
:(NSBundle
*)hb delegate
:(id
)d
;
28 - (IBAction
)toggleMoreInfo
:(id
)sender
;
29 - (IBAction
)finishPrompt
:(id
)sender
;
32 @interface
NSObject (SUUpdatePermissionPromptDelegateInformalProtocol
)
33 - (void)updatePermissionPromptFinishedWithResult
:(SUPermissionPromptResult
)result
;