~ubuntu-branches/ubuntu/precise/transmission/precise

« back to all changes in this revision

Viewing changes to macosx/Sparkle.framework/Versions/A/Headers/SUUpdateAlert.h

  • Committer: Bazaar Package Importer
  • Author(s): Leo Costela
  • Date: 2009-05-17 19:39:51 UTC
  • mto: (1.3.4 upstream) (2.2.1 squeeze)
  • mto: This revision was merged to the branch mainline in revision 36.
  • Revision ID: james.westby@ubuntu.com-20090517193951-k8x15sqoxzf7cuyx
ImportĀ upstreamĀ versionĀ 1.61

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
//
2
 
//  SUUpdateAlert.h
3
 
//  Sparkle
4
 
//
5
 
//  Created by Andy Matuschak on 3/12/06.
6
 
//  Copyright 2006 Andy Matuschak. All rights reserved.
7
 
//
8
 
 
9
 
#import <Cocoa/Cocoa.h>
10
 
 
11
 
typedef enum
12
 
{
13
 
        SUInstallUpdateChoice,
14
 
        SURemindMeLaterChoice,
15
 
        SUSkipThisVersionChoice
16
 
} SUUpdateAlertChoice;
17
 
 
18
 
@class WebView, SUAppcastItem;
19
 
@interface SUUpdateAlert : NSWindowController {
20
 
        SUAppcastItem *updateItem;
21
 
        id delegate;
22
 
        
23
 
        IBOutlet WebView *releaseNotesView;
24
 
        IBOutlet NSTextField *description;
25
 
        NSProgressIndicator *releaseNotesSpinner;
26
 
        BOOL webViewFinishedLoading;
27
 
}
28
 
 
29
 
- initWithAppcastItem:(SUAppcastItem *)item;
30
 
- (void)setDelegate:delegate;
31
 
 
32
 
- (IBAction)installUpdate:sender;
33
 
- (IBAction)skipThisVersion:sender;
34
 
- (IBAction)remindMeLater:sender;
35
 
 
36
 
@end
37
 
 
38
 
@interface NSObject (SUUpdateAlertDelegate)
39
 
- (void)updateAlert:(SUUpdateAlert *)updateAlert finishedWithChoice:(SUUpdateAlertChoice)updateChoice;
40
 
@end