mirror of
https://github.com/sparkle-project/Sparkle
synced 2026-11-24 04:38:16 +00:00
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.
28 lines
720 B
Objective-C
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
|