Browse Source

APPLEMAIL-33 Add documentation to PEPNotificationXPCServiceDelegate.

APPLEMAIL-33
David Alarcon 1 year ago
parent
commit
d551a8aee5
2 changed files with 12 additions and 1 deletions
  1. +1
    -1
      Submodules/PEPUpdatesXPCService/PEPUpdatesXPCService/PEPNotificationXPCService/PEPNotificationXPCClient/XPCService/PEPNotificationXPCClientService.m
  2. +11
    -0
      Submodules/PEPUpdatesXPCService/PEPUpdatesXPCService/PEPNotificationXPCService/PEPNotificationXPCService/Interface/PEPNotificationXPCServiceDelegate.h

+ 1
- 1
Submodules/PEPUpdatesXPCService/PEPUpdatesXPCService/PEPNotificationXPCService/PEPNotificationXPCClient/XPCService/PEPNotificationXPCClientService.m View File

@ -27,7 +27,7 @@
- (instancetype)initWithListenerEndpoint:(NSXPCListenerEndpoint *)xpcListenerEndpoint
updateDownloader:(PEPUpdateDownloader *)updateDownloader {
if (self = [super init]) {
_endpoint = endpoint;
_endpoint = xpcListenerEndpoint;
_updateDownloader = updateDownloader;
}


+ 11
- 0
Submodules/PEPUpdatesXPCService/PEPUpdatesXPCService/PEPNotificationXPCService/PEPNotificationXPCService/Interface/PEPNotificationXPCServiceDelegate.h View File

@ -9,11 +9,22 @@
NS_ASSUME_NONNULL_BEGIN
/// Protocol that manages the update download notifications.
@protocol PEPNotificationXPCServiceDelegate <NSObject>
/// An update is downloading.
/// @param name The name of the pEp product.
- (void)pEpNotificationIsDownloadingWithName:(NSString *)name;
/// An update has downloaded.
/// @param name The name of the pEp product.
/// @param filename The filename of the pEp product.
- (void)pEpNotificationDownloadDidArriveWithName:(NSString *)name filename:(NSString *)filename;
/// No update available.
- (void)pEpNotificationNoDownloadAvailable;
/// Ready to download updates and send notifications.
- (void)pEpNotificationReady;
@end


Loading…
Cancel
Save