Frameworks/Sparkle.framework/Versions/A/Headers/SUUpdaterDelegate.h
author Thijs Alkemade <me@thijsalkema.de>
Sun, 23 Apr 2017 21:05:16 +0200
branchadium-1.5.10.4
changeset 5985 5883c460b8cb
permissions -rw-r--r--
Updated Sparkle to 1.17.0, to fix a problem when copying broken symlinks.
5985
5883c460b8cb Updated Sparkle to 1.17.0, to fix a problem when copying broken symlinks.
Thijs Alkemade <me@thijsalkema.de>
parents:
diff changeset
     1
//
5883c460b8cb Updated Sparkle to 1.17.0, to fix a problem when copying broken symlinks.
Thijs Alkemade <me@thijsalkema.de>
parents:
diff changeset
     2
//  SUUpdaterDelegate.h
5883c460b8cb Updated Sparkle to 1.17.0, to fix a problem when copying broken symlinks.
Thijs Alkemade <me@thijsalkema.de>
parents:
diff changeset
     3
//  Sparkle
5883c460b8cb Updated Sparkle to 1.17.0, to fix a problem when copying broken symlinks.
Thijs Alkemade <me@thijsalkema.de>
parents:
diff changeset
     4
//
5883c460b8cb Updated Sparkle to 1.17.0, to fix a problem when copying broken symlinks.
Thijs Alkemade <me@thijsalkema.de>
parents:
diff changeset
     5
//  Created by Mayur Pawashe on 12/25/16.
5883c460b8cb Updated Sparkle to 1.17.0, to fix a problem when copying broken symlinks.
Thijs Alkemade <me@thijsalkema.de>
parents:
diff changeset
     6
//  Copyright ?? 2016 Sparkle Project. All rights reserved.
5883c460b8cb Updated Sparkle to 1.17.0, to fix a problem when copying broken symlinks.
Thijs Alkemade <me@thijsalkema.de>
parents:
diff changeset
     7
//
5883c460b8cb Updated Sparkle to 1.17.0, to fix a problem when copying broken symlinks.
Thijs Alkemade <me@thijsalkema.de>
parents:
diff changeset
     8
5883c460b8cb Updated Sparkle to 1.17.0, to fix a problem when copying broken symlinks.
Thijs Alkemade <me@thijsalkema.de>
parents:
diff changeset
     9
#if __has_feature(modules)
5883c460b8cb Updated Sparkle to 1.17.0, to fix a problem when copying broken symlinks.
Thijs Alkemade <me@thijsalkema.de>
parents:
diff changeset
    10
@import Foundation;
5883c460b8cb Updated Sparkle to 1.17.0, to fix a problem when copying broken symlinks.
Thijs Alkemade <me@thijsalkema.de>
parents:
diff changeset
    11
#else
5883c460b8cb Updated Sparkle to 1.17.0, to fix a problem when copying broken symlinks.
Thijs Alkemade <me@thijsalkema.de>
parents:
diff changeset
    12
#import <Foundation/Foundation.h>
5883c460b8cb Updated Sparkle to 1.17.0, to fix a problem when copying broken symlinks.
Thijs Alkemade <me@thijsalkema.de>
parents:
diff changeset
    13
#endif
5883c460b8cb Updated Sparkle to 1.17.0, to fix a problem when copying broken symlinks.
Thijs Alkemade <me@thijsalkema.de>
parents:
diff changeset
    14
5883c460b8cb Updated Sparkle to 1.17.0, to fix a problem when copying broken symlinks.
Thijs Alkemade <me@thijsalkema.de>
parents:
diff changeset
    15
#import "SUExport.h"
5883c460b8cb Updated Sparkle to 1.17.0, to fix a problem when copying broken symlinks.
Thijs Alkemade <me@thijsalkema.de>
parents:
diff changeset
    16
5883c460b8cb Updated Sparkle to 1.17.0, to fix a problem when copying broken symlinks.
Thijs Alkemade <me@thijsalkema.de>
parents:
diff changeset
    17
@protocol SUVersionComparison, SUVersionDisplay;
5883c460b8cb Updated Sparkle to 1.17.0, to fix a problem when copying broken symlinks.
Thijs Alkemade <me@thijsalkema.de>
parents:
diff changeset
    18
@class SUUpdater, SUAppcast, SUAppcastItem;
5883c460b8cb Updated Sparkle to 1.17.0, to fix a problem when copying broken symlinks.
Thijs Alkemade <me@thijsalkema.de>
parents:
diff changeset
    19
5883c460b8cb Updated Sparkle to 1.17.0, to fix a problem when copying broken symlinks.
Thijs Alkemade <me@thijsalkema.de>
parents:
diff changeset
    20
NS_ASSUME_NONNULL_BEGIN
5883c460b8cb Updated Sparkle to 1.17.0, to fix a problem when copying broken symlinks.
Thijs Alkemade <me@thijsalkema.de>
parents:
diff changeset
    21
5883c460b8cb Updated Sparkle to 1.17.0, to fix a problem when copying broken symlinks.
Thijs Alkemade <me@thijsalkema.de>
parents:
diff changeset
    22
// -----------------------------------------------------------------------------
5883c460b8cb Updated Sparkle to 1.17.0, to fix a problem when copying broken symlinks.
Thijs Alkemade <me@thijsalkema.de>
parents:
diff changeset
    23
// SUUpdater Notifications for events that might be interesting to more than just the delegate
5883c460b8cb Updated Sparkle to 1.17.0, to fix a problem when copying broken symlinks.
Thijs Alkemade <me@thijsalkema.de>
parents:
diff changeset
    24
// The updater will be the notification object
5883c460b8cb Updated Sparkle to 1.17.0, to fix a problem when copying broken symlinks.
Thijs Alkemade <me@thijsalkema.de>
parents:
diff changeset
    25
// -----------------------------------------------------------------------------
5883c460b8cb Updated Sparkle to 1.17.0, to fix a problem when copying broken symlinks.
Thijs Alkemade <me@thijsalkema.de>
parents:
diff changeset
    26
SU_EXPORT extern NSString *const SUUpdaterDidFinishLoadingAppCastNotification;
5883c460b8cb Updated Sparkle to 1.17.0, to fix a problem when copying broken symlinks.
Thijs Alkemade <me@thijsalkema.de>
parents:
diff changeset
    27
SU_EXPORT extern NSString *const SUUpdaterDidFindValidUpdateNotification;
5883c460b8cb Updated Sparkle to 1.17.0, to fix a problem when copying broken symlinks.
Thijs Alkemade <me@thijsalkema.de>
parents:
diff changeset
    28
SU_EXPORT extern NSString *const SUUpdaterDidNotFindUpdateNotification;
5883c460b8cb Updated Sparkle to 1.17.0, to fix a problem when copying broken symlinks.
Thijs Alkemade <me@thijsalkema.de>
parents:
diff changeset
    29
SU_EXPORT extern NSString *const SUUpdaterWillRestartNotification;
5883c460b8cb Updated Sparkle to 1.17.0, to fix a problem when copying broken symlinks.
Thijs Alkemade <me@thijsalkema.de>
parents:
diff changeset
    30
#define SUUpdaterWillRelaunchApplicationNotification SUUpdaterWillRestartNotification;
5883c460b8cb Updated Sparkle to 1.17.0, to fix a problem when copying broken symlinks.
Thijs Alkemade <me@thijsalkema.de>
parents:
diff changeset
    31
#define SUUpdaterWillInstallUpdateNotification SUUpdaterWillRestartNotification;
5883c460b8cb Updated Sparkle to 1.17.0, to fix a problem when copying broken symlinks.
Thijs Alkemade <me@thijsalkema.de>
parents:
diff changeset
    32
5883c460b8cb Updated Sparkle to 1.17.0, to fix a problem when copying broken symlinks.
Thijs Alkemade <me@thijsalkema.de>
parents:
diff changeset
    33
// Key for the SUAppcastItem object in the SUUpdaterDidFindValidUpdateNotification userInfo
5883c460b8cb Updated Sparkle to 1.17.0, to fix a problem when copying broken symlinks.
Thijs Alkemade <me@thijsalkema.de>
parents:
diff changeset
    34
SU_EXPORT extern NSString *const SUUpdaterAppcastItemNotificationKey;
5883c460b8cb Updated Sparkle to 1.17.0, to fix a problem when copying broken symlinks.
Thijs Alkemade <me@thijsalkema.de>
parents:
diff changeset
    35
// Key for the SUAppcast object in the SUUpdaterDidFinishLoadingAppCastNotification userInfo
5883c460b8cb Updated Sparkle to 1.17.0, to fix a problem when copying broken symlinks.
Thijs Alkemade <me@thijsalkema.de>
parents:
diff changeset
    36
SU_EXPORT extern NSString *const SUUpdaterAppcastNotificationKey;
5883c460b8cb Updated Sparkle to 1.17.0, to fix a problem when copying broken symlinks.
Thijs Alkemade <me@thijsalkema.de>
parents:
diff changeset
    37
5883c460b8cb Updated Sparkle to 1.17.0, to fix a problem when copying broken symlinks.
Thijs Alkemade <me@thijsalkema.de>
parents:
diff changeset
    38
// -----------------------------------------------------------------------------
5883c460b8cb Updated Sparkle to 1.17.0, to fix a problem when copying broken symlinks.
Thijs Alkemade <me@thijsalkema.de>
parents:
diff changeset
    39
//	SUUpdater Delegate:
5883c460b8cb Updated Sparkle to 1.17.0, to fix a problem when copying broken symlinks.
Thijs Alkemade <me@thijsalkema.de>
parents:
diff changeset
    40
// -----------------------------------------------------------------------------
5883c460b8cb Updated Sparkle to 1.17.0, to fix a problem when copying broken symlinks.
Thijs Alkemade <me@thijsalkema.de>
parents:
diff changeset
    41
5883c460b8cb Updated Sparkle to 1.17.0, to fix a problem when copying broken symlinks.
Thijs Alkemade <me@thijsalkema.de>
parents:
diff changeset
    42
/*!
5883c460b8cb Updated Sparkle to 1.17.0, to fix a problem when copying broken symlinks.
Thijs Alkemade <me@thijsalkema.de>
parents:
diff changeset
    43
 Provides methods to control the behavior of an SUUpdater object.
5883c460b8cb Updated Sparkle to 1.17.0, to fix a problem when copying broken symlinks.
Thijs Alkemade <me@thijsalkema.de>
parents:
diff changeset
    44
 */
5883c460b8cb Updated Sparkle to 1.17.0, to fix a problem when copying broken symlinks.
Thijs Alkemade <me@thijsalkema.de>
parents:
diff changeset
    45
@protocol SUUpdaterDelegate <NSObject>
5883c460b8cb Updated Sparkle to 1.17.0, to fix a problem when copying broken symlinks.
Thijs Alkemade <me@thijsalkema.de>
parents:
diff changeset
    46
@optional
5883c460b8cb Updated Sparkle to 1.17.0, to fix a problem when copying broken symlinks.
Thijs Alkemade <me@thijsalkema.de>
parents:
diff changeset
    47
5883c460b8cb Updated Sparkle to 1.17.0, to fix a problem when copying broken symlinks.
Thijs Alkemade <me@thijsalkema.de>
parents:
diff changeset
    48
/*!
5883c460b8cb Updated Sparkle to 1.17.0, to fix a problem when copying broken symlinks.
Thijs Alkemade <me@thijsalkema.de>
parents:
diff changeset
    49
 Returns whether to allow Sparkle to pop up.
5883c460b8cb Updated Sparkle to 1.17.0, to fix a problem when copying broken symlinks.
Thijs Alkemade <me@thijsalkema.de>
parents:
diff changeset
    50
 
5883c460b8cb Updated Sparkle to 1.17.0, to fix a problem when copying broken symlinks.
Thijs Alkemade <me@thijsalkema.de>
parents:
diff changeset
    51
 For example, this may be used to prevent Sparkle from interrupting a setup assistant.
5883c460b8cb Updated Sparkle to 1.17.0, to fix a problem when copying broken symlinks.
Thijs Alkemade <me@thijsalkema.de>
parents:
diff changeset
    52
 
5883c460b8cb Updated Sparkle to 1.17.0, to fix a problem when copying broken symlinks.
Thijs Alkemade <me@thijsalkema.de>
parents:
diff changeset
    53
 \param updater The SUUpdater instance.
5883c460b8cb Updated Sparkle to 1.17.0, to fix a problem when copying broken symlinks.
Thijs Alkemade <me@thijsalkema.de>
parents:
diff changeset
    54
 */
5883c460b8cb Updated Sparkle to 1.17.0, to fix a problem when copying broken symlinks.
Thijs Alkemade <me@thijsalkema.de>
parents:
diff changeset
    55
- (BOOL)updaterMayCheckForUpdates:(SUUpdater *)updater;
5883c460b8cb Updated Sparkle to 1.17.0, to fix a problem when copying broken symlinks.
Thijs Alkemade <me@thijsalkema.de>
parents:
diff changeset
    56
5883c460b8cb Updated Sparkle to 1.17.0, to fix a problem when copying broken symlinks.
Thijs Alkemade <me@thijsalkema.de>
parents:
diff changeset
    57
/*!
5883c460b8cb Updated Sparkle to 1.17.0, to fix a problem when copying broken symlinks.
Thijs Alkemade <me@thijsalkema.de>
parents:
diff changeset
    58
 Returns additional parameters to append to the appcast URL's query string.
5883c460b8cb Updated Sparkle to 1.17.0, to fix a problem when copying broken symlinks.
Thijs Alkemade <me@thijsalkema.de>
parents:
diff changeset
    59
 
5883c460b8cb Updated Sparkle to 1.17.0, to fix a problem when copying broken symlinks.
Thijs Alkemade <me@thijsalkema.de>
parents:
diff changeset
    60
 This is potentially based on whether or not Sparkle will also be sending along the system profile.
5883c460b8cb Updated Sparkle to 1.17.0, to fix a problem when copying broken symlinks.
Thijs Alkemade <me@thijsalkema.de>
parents:
diff changeset
    61
 
5883c460b8cb Updated Sparkle to 1.17.0, to fix a problem when copying broken symlinks.
Thijs Alkemade <me@thijsalkema.de>
parents:
diff changeset
    62
 \param updater The SUUpdater instance.
5883c460b8cb Updated Sparkle to 1.17.0, to fix a problem when copying broken symlinks.
Thijs Alkemade <me@thijsalkema.de>
parents:
diff changeset
    63
 \param sendingProfile Whether the system profile will also be sent.
5883c460b8cb Updated Sparkle to 1.17.0, to fix a problem when copying broken symlinks.
Thijs Alkemade <me@thijsalkema.de>
parents:
diff changeset
    64
 
5883c460b8cb Updated Sparkle to 1.17.0, to fix a problem when copying broken symlinks.
Thijs Alkemade <me@thijsalkema.de>
parents:
diff changeset
    65
 \return An array of dictionaries with keys: "key", "value", "displayKey", "displayValue", the latter two being specifically for display to the user.
5883c460b8cb Updated Sparkle to 1.17.0, to fix a problem when copying broken symlinks.
Thijs Alkemade <me@thijsalkema.de>
parents:
diff changeset
    66
 */
5883c460b8cb Updated Sparkle to 1.17.0, to fix a problem when copying broken symlinks.
Thijs Alkemade <me@thijsalkema.de>
parents:
diff changeset
    67
#if __has_feature(objc_generics)
5883c460b8cb Updated Sparkle to 1.17.0, to fix a problem when copying broken symlinks.
Thijs Alkemade <me@thijsalkema.de>
parents:
diff changeset
    68
- (NSArray<NSDictionary<NSString *, NSString *> *> *)feedParametersForUpdater:(SUUpdater *)updater sendingSystemProfile:(BOOL)sendingProfile;
5883c460b8cb Updated Sparkle to 1.17.0, to fix a problem when copying broken symlinks.
Thijs Alkemade <me@thijsalkema.de>
parents:
diff changeset
    69
#else
5883c460b8cb Updated Sparkle to 1.17.0, to fix a problem when copying broken symlinks.
Thijs Alkemade <me@thijsalkema.de>
parents:
diff changeset
    70
- (NSArray *)feedParametersForUpdater:(SUUpdater *)updater sendingSystemProfile:(BOOL)sendingProfile;
5883c460b8cb Updated Sparkle to 1.17.0, to fix a problem when copying broken symlinks.
Thijs Alkemade <me@thijsalkema.de>
parents:
diff changeset
    71
#endif
5883c460b8cb Updated Sparkle to 1.17.0, to fix a problem when copying broken symlinks.
Thijs Alkemade <me@thijsalkema.de>
parents:
diff changeset
    72
5883c460b8cb Updated Sparkle to 1.17.0, to fix a problem when copying broken symlinks.
Thijs Alkemade <me@thijsalkema.de>
parents:
diff changeset
    73
/*!
5883c460b8cb Updated Sparkle to 1.17.0, to fix a problem when copying broken symlinks.
Thijs Alkemade <me@thijsalkema.de>
parents:
diff changeset
    74
 Returns a custom appcast URL.
5883c460b8cb Updated Sparkle to 1.17.0, to fix a problem when copying broken symlinks.
Thijs Alkemade <me@thijsalkema.de>
parents:
diff changeset
    75
 
5883c460b8cb Updated Sparkle to 1.17.0, to fix a problem when copying broken symlinks.
Thijs Alkemade <me@thijsalkema.de>
parents:
diff changeset
    76
 Override this to dynamically specify the entire URL.
5883c460b8cb Updated Sparkle to 1.17.0, to fix a problem when copying broken symlinks.
Thijs Alkemade <me@thijsalkema.de>
parents:
diff changeset
    77
 
5883c460b8cb Updated Sparkle to 1.17.0, to fix a problem when copying broken symlinks.
Thijs Alkemade <me@thijsalkema.de>
parents:
diff changeset
    78
 An alternative may be to use SUUpdaterDelegate::feedParametersForUpdater:sendingSystemProfile:
5883c460b8cb Updated Sparkle to 1.17.0, to fix a problem when copying broken symlinks.
Thijs Alkemade <me@thijsalkema.de>
parents:
diff changeset
    79
 and let the server handle what kind of feed to provide.
5883c460b8cb Updated Sparkle to 1.17.0, to fix a problem when copying broken symlinks.
Thijs Alkemade <me@thijsalkema.de>
parents:
diff changeset
    80
 
5883c460b8cb Updated Sparkle to 1.17.0, to fix a problem when copying broken symlinks.
Thijs Alkemade <me@thijsalkema.de>
parents:
diff changeset
    81
 \param updater The SUUpdater instance.
5883c460b8cb Updated Sparkle to 1.17.0, to fix a problem when copying broken symlinks.
Thijs Alkemade <me@thijsalkema.de>
parents:
diff changeset
    82
 */
5883c460b8cb Updated Sparkle to 1.17.0, to fix a problem when copying broken symlinks.
Thijs Alkemade <me@thijsalkema.de>
parents:
diff changeset
    83
- (nullable NSString *)feedURLStringForUpdater:(SUUpdater *)updater;
5883c460b8cb Updated Sparkle to 1.17.0, to fix a problem when copying broken symlinks.
Thijs Alkemade <me@thijsalkema.de>
parents:
diff changeset
    84
5883c460b8cb Updated Sparkle to 1.17.0, to fix a problem when copying broken symlinks.
Thijs Alkemade <me@thijsalkema.de>
parents:
diff changeset
    85
/*!
5883c460b8cb Updated Sparkle to 1.17.0, to fix a problem when copying broken symlinks.
Thijs Alkemade <me@thijsalkema.de>
parents:
diff changeset
    86
 Returns whether Sparkle should prompt the user about automatic update checks.
5883c460b8cb Updated Sparkle to 1.17.0, to fix a problem when copying broken symlinks.
Thijs Alkemade <me@thijsalkema.de>
parents:
diff changeset
    87
 
5883c460b8cb Updated Sparkle to 1.17.0, to fix a problem when copying broken symlinks.
Thijs Alkemade <me@thijsalkema.de>
parents:
diff changeset
    88
 Use this to override the default behavior.
5883c460b8cb Updated Sparkle to 1.17.0, to fix a problem when copying broken symlinks.
Thijs Alkemade <me@thijsalkema.de>
parents:
diff changeset
    89
 
5883c460b8cb Updated Sparkle to 1.17.0, to fix a problem when copying broken symlinks.
Thijs Alkemade <me@thijsalkema.de>
parents:
diff changeset
    90
 \param updater The SUUpdater instance.
5883c460b8cb Updated Sparkle to 1.17.0, to fix a problem when copying broken symlinks.
Thijs Alkemade <me@thijsalkema.de>
parents:
diff changeset
    91
 */
5883c460b8cb Updated Sparkle to 1.17.0, to fix a problem when copying broken symlinks.
Thijs Alkemade <me@thijsalkema.de>
parents:
diff changeset
    92
- (BOOL)updaterShouldPromptForPermissionToCheckForUpdates:(SUUpdater *)updater;
5883c460b8cb Updated Sparkle to 1.17.0, to fix a problem when copying broken symlinks.
Thijs Alkemade <me@thijsalkema.de>
parents:
diff changeset
    93
5883c460b8cb Updated Sparkle to 1.17.0, to fix a problem when copying broken symlinks.
Thijs Alkemade <me@thijsalkema.de>
parents:
diff changeset
    94
/*!
5883c460b8cb Updated Sparkle to 1.17.0, to fix a problem when copying broken symlinks.
Thijs Alkemade <me@thijsalkema.de>
parents:
diff changeset
    95
 Called after Sparkle has downloaded the appcast from the remote server.
5883c460b8cb Updated Sparkle to 1.17.0, to fix a problem when copying broken symlinks.
Thijs Alkemade <me@thijsalkema.de>
parents:
diff changeset
    96
 
5883c460b8cb Updated Sparkle to 1.17.0, to fix a problem when copying broken symlinks.
Thijs Alkemade <me@thijsalkema.de>
parents:
diff changeset
    97
 Implement this if you want to do some special handling with the appcast once it finishes loading.
5883c460b8cb Updated Sparkle to 1.17.0, to fix a problem when copying broken symlinks.
Thijs Alkemade <me@thijsalkema.de>
parents:
diff changeset
    98
 
5883c460b8cb Updated Sparkle to 1.17.0, to fix a problem when copying broken symlinks.
Thijs Alkemade <me@thijsalkema.de>
parents:
diff changeset
    99
 \param updater The SUUpdater instance.
5883c460b8cb Updated Sparkle to 1.17.0, to fix a problem when copying broken symlinks.
Thijs Alkemade <me@thijsalkema.de>
parents:
diff changeset
   100
 \param appcast The appcast that was downloaded from the remote server.
5883c460b8cb Updated Sparkle to 1.17.0, to fix a problem when copying broken symlinks.
Thijs Alkemade <me@thijsalkema.de>
parents:
diff changeset
   101
 */
5883c460b8cb Updated Sparkle to 1.17.0, to fix a problem when copying broken symlinks.
Thijs Alkemade <me@thijsalkema.de>
parents:
diff changeset
   102
- (void)updater:(SUUpdater *)updater didFinishLoadingAppcast:(SUAppcast *)appcast;
5883c460b8cb Updated Sparkle to 1.17.0, to fix a problem when copying broken symlinks.
Thijs Alkemade <me@thijsalkema.de>
parents:
diff changeset
   103
5883c460b8cb Updated Sparkle to 1.17.0, to fix a problem when copying broken symlinks.
Thijs Alkemade <me@thijsalkema.de>
parents:
diff changeset
   104
/*!
5883c460b8cb Updated Sparkle to 1.17.0, to fix a problem when copying broken symlinks.
Thijs Alkemade <me@thijsalkema.de>
parents:
diff changeset
   105
 Returns the item in the appcast corresponding to the update that should be installed.
5883c460b8cb Updated Sparkle to 1.17.0, to fix a problem when copying broken symlinks.
Thijs Alkemade <me@thijsalkema.de>
parents:
diff changeset
   106
 
5883c460b8cb Updated Sparkle to 1.17.0, to fix a problem when copying broken symlinks.
Thijs Alkemade <me@thijsalkema.de>
parents:
diff changeset
   107
 If you're using special logic or extensions in your appcast,
5883c460b8cb Updated Sparkle to 1.17.0, to fix a problem when copying broken symlinks.
Thijs Alkemade <me@thijsalkema.de>
parents:
diff changeset
   108
 implement this to use your own logic for finding a valid update, if any,
5883c460b8cb Updated Sparkle to 1.17.0, to fix a problem when copying broken symlinks.
Thijs Alkemade <me@thijsalkema.de>
parents:
diff changeset
   109
 in the given appcast.
5883c460b8cb Updated Sparkle to 1.17.0, to fix a problem when copying broken symlinks.
Thijs Alkemade <me@thijsalkema.de>
parents:
diff changeset
   110
 
5883c460b8cb Updated Sparkle to 1.17.0, to fix a problem when copying broken symlinks.
Thijs Alkemade <me@thijsalkema.de>
parents:
diff changeset
   111
 \param appcast The appcast that was downloaded from the remote server.
5883c460b8cb Updated Sparkle to 1.17.0, to fix a problem when copying broken symlinks.
Thijs Alkemade <me@thijsalkema.de>
parents:
diff changeset
   112
 \param updater The SUUpdater instance.
5883c460b8cb Updated Sparkle to 1.17.0, to fix a problem when copying broken symlinks.
Thijs Alkemade <me@thijsalkema.de>
parents:
diff changeset
   113
 */
5883c460b8cb Updated Sparkle to 1.17.0, to fix a problem when copying broken symlinks.
Thijs Alkemade <me@thijsalkema.de>
parents:
diff changeset
   114
- (nullable SUAppcastItem *)bestValidUpdateInAppcast:(SUAppcast *)appcast forUpdater:(SUUpdater *)updater;
5883c460b8cb Updated Sparkle to 1.17.0, to fix a problem when copying broken symlinks.
Thijs Alkemade <me@thijsalkema.de>
parents:
diff changeset
   115
5883c460b8cb Updated Sparkle to 1.17.0, to fix a problem when copying broken symlinks.
Thijs Alkemade <me@thijsalkema.de>
parents:
diff changeset
   116
/*!
5883c460b8cb Updated Sparkle to 1.17.0, to fix a problem when copying broken symlinks.
Thijs Alkemade <me@thijsalkema.de>
parents:
diff changeset
   117
 Called when a valid update is found by the update driver.
5883c460b8cb Updated Sparkle to 1.17.0, to fix a problem when copying broken symlinks.
Thijs Alkemade <me@thijsalkema.de>
parents:
diff changeset
   118
 
5883c460b8cb Updated Sparkle to 1.17.0, to fix a problem when copying broken symlinks.
Thijs Alkemade <me@thijsalkema.de>
parents:
diff changeset
   119
 \param updater The SUUpdater instance.
5883c460b8cb Updated Sparkle to 1.17.0, to fix a problem when copying broken symlinks.
Thijs Alkemade <me@thijsalkema.de>
parents:
diff changeset
   120
 \param item The appcast item corresponding to the update that is proposed to be installed.
5883c460b8cb Updated Sparkle to 1.17.0, to fix a problem when copying broken symlinks.
Thijs Alkemade <me@thijsalkema.de>
parents:
diff changeset
   121
 */
5883c460b8cb Updated Sparkle to 1.17.0, to fix a problem when copying broken symlinks.
Thijs Alkemade <me@thijsalkema.de>
parents:
diff changeset
   122
- (void)updater:(SUUpdater *)updater didFindValidUpdate:(SUAppcastItem *)item;
5883c460b8cb Updated Sparkle to 1.17.0, to fix a problem when copying broken symlinks.
Thijs Alkemade <me@thijsalkema.de>
parents:
diff changeset
   123
5883c460b8cb Updated Sparkle to 1.17.0, to fix a problem when copying broken symlinks.
Thijs Alkemade <me@thijsalkema.de>
parents:
diff changeset
   124
/*!
5883c460b8cb Updated Sparkle to 1.17.0, to fix a problem when copying broken symlinks.
Thijs Alkemade <me@thijsalkema.de>
parents:
diff changeset
   125
 Called when a valid update is not found.
5883c460b8cb Updated Sparkle to 1.17.0, to fix a problem when copying broken symlinks.
Thijs Alkemade <me@thijsalkema.de>
parents:
diff changeset
   126
 
5883c460b8cb Updated Sparkle to 1.17.0, to fix a problem when copying broken symlinks.
Thijs Alkemade <me@thijsalkema.de>
parents:
diff changeset
   127
 \param updater The SUUpdater instance.
5883c460b8cb Updated Sparkle to 1.17.0, to fix a problem when copying broken symlinks.
Thijs Alkemade <me@thijsalkema.de>
parents:
diff changeset
   128
 */
5883c460b8cb Updated Sparkle to 1.17.0, to fix a problem when copying broken symlinks.
Thijs Alkemade <me@thijsalkema.de>
parents:
diff changeset
   129
- (void)updaterDidNotFindUpdate:(SUUpdater *)updater;
5883c460b8cb Updated Sparkle to 1.17.0, to fix a problem when copying broken symlinks.
Thijs Alkemade <me@thijsalkema.de>
parents:
diff changeset
   130
5883c460b8cb Updated Sparkle to 1.17.0, to fix a problem when copying broken symlinks.
Thijs Alkemade <me@thijsalkema.de>
parents:
diff changeset
   131
/*!
5883c460b8cb Updated Sparkle to 1.17.0, to fix a problem when copying broken symlinks.
Thijs Alkemade <me@thijsalkema.de>
parents:
diff changeset
   132
 Called immediately before downloading the specified update.
5883c460b8cb Updated Sparkle to 1.17.0, to fix a problem when copying broken symlinks.
Thijs Alkemade <me@thijsalkema.de>
parents:
diff changeset
   133
 
5883c460b8cb Updated Sparkle to 1.17.0, to fix a problem when copying broken symlinks.
Thijs Alkemade <me@thijsalkema.de>
parents:
diff changeset
   134
 \param updater The SUUpdater instance.
5883c460b8cb Updated Sparkle to 1.17.0, to fix a problem when copying broken symlinks.
Thijs Alkemade <me@thijsalkema.de>
parents:
diff changeset
   135
 \param item The appcast item corresponding to the update that is proposed to be downloaded.
5883c460b8cb Updated Sparkle to 1.17.0, to fix a problem when copying broken symlinks.
Thijs Alkemade <me@thijsalkema.de>
parents:
diff changeset
   136
 \param request The mutable URL request that will be used to download the update.
5883c460b8cb Updated Sparkle to 1.17.0, to fix a problem when copying broken symlinks.
Thijs Alkemade <me@thijsalkema.de>
parents:
diff changeset
   137
 */
5883c460b8cb Updated Sparkle to 1.17.0, to fix a problem when copying broken symlinks.
Thijs Alkemade <me@thijsalkema.de>
parents:
diff changeset
   138
- (void)updater:(SUUpdater *)updater willDownloadUpdate:(SUAppcastItem *)item withRequest:(NSMutableURLRequest *)request;
5883c460b8cb Updated Sparkle to 1.17.0, to fix a problem when copying broken symlinks.
Thijs Alkemade <me@thijsalkema.de>
parents:
diff changeset
   139
5883c460b8cb Updated Sparkle to 1.17.0, to fix a problem when copying broken symlinks.
Thijs Alkemade <me@thijsalkema.de>
parents:
diff changeset
   140
/*!
5883c460b8cb Updated Sparkle to 1.17.0, to fix a problem when copying broken symlinks.
Thijs Alkemade <me@thijsalkema.de>
parents:
diff changeset
   141
 Called after the specified update failed to download.
5883c460b8cb Updated Sparkle to 1.17.0, to fix a problem when copying broken symlinks.
Thijs Alkemade <me@thijsalkema.de>
parents:
diff changeset
   142
 
5883c460b8cb Updated Sparkle to 1.17.0, to fix a problem when copying broken symlinks.
Thijs Alkemade <me@thijsalkema.de>
parents:
diff changeset
   143
 \param updater The SUUpdater instance.
5883c460b8cb Updated Sparkle to 1.17.0, to fix a problem when copying broken symlinks.
Thijs Alkemade <me@thijsalkema.de>
parents:
diff changeset
   144
 \param item The appcast item corresponding to the update that failed to download.
5883c460b8cb Updated Sparkle to 1.17.0, to fix a problem when copying broken symlinks.
Thijs Alkemade <me@thijsalkema.de>
parents:
diff changeset
   145
 \param error The error generated by the failed download.
5883c460b8cb Updated Sparkle to 1.17.0, to fix a problem when copying broken symlinks.
Thijs Alkemade <me@thijsalkema.de>
parents:
diff changeset
   146
 */
5883c460b8cb Updated Sparkle to 1.17.0, to fix a problem when copying broken symlinks.
Thijs Alkemade <me@thijsalkema.de>
parents:
diff changeset
   147
- (void)updater:(SUUpdater *)updater failedToDownloadUpdate:(SUAppcastItem *)item error:(NSError *)error;
5883c460b8cb Updated Sparkle to 1.17.0, to fix a problem when copying broken symlinks.
Thijs Alkemade <me@thijsalkema.de>
parents:
diff changeset
   148
5883c460b8cb Updated Sparkle to 1.17.0, to fix a problem when copying broken symlinks.
Thijs Alkemade <me@thijsalkema.de>
parents:
diff changeset
   149
/*!
5883c460b8cb Updated Sparkle to 1.17.0, to fix a problem when copying broken symlinks.
Thijs Alkemade <me@thijsalkema.de>
parents:
diff changeset
   150
 Called when the user clicks the cancel button while and update is being downloaded.
5883c460b8cb Updated Sparkle to 1.17.0, to fix a problem when copying broken symlinks.
Thijs Alkemade <me@thijsalkema.de>
parents:
diff changeset
   151
 
5883c460b8cb Updated Sparkle to 1.17.0, to fix a problem when copying broken symlinks.
Thijs Alkemade <me@thijsalkema.de>
parents:
diff changeset
   152
 \param updater The SUUpdater instance.
5883c460b8cb Updated Sparkle to 1.17.0, to fix a problem when copying broken symlinks.
Thijs Alkemade <me@thijsalkema.de>
parents:
diff changeset
   153
 */
5883c460b8cb Updated Sparkle to 1.17.0, to fix a problem when copying broken symlinks.
Thijs Alkemade <me@thijsalkema.de>
parents:
diff changeset
   154
- (void)userDidCancelDownload:(SUUpdater *)updater;
5883c460b8cb Updated Sparkle to 1.17.0, to fix a problem when copying broken symlinks.
Thijs Alkemade <me@thijsalkema.de>
parents:
diff changeset
   155
5883c460b8cb Updated Sparkle to 1.17.0, to fix a problem when copying broken symlinks.
Thijs Alkemade <me@thijsalkema.de>
parents:
diff changeset
   156
/*!
5883c460b8cb Updated Sparkle to 1.17.0, to fix a problem when copying broken symlinks.
Thijs Alkemade <me@thijsalkema.de>
parents:
diff changeset
   157
 Called immediately before installing the specified update.
5883c460b8cb Updated Sparkle to 1.17.0, to fix a problem when copying broken symlinks.
Thijs Alkemade <me@thijsalkema.de>
parents:
diff changeset
   158
 
5883c460b8cb Updated Sparkle to 1.17.0, to fix a problem when copying broken symlinks.
Thijs Alkemade <me@thijsalkema.de>
parents:
diff changeset
   159
 \param updater The SUUpdater instance.
5883c460b8cb Updated Sparkle to 1.17.0, to fix a problem when copying broken symlinks.
Thijs Alkemade <me@thijsalkema.de>
parents:
diff changeset
   160
 \param item The appcast item corresponding to the update that is proposed to be installed.
5883c460b8cb Updated Sparkle to 1.17.0, to fix a problem when copying broken symlinks.
Thijs Alkemade <me@thijsalkema.de>
parents:
diff changeset
   161
 */
5883c460b8cb Updated Sparkle to 1.17.0, to fix a problem when copying broken symlinks.
Thijs Alkemade <me@thijsalkema.de>
parents:
diff changeset
   162
- (void)updater:(SUUpdater *)updater willInstallUpdate:(SUAppcastItem *)item;
5883c460b8cb Updated Sparkle to 1.17.0, to fix a problem when copying broken symlinks.
Thijs Alkemade <me@thijsalkema.de>
parents:
diff changeset
   163
5883c460b8cb Updated Sparkle to 1.17.0, to fix a problem when copying broken symlinks.
Thijs Alkemade <me@thijsalkema.de>
parents:
diff changeset
   164
/*!
5883c460b8cb Updated Sparkle to 1.17.0, to fix a problem when copying broken symlinks.
Thijs Alkemade <me@thijsalkema.de>
parents:
diff changeset
   165
 Returns whether the relaunch should be delayed in order to perform other tasks.
5883c460b8cb Updated Sparkle to 1.17.0, to fix a problem when copying broken symlinks.
Thijs Alkemade <me@thijsalkema.de>
parents:
diff changeset
   166
 
5883c460b8cb Updated Sparkle to 1.17.0, to fix a problem when copying broken symlinks.
Thijs Alkemade <me@thijsalkema.de>
parents:
diff changeset
   167
 This is not called if the user didn't relaunch on the previous update,
5883c460b8cb Updated Sparkle to 1.17.0, to fix a problem when copying broken symlinks.
Thijs Alkemade <me@thijsalkema.de>
parents:
diff changeset
   168
 in that case it will immediately restart.
5883c460b8cb Updated Sparkle to 1.17.0, to fix a problem when copying broken symlinks.
Thijs Alkemade <me@thijsalkema.de>
parents:
diff changeset
   169
 
5883c460b8cb Updated Sparkle to 1.17.0, to fix a problem when copying broken symlinks.
Thijs Alkemade <me@thijsalkema.de>
parents:
diff changeset
   170
 \param updater The SUUpdater instance.
5883c460b8cb Updated Sparkle to 1.17.0, to fix a problem when copying broken symlinks.
Thijs Alkemade <me@thijsalkema.de>
parents:
diff changeset
   171
 \param item The appcast item corresponding to the update that is proposed to be installed.
5883c460b8cb Updated Sparkle to 1.17.0, to fix a problem when copying broken symlinks.
Thijs Alkemade <me@thijsalkema.de>
parents:
diff changeset
   172
 \param invocation The invocation that must be completed with `[invocation invoke]` before continuing with the relaunch.
5883c460b8cb Updated Sparkle to 1.17.0, to fix a problem when copying broken symlinks.
Thijs Alkemade <me@thijsalkema.de>
parents:
diff changeset
   173
 
5883c460b8cb Updated Sparkle to 1.17.0, to fix a problem when copying broken symlinks.
Thijs Alkemade <me@thijsalkema.de>
parents:
diff changeset
   174
 \return \c YES to delay the relaunch until \p invocation is invoked.
5883c460b8cb Updated Sparkle to 1.17.0, to fix a problem when copying broken symlinks.
Thijs Alkemade <me@thijsalkema.de>
parents:
diff changeset
   175
 */
5883c460b8cb Updated Sparkle to 1.17.0, to fix a problem when copying broken symlinks.
Thijs Alkemade <me@thijsalkema.de>
parents:
diff changeset
   176
- (BOOL)updater:(SUUpdater *)updater shouldPostponeRelaunchForUpdate:(SUAppcastItem *)item untilInvoking:(NSInvocation *)invocation;
5883c460b8cb Updated Sparkle to 1.17.0, to fix a problem when copying broken symlinks.
Thijs Alkemade <me@thijsalkema.de>
parents:
diff changeset
   177
5883c460b8cb Updated Sparkle to 1.17.0, to fix a problem when copying broken symlinks.
Thijs Alkemade <me@thijsalkema.de>
parents:
diff changeset
   178
/*!
5883c460b8cb Updated Sparkle to 1.17.0, to fix a problem when copying broken symlinks.
Thijs Alkemade <me@thijsalkema.de>
parents:
diff changeset
   179
 Returns whether the application should be relaunched at all.
5883c460b8cb Updated Sparkle to 1.17.0, to fix a problem when copying broken symlinks.
Thijs Alkemade <me@thijsalkema.de>
parents:
diff changeset
   180
 
5883c460b8cb Updated Sparkle to 1.17.0, to fix a problem when copying broken symlinks.
Thijs Alkemade <me@thijsalkema.de>
parents:
diff changeset
   181
 Some apps \b cannot be relaunched under certain circumstances.
5883c460b8cb Updated Sparkle to 1.17.0, to fix a problem when copying broken symlinks.
Thijs Alkemade <me@thijsalkema.de>
parents:
diff changeset
   182
 This method can be used to explicitly prevent a relaunch.
5883c460b8cb Updated Sparkle to 1.17.0, to fix a problem when copying broken symlinks.
Thijs Alkemade <me@thijsalkema.de>
parents:
diff changeset
   183
 
5883c460b8cb Updated Sparkle to 1.17.0, to fix a problem when copying broken symlinks.
Thijs Alkemade <me@thijsalkema.de>
parents:
diff changeset
   184
 \param updater The SUUpdater instance.
5883c460b8cb Updated Sparkle to 1.17.0, to fix a problem when copying broken symlinks.
Thijs Alkemade <me@thijsalkema.de>
parents:
diff changeset
   185
 */
5883c460b8cb Updated Sparkle to 1.17.0, to fix a problem when copying broken symlinks.
Thijs Alkemade <me@thijsalkema.de>
parents:
diff changeset
   186
- (BOOL)updaterShouldRelaunchApplication:(SUUpdater *)updater;
5883c460b8cb Updated Sparkle to 1.17.0, to fix a problem when copying broken symlinks.
Thijs Alkemade <me@thijsalkema.de>
parents:
diff changeset
   187
5883c460b8cb Updated Sparkle to 1.17.0, to fix a problem when copying broken symlinks.
Thijs Alkemade <me@thijsalkema.de>
parents:
diff changeset
   188
/*!
5883c460b8cb Updated Sparkle to 1.17.0, to fix a problem when copying broken symlinks.
Thijs Alkemade <me@thijsalkema.de>
parents:
diff changeset
   189
 Called immediately before relaunching.
5883c460b8cb Updated Sparkle to 1.17.0, to fix a problem when copying broken symlinks.
Thijs Alkemade <me@thijsalkema.de>
parents:
diff changeset
   190
 
5883c460b8cb Updated Sparkle to 1.17.0, to fix a problem when copying broken symlinks.
Thijs Alkemade <me@thijsalkema.de>
parents:
diff changeset
   191
 \param updater The SUUpdater instance.
5883c460b8cb Updated Sparkle to 1.17.0, to fix a problem when copying broken symlinks.
Thijs Alkemade <me@thijsalkema.de>
parents:
diff changeset
   192
 */
5883c460b8cb Updated Sparkle to 1.17.0, to fix a problem when copying broken symlinks.
Thijs Alkemade <me@thijsalkema.de>
parents:
diff changeset
   193
- (void)updaterWillRelaunchApplication:(SUUpdater *)updater;
5883c460b8cb Updated Sparkle to 1.17.0, to fix a problem when copying broken symlinks.
Thijs Alkemade <me@thijsalkema.de>
parents:
diff changeset
   194
5883c460b8cb Updated Sparkle to 1.17.0, to fix a problem when copying broken symlinks.
Thijs Alkemade <me@thijsalkema.de>
parents:
diff changeset
   195
/*!
5883c460b8cb Updated Sparkle to 1.17.0, to fix a problem when copying broken symlinks.
Thijs Alkemade <me@thijsalkema.de>
parents:
diff changeset
   196
 Returns an object that compares version numbers to determine their arithmetic relation to each other.
5883c460b8cb Updated Sparkle to 1.17.0, to fix a problem when copying broken symlinks.
Thijs Alkemade <me@thijsalkema.de>
parents:
diff changeset
   197
 
5883c460b8cb Updated Sparkle to 1.17.0, to fix a problem when copying broken symlinks.
Thijs Alkemade <me@thijsalkema.de>
parents:
diff changeset
   198
 This method allows you to provide a custom version comparator.
5883c460b8cb Updated Sparkle to 1.17.0, to fix a problem when copying broken symlinks.
Thijs Alkemade <me@thijsalkema.de>
parents:
diff changeset
   199
 If you don't implement this method or return \c nil,
5883c460b8cb Updated Sparkle to 1.17.0, to fix a problem when copying broken symlinks.
Thijs Alkemade <me@thijsalkema.de>
parents:
diff changeset
   200
 the standard version comparator will be used.
5883c460b8cb Updated Sparkle to 1.17.0, to fix a problem when copying broken symlinks.
Thijs Alkemade <me@thijsalkema.de>
parents:
diff changeset
   201
 
5883c460b8cb Updated Sparkle to 1.17.0, to fix a problem when copying broken symlinks.
Thijs Alkemade <me@thijsalkema.de>
parents:
diff changeset
   202
 \sa SUStandardVersionComparator
5883c460b8cb Updated Sparkle to 1.17.0, to fix a problem when copying broken symlinks.
Thijs Alkemade <me@thijsalkema.de>
parents:
diff changeset
   203
 
5883c460b8cb Updated Sparkle to 1.17.0, to fix a problem when copying broken symlinks.
Thijs Alkemade <me@thijsalkema.de>
parents:
diff changeset
   204
 \param updater The SUUpdater instance.
5883c460b8cb Updated Sparkle to 1.17.0, to fix a problem when copying broken symlinks.
Thijs Alkemade <me@thijsalkema.de>
parents:
diff changeset
   205
 */
5883c460b8cb Updated Sparkle to 1.17.0, to fix a problem when copying broken symlinks.
Thijs Alkemade <me@thijsalkema.de>
parents:
diff changeset
   206
- (nullable id<SUVersionComparison>)versionComparatorForUpdater:(SUUpdater *)updater;
5883c460b8cb Updated Sparkle to 1.17.0, to fix a problem when copying broken symlinks.
Thijs Alkemade <me@thijsalkema.de>
parents:
diff changeset
   207
5883c460b8cb Updated Sparkle to 1.17.0, to fix a problem when copying broken symlinks.
Thijs Alkemade <me@thijsalkema.de>
parents:
diff changeset
   208
/*!
5883c460b8cb Updated Sparkle to 1.17.0, to fix a problem when copying broken symlinks.
Thijs Alkemade <me@thijsalkema.de>
parents:
diff changeset
   209
 Returns an object that formats version numbers for display to the user.
5883c460b8cb Updated Sparkle to 1.17.0, to fix a problem when copying broken symlinks.
Thijs Alkemade <me@thijsalkema.de>
parents:
diff changeset
   210
 
5883c460b8cb Updated Sparkle to 1.17.0, to fix a problem when copying broken symlinks.
Thijs Alkemade <me@thijsalkema.de>
parents:
diff changeset
   211
 If you don't implement this method or return \c nil,
5883c460b8cb Updated Sparkle to 1.17.0, to fix a problem when copying broken symlinks.
Thijs Alkemade <me@thijsalkema.de>
parents:
diff changeset
   212
 the standard version formatter will be used.
5883c460b8cb Updated Sparkle to 1.17.0, to fix a problem when copying broken symlinks.
Thijs Alkemade <me@thijsalkema.de>
parents:
diff changeset
   213
 
5883c460b8cb Updated Sparkle to 1.17.0, to fix a problem when copying broken symlinks.
Thijs Alkemade <me@thijsalkema.de>
parents:
diff changeset
   214
 \sa SUUpdateAlert
5883c460b8cb Updated Sparkle to 1.17.0, to fix a problem when copying broken symlinks.
Thijs Alkemade <me@thijsalkema.de>
parents:
diff changeset
   215
 
5883c460b8cb Updated Sparkle to 1.17.0, to fix a problem when copying broken symlinks.
Thijs Alkemade <me@thijsalkema.de>
parents:
diff changeset
   216
 \param updater The SUUpdater instance.
5883c460b8cb Updated Sparkle to 1.17.0, to fix a problem when copying broken symlinks.
Thijs Alkemade <me@thijsalkema.de>
parents:
diff changeset
   217
 */
5883c460b8cb Updated Sparkle to 1.17.0, to fix a problem when copying broken symlinks.
Thijs Alkemade <me@thijsalkema.de>
parents:
diff changeset
   218
- (nullable id<SUVersionDisplay>)versionDisplayerForUpdater:(SUUpdater *)updater;
5883c460b8cb Updated Sparkle to 1.17.0, to fix a problem when copying broken symlinks.
Thijs Alkemade <me@thijsalkema.de>
parents:
diff changeset
   219
5883c460b8cb Updated Sparkle to 1.17.0, to fix a problem when copying broken symlinks.
Thijs Alkemade <me@thijsalkema.de>
parents:
diff changeset
   220
/*!
5883c460b8cb Updated Sparkle to 1.17.0, to fix a problem when copying broken symlinks.
Thijs Alkemade <me@thijsalkema.de>
parents:
diff changeset
   221
 Returns the path which is used to relaunch the client after the update is installed.
5883c460b8cb Updated Sparkle to 1.17.0, to fix a problem when copying broken symlinks.
Thijs Alkemade <me@thijsalkema.de>
parents:
diff changeset
   222
 
5883c460b8cb Updated Sparkle to 1.17.0, to fix a problem when copying broken symlinks.
Thijs Alkemade <me@thijsalkema.de>
parents:
diff changeset
   223
 The default is the path of the host bundle.
5883c460b8cb Updated Sparkle to 1.17.0, to fix a problem when copying broken symlinks.
Thijs Alkemade <me@thijsalkema.de>
parents:
diff changeset
   224
 
5883c460b8cb Updated Sparkle to 1.17.0, to fix a problem when copying broken symlinks.
Thijs Alkemade <me@thijsalkema.de>
parents:
diff changeset
   225
 \param updater The SUUpdater instance.
5883c460b8cb Updated Sparkle to 1.17.0, to fix a problem when copying broken symlinks.
Thijs Alkemade <me@thijsalkema.de>
parents:
diff changeset
   226
 */
5883c460b8cb Updated Sparkle to 1.17.0, to fix a problem when copying broken symlinks.
Thijs Alkemade <me@thijsalkema.de>
parents:
diff changeset
   227
- (nullable NSString *)pathToRelaunchForUpdater:(SUUpdater *)updater;
5883c460b8cb Updated Sparkle to 1.17.0, to fix a problem when copying broken symlinks.
Thijs Alkemade <me@thijsalkema.de>
parents:
diff changeset
   228
5883c460b8cb Updated Sparkle to 1.17.0, to fix a problem when copying broken symlinks.
Thijs Alkemade <me@thijsalkema.de>
parents:
diff changeset
   229
/*!
5883c460b8cb Updated Sparkle to 1.17.0, to fix a problem when copying broken symlinks.
Thijs Alkemade <me@thijsalkema.de>
parents:
diff changeset
   230
 Called before an updater shows a modal alert window,
5883c460b8cb Updated Sparkle to 1.17.0, to fix a problem when copying broken symlinks.
Thijs Alkemade <me@thijsalkema.de>
parents:
diff changeset
   231
 to give the host the opportunity to hide attached windows that may get in the way.
5883c460b8cb Updated Sparkle to 1.17.0, to fix a problem when copying broken symlinks.
Thijs Alkemade <me@thijsalkema.de>
parents:
diff changeset
   232
 
5883c460b8cb Updated Sparkle to 1.17.0, to fix a problem when copying broken symlinks.
Thijs Alkemade <me@thijsalkema.de>
parents:
diff changeset
   233
 \param updater The SUUpdater instance.
5883c460b8cb Updated Sparkle to 1.17.0, to fix a problem when copying broken symlinks.
Thijs Alkemade <me@thijsalkema.de>
parents:
diff changeset
   234
 */
5883c460b8cb Updated Sparkle to 1.17.0, to fix a problem when copying broken symlinks.
Thijs Alkemade <me@thijsalkema.de>
parents:
diff changeset
   235
- (void)updaterWillShowModalAlert:(SUUpdater *)updater;
5883c460b8cb Updated Sparkle to 1.17.0, to fix a problem when copying broken symlinks.
Thijs Alkemade <me@thijsalkema.de>
parents:
diff changeset
   236
5883c460b8cb Updated Sparkle to 1.17.0, to fix a problem when copying broken symlinks.
Thijs Alkemade <me@thijsalkema.de>
parents:
diff changeset
   237
/*!
5883c460b8cb Updated Sparkle to 1.17.0, to fix a problem when copying broken symlinks.
Thijs Alkemade <me@thijsalkema.de>
parents:
diff changeset
   238
 Called after an updater shows a modal alert window,
5883c460b8cb Updated Sparkle to 1.17.0, to fix a problem when copying broken symlinks.
Thijs Alkemade <me@thijsalkema.de>
parents:
diff changeset
   239
 to give the host the opportunity to hide attached windows that may get in the way.
5883c460b8cb Updated Sparkle to 1.17.0, to fix a problem when copying broken symlinks.
Thijs Alkemade <me@thijsalkema.de>
parents:
diff changeset
   240
 
5883c460b8cb Updated Sparkle to 1.17.0, to fix a problem when copying broken symlinks.
Thijs Alkemade <me@thijsalkema.de>
parents:
diff changeset
   241
 \param updater The SUUpdater instance.
5883c460b8cb Updated Sparkle to 1.17.0, to fix a problem when copying broken symlinks.
Thijs Alkemade <me@thijsalkema.de>
parents:
diff changeset
   242
 */
5883c460b8cb Updated Sparkle to 1.17.0, to fix a problem when copying broken symlinks.
Thijs Alkemade <me@thijsalkema.de>
parents:
diff changeset
   243
- (void)updaterDidShowModalAlert:(SUUpdater *)updater;
5883c460b8cb Updated Sparkle to 1.17.0, to fix a problem when copying broken symlinks.
Thijs Alkemade <me@thijsalkema.de>
parents:
diff changeset
   244
5883c460b8cb Updated Sparkle to 1.17.0, to fix a problem when copying broken symlinks.
Thijs Alkemade <me@thijsalkema.de>
parents:
diff changeset
   245
/*!
5883c460b8cb Updated Sparkle to 1.17.0, to fix a problem when copying broken symlinks.
Thijs Alkemade <me@thijsalkema.de>
parents:
diff changeset
   246
 Called when an update is scheduled to be silently installed on quit.
5883c460b8cb Updated Sparkle to 1.17.0, to fix a problem when copying broken symlinks.
Thijs Alkemade <me@thijsalkema.de>
parents:
diff changeset
   247
 This is after an update has been automatically downloaded in the background.
5883c460b8cb Updated Sparkle to 1.17.0, to fix a problem when copying broken symlinks.
Thijs Alkemade <me@thijsalkema.de>
parents:
diff changeset
   248
 (i.e. SUUpdater::automaticallyDownloadsUpdates is YES)
5883c460b8cb Updated Sparkle to 1.17.0, to fix a problem when copying broken symlinks.
Thijs Alkemade <me@thijsalkema.de>
parents:
diff changeset
   249
 
5883c460b8cb Updated Sparkle to 1.17.0, to fix a problem when copying broken symlinks.
Thijs Alkemade <me@thijsalkema.de>
parents:
diff changeset
   250
 \param updater The SUUpdater instance.
5883c460b8cb Updated Sparkle to 1.17.0, to fix a problem when copying broken symlinks.
Thijs Alkemade <me@thijsalkema.de>
parents:
diff changeset
   251
 \param item The appcast item corresponding to the update that is proposed to be installed.
5883c460b8cb Updated Sparkle to 1.17.0, to fix a problem when copying broken symlinks.
Thijs Alkemade <me@thijsalkema.de>
parents:
diff changeset
   252
 \param invocation Can be used to trigger an immediate silent install and relaunch.
5883c460b8cb Updated Sparkle to 1.17.0, to fix a problem when copying broken symlinks.
Thijs Alkemade <me@thijsalkema.de>
parents:
diff changeset
   253
 */
5883c460b8cb Updated Sparkle to 1.17.0, to fix a problem when copying broken symlinks.
Thijs Alkemade <me@thijsalkema.de>
parents:
diff changeset
   254
- (void)updater:(SUUpdater *)updater willInstallUpdateOnQuit:(SUAppcastItem *)item immediateInstallationInvocation:(NSInvocation *)invocation;
5883c460b8cb Updated Sparkle to 1.17.0, to fix a problem when copying broken symlinks.
Thijs Alkemade <me@thijsalkema.de>
parents:
diff changeset
   255
5883c460b8cb Updated Sparkle to 1.17.0, to fix a problem when copying broken symlinks.
Thijs Alkemade <me@thijsalkema.de>
parents:
diff changeset
   256
/*!
5883c460b8cb Updated Sparkle to 1.17.0, to fix a problem when copying broken symlinks.
Thijs Alkemade <me@thijsalkema.de>
parents:
diff changeset
   257
 Calls after an update that was scheduled to be silently installed on quit has been canceled.
5883c460b8cb Updated Sparkle to 1.17.0, to fix a problem when copying broken symlinks.
Thijs Alkemade <me@thijsalkema.de>
parents:
diff changeset
   258
 
5883c460b8cb Updated Sparkle to 1.17.0, to fix a problem when copying broken symlinks.
Thijs Alkemade <me@thijsalkema.de>
parents:
diff changeset
   259
 \param updater The SUUpdater instance.
5883c460b8cb Updated Sparkle to 1.17.0, to fix a problem when copying broken symlinks.
Thijs Alkemade <me@thijsalkema.de>
parents:
diff changeset
   260
 \param item The appcast item corresponding to the update that was proposed to be installed.
5883c460b8cb Updated Sparkle to 1.17.0, to fix a problem when copying broken symlinks.
Thijs Alkemade <me@thijsalkema.de>
parents:
diff changeset
   261
 */
5883c460b8cb Updated Sparkle to 1.17.0, to fix a problem when copying broken symlinks.
Thijs Alkemade <me@thijsalkema.de>
parents:
diff changeset
   262
- (void)updater:(SUUpdater *)updater didCancelInstallUpdateOnQuit:(SUAppcastItem *)item;
5883c460b8cb Updated Sparkle to 1.17.0, to fix a problem when copying broken symlinks.
Thijs Alkemade <me@thijsalkema.de>
parents:
diff changeset
   263
5883c460b8cb Updated Sparkle to 1.17.0, to fix a problem when copying broken symlinks.
Thijs Alkemade <me@thijsalkema.de>
parents:
diff changeset
   264
/*!
5883c460b8cb Updated Sparkle to 1.17.0, to fix a problem when copying broken symlinks.
Thijs Alkemade <me@thijsalkema.de>
parents:
diff changeset
   265
 Called after an update is aborted due to an error.
5883c460b8cb Updated Sparkle to 1.17.0, to fix a problem when copying broken symlinks.
Thijs Alkemade <me@thijsalkema.de>
parents:
diff changeset
   266
 
5883c460b8cb Updated Sparkle to 1.17.0, to fix a problem when copying broken symlinks.
Thijs Alkemade <me@thijsalkema.de>
parents:
diff changeset
   267
 \param updater The SUUpdater instance.
5883c460b8cb Updated Sparkle to 1.17.0, to fix a problem when copying broken symlinks.
Thijs Alkemade <me@thijsalkema.de>
parents:
diff changeset
   268
 \param error The error that caused the abort
5883c460b8cb Updated Sparkle to 1.17.0, to fix a problem when copying broken symlinks.
Thijs Alkemade <me@thijsalkema.de>
parents:
diff changeset
   269
 */
5883c460b8cb Updated Sparkle to 1.17.0, to fix a problem when copying broken symlinks.
Thijs Alkemade <me@thijsalkema.de>
parents:
diff changeset
   270
- (void)updater:(SUUpdater *)updater didAbortWithError:(NSError *)error;
5883c460b8cb Updated Sparkle to 1.17.0, to fix a problem when copying broken symlinks.
Thijs Alkemade <me@thijsalkema.de>
parents:
diff changeset
   271
5883c460b8cb Updated Sparkle to 1.17.0, to fix a problem when copying broken symlinks.
Thijs Alkemade <me@thijsalkema.de>
parents:
diff changeset
   272
@end
5883c460b8cb Updated Sparkle to 1.17.0, to fix a problem when copying broken symlinks.
Thijs Alkemade <me@thijsalkema.de>
parents:
diff changeset
   273
5883c460b8cb Updated Sparkle to 1.17.0, to fix a problem when copying broken symlinks.
Thijs Alkemade <me@thijsalkema.de>
parents:
diff changeset
   274
NS_ASSUME_NONNULL_END