Files
Sparkle/InstallerStatus/SUInstallerStatusProtocol.h
T
Zorg 3200029157 Include adopted protocol methods in SUInstallerStatusProtocol
This is because of compatibility issues with 10.8
2016-07-23 23:31:00 -04:00

32 lines
1.0 KiB
Objective-C

//
// SUInstallerStatusProtocol.h
// InstallerStatus
//
// Created by Mayur Pawashe on 7/10/16.
// Copyright © 2016 Sparkle Project. All rights reserved.
//
#import <Foundation/Foundation.h>
#import "SUStatusInfoProtocol.h"
NS_ASSUME_NONNULL_BEGIN
// The protocol that this service will vend as its API. This header file will also need to be visible to the process hosting the service.
@protocol SUInstallerStatusProtocol <SUStatusInfoProtocol>
// Even though this is declared in SUStatusInfoProtocol, we should declare it here because macOS 10.8 doesn't traverse adopted protocols
- (void)probeStatusInfoWithReply:(void (^)(NSData * _Nullable installationInfoData))reply;
// Even though this is declared in SUStatusInfoProtocol, we should declare it here because macOS 10.8 doesn't traverse adopted protocols
- (void)probeStatusConnectivityWithReply:(void (^)(void))reply;
- (void)setInvalidationHandler:(void (^)(void))invalidationHandler;
- (void)setServiceName:(NSString *)serviceName;
- (void)invalidate;
@end
NS_ASSUME_NONNULL_END