Include SUStatusInfoProtocol methods in SUInstallerStatusProtocol to fix 10.8 compatiblity issues

This commit is contained in:
Zorg committed 2016-07-23 23:57:20 -04:00
1 parent d98fe465b5
commit ad950beab6
1 file changed
+8
@@ -9,9 +9,15 @@
#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>
// Include SUStatusInfoProtocol protocol methods because XPC on 10.8 won't know about them
- (void)probeStatusInfoWithReply:(void (^)(NSData * _Nullable installationInfoData))reply;
- (void)probeStatusConnectivityWithReply:(void (^)(void))reply;
- (void)setInvalidationHandler:(void (^)(void))invalidationHandler;
- (void)setServiceName:(NSString *)serviceName;
@@ -19,3 +25,5 @@
- (void)invalidate;
@end
NS_ASSUME_NONNULL_END