mirror of
https://github.com/sparkle-project/Sparkle
synced 2026-11-29 05:24:26 +00:00
35 lines
1014 B
Objective-C
35 lines
1014 B
Objective-C
//
|
|
// SPUStandardUserDriverProtocol.h
|
|
// Sparkle
|
|
//
|
|
// Created by Mayur Pawashe on 3/5/16.
|
|
// Copyright © 2016 Sparkle Project. All rights reserved.
|
|
//
|
|
|
|
#import <Foundation/Foundation.h>
|
|
#import "SPUUserDriver.h"
|
|
|
|
@protocol SPUStandardUserDriverDelegate;
|
|
|
|
/*!
|
|
Protocol for Sparkle's standard built-in user driver for updater interactions.
|
|
|
|
Other user drivers may wish to implement this protocol.
|
|
Note that this protocol does not adopt SUUserDriver because one may want to *only* export properties from this protocol.
|
|
*/
|
|
@protocol SPUStandardUserDriverProtocol <NSObject>
|
|
|
|
/*!
|
|
Readable and writable property for this user driver's delegate
|
|
*/
|
|
@property (nonatomic, weak, nullable, readonly) id <SPUStandardUserDriverDelegate> delegate;
|
|
|
|
/*!
|
|
Indicates whether or not an update is in progress as far as the user's perspective is concerned
|
|
|
|
A typical application may rely on this property for its check for updates menu item validation
|
|
*/
|
|
@property (nonatomic, readonly) BOOL canCheckForUpdates;
|
|
|
|
@end
|