Files
Sparkle/Sparkle/SPUProbeInstallStatus.h
T
Zorg def9a599a3 More SU -> SPU renaming
Some of these class names conflicted with the official branch even though they are almost nothing like code-wise now.
2016-09-04 18:21:41 -04:00

26 lines
774 B
Objective-C

//
// SPUProbeInstallStatus.h
// Sparkle
//
// Created by Mayur Pawashe on 3/20/16.
// Copyright © 2016 Sparkle Project. All rights reserved.
//
#import <Foundation/Foundation.h>
NS_ASSUME_NONNULL_BEGIN
@class SPUInstallationInfo;
@interface SPUProbeInstallStatus : NSObject
+ (void)probeInstallerInProgressForHostBundleIdentifier:(NSString *)hostBundleIdentifier completion:(void (^)(BOOL))completionHandler;
// completionHandler may not be sent on main queue
// additionally, it may be possible that the installer is in progress but we get a nil installation info back
+ (void)probeInstallerUpdateItemForHostBundleIdentifier:(NSString *)hostBundleIdentifier completion:(void (^)(SPUInstallationInfo * _Nullable))completionHandler;
@end
NS_ASSUME_NONNULL_END