mirror of
https://github.com/sparkle-project/Sparkle
synced 2026-11-27 05:04:27 +00:00
SUHost cannot properly detect if automatic updates are allowed due to write permissions, thus it should not be a property of SUHost at all.
24 lines
663 B
Objective-C
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
|