Files
Sparkle/Sparkle/SUAutomaticUpdateDriver.h
T
Zorg 87275b23c8 Refactor update drivers
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
2016-03-19 12:09:11 -04:00

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