Files
Sparkle/Sparkle/SUUserInitiatedUpdateDriver.h
T
Zorg 7fc6896170 Move automatic updates property from SUHost into SUUpdater
SUHost cannot properly detect if automatic updates are allowed due to write permissions,
thus it should not be a property of SUHost at all.
2016-03-27 13:33:28 -04:00

24 lines
663 B
Objective-C

//
// SUUserInitiatedUpdateDriver.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, SUUserDriver;
@interface SUUserInitiatedUpdateDriver : NSObject <SUUpdateDriver>
- (instancetype)initWithHost:(SUHost *)host allowsAutomaticUpdates:(BOOL)allowsAutomaticUpdates sparkleBundle:(NSBundle *)sparkleBundle updater:(id)updater userDriver:(id <SUUserDriver>)userDriver updaterDelegate:(nullable id <SUUpdaterDelegate>)updaterDelegate;
@end
NS_ASSUME_NONNULL_END