Files
Sparkle/Sparkle/SUUpdateAlert.h
T
Zorg 1446acf519 Add methods onto user driver show showing linked release notes
These release notes are downloaded while showing that the new update is found
2016-05-14 21:45:25 -04:00

35 lines
975 B
Objective-C

//
// SUUpdateAlert.h
// Sparkle
//
// Created by Andy Matuschak on 3/12/06.
// Copyright 2006 Andy Matuschak. All rights reserved.
//
#ifndef SUUPDATEALERT_H
#define SUUPDATEALERT_H
#import <Cocoa/Cocoa.h>
#import "SUVersionDisplayProtocol.h"
#import "SUStatusCompletionResults.h"
@protocol SUUpdateAlertDelegate;
@class SUAppcastItem, SUHost;
@interface SUUpdateAlert : NSWindowController
@property (nonatomic, weak, readonly) id <SUVersionDisplay> versionDisplayer;
- (instancetype)initWithAppcastItem:(SUAppcastItem *)item host:(SUHost *)aHost versionDisplayer:(id <SUVersionDisplay>)aVersionDisplayer allowsAutomaticUpdates:(BOOL)allowsAutomaticUpdates alreadyDownloaded:(BOOL)alreadyDownloaded completionBlock:(void (^)(SUUpdateAlertChoice))block;
- (void)showReleaseNotes:(NSData *)releaseNotes;
- (void)showReleaseNotesFailedToDownload;
- (IBAction)installUpdate:sender;
- (IBAction)skipThisVersion:sender;
- (IBAction)remindMeLater:sender;
@end
#endif