mirror of
https://github.com/sparkle-project/Sparkle.git
synced 2025-11-01 15:34:38 +00:00
We unify the user driver method showing the update to take a generic state object now. The current fields of the state object are its current stage, if it's user initiated, and if the update is a major one. We also remove deprecated code paths that were complex to support and will otherwise generate in compile errors if people adopt the new API.
19 lines
462 B
Objective-C
19 lines
462 B
Objective-C
//
|
|
// SUInstallUpdateViewController.h
|
|
// Sparkle
|
|
//
|
|
// Created by Mayur Pawashe on 3/5/16.
|
|
// Copyright © 2016 Sparkle Project. All rights reserved.
|
|
//
|
|
|
|
#import <Cocoa/Cocoa.h>
|
|
#import <Sparkle/Sparkle.h>
|
|
|
|
@interface SUInstallUpdateViewController : NSViewController
|
|
|
|
- (instancetype)initWithAppcastItem:(SUAppcastItem *)appcastItem reply:(void (^)(SPUUserUpdateChoice))reply;
|
|
|
|
- (void)showReleaseNotesWithDownloadData:(SPUDownloadData *)downloadData;
|
|
|
|
@end
|