|
|
@ -14,9 +14,15 @@ static NSString *pEpUpdateDownloadXPCMachName = @"foundation.pEp.adapter.macOS_O |
|
|
|
/// Provides the XPC interface for update downloads to pEp updates app. |
|
|
|
@protocol PEPUpdateDownloadXPCApiProtocol |
|
|
|
|
|
|
|
/// Subscribe to the notifications about update downloads status. |
|
|
|
/// @param xpcListenerEndpoint The anonymous endpoint from the update download notification |
|
|
|
/// status service in pEp updates app. |
|
|
|
/// Subscribe to receive notifications about update downloads status. |
|
|
|
/// @param xpcListenerEndpoint The endpoint from the notification status service. |
|
|
|
/// @code |
|
|
|
/// PEPNotificationXPCService *service = [[PEPNotificationXPCService alloc] initWithDelegate:self]; |
|
|
|
/// NSXPCListenerEndpoint *endpoint = service.xpcListenerEndpoint; |
|
|
|
/// |
|
|
|
/// [self subscribeForUpdate:edpoint]; |
|
|
|
/// @endcode |
|
|
|
/// @discussion Method where we combine the two services together |
|
|
|
- (void)subscribeForUpdate:(NSXPCListenerEndpoint*)xpcListenerEndpoint; |
|
|
|
|
|
|
|
/// Unsubscribe from receiving notifications about update downloads status. |
|
|
|