Files
Sparkle/InstallerConnection/SUInstallerConnectionProtocol.h
T
Zorg a65a7346cf Fix 10.8 bug by re-declaring method in Installer connection protocol
Even though the method is declared in the super protocol type, the XPC decoder on older systems (i.e, 10.8) doesn't parse methods there.
2016-07-12 23:25:27 -04:00

28 lines
720 B
Objective-C

//
// SUInstallerConnectionProtocol.h
// InstallerConnection
//
// Created by Mayur Pawashe on 7/9/16.
// Copyright © 2016 Sparkle Project. All rights reserved.
//
#import <Foundation/Foundation.h>
#import "SUInstallerCommunicationProtocol.h"
NS_ASSUME_NONNULL_BEGIN
@protocol SUInstallerConnectionProtocol <SUInstallerCommunicationProtocol>
// This method is declared in SUInstallerCommunicationProtocol too, but the XPC decoder on macOS 10.8 doesn't know that
- (void)handleMessageWithIdentifier:(int32_t)identifier data:(NSData *)data;
- (void)setInvalidationHandler:(void (^)(void))invalidationHandler;
- (void)setServiceName:(NSString *)serviceName;
- (void)invalidate;
@end
NS_ASSUME_NONNULL_END