Files
Sparkle/Sparkle/SURemoteMessagePort.h
T
Zorg 59bbcfadb0 Initial work on separating the updater & installer
The installer (Autoupdate.app) is now responsible for extracting & verifying the update.
It talks to the updater via mach ports. We can't afford to use a XPC service due to
lack of perfoming privileged tasks.
2016-03-10 01:49:59 -05:00

24 lines
505 B
Objective-C

//
// SURemoteMessagePort.h
// Sparkle
//
// Created by Mayur Pawashe on 3/9/16.
// Copyright © 2016 Sparkle Project. All rights reserved.
//
#import <Foundation/Foundation.h>
NS_ASSUME_NONNULL_BEGIN
@interface SURemoteMessagePort : NSObject
- (nullable instancetype)initWithServiceName:(NSString *)serviceName invalidationCallback:(void (^)(void))invalidationCallback;
- (BOOL)sendMessageWithIdentifier:(int32_t)identifier data:(NSData *)data;
- (void)invalidate;
@end
NS_ASSUME_NONNULL_END