mirror of
https://github.com/sparkle-project/Sparkle
synced 2026-11-25 04:47:55 +00:00
This removes subclassing usage making the code harder to follow. Todo: handle resuming an update already waiting to be installed, adding impatience timer for automatic update scheduling
24 lines
548 B
Objective-C
24 lines
548 B
Objective-C
//
|
|
// SUAutomaticUpdateDriver.h
|
|
// Sparkle
|
|
//
|
|
// Created by Mayur Pawashe on 3/18/16.
|
|
// Copyright © 2016 Sparkle Project. All rights reserved.
|
|
//
|
|
|
|
#import <Foundation/Foundation.h>
|
|
#import "SUUpdateDriver.h"
|
|
|
|
NS_ASSUME_NONNULL_BEGIN
|
|
|
|
@class SUHost;
|
|
@protocol SUUpdaterDelegate;
|
|
|
|
@interface SUAutomaticUpdateDriver : NSObject <SUUpdateDriver>
|
|
|
|
- (instancetype)initWithHost:(SUHost *)host sparkleBundle:(NSBundle *)sparkleBundle updater:(id)updater updaterDelegate:(nullable id <SUUpdaterDelegate>)updaterDelegate;
|
|
|
|
@end
|
|
|
|
NS_ASSUME_NONNULL_END
|