|
|
@ -11,26 +11,24 @@ |
|
|
|
|
|
|
|
static NSString *pEpUpdateDownloadXPCMachName = @"foundation.pEp.adapter.macOS_OpenStep"; |
|
|
|
|
|
|
|
/// This protocol is providing the XPC interface to the User Interface |
|
|
|
/// This protocol is providing the XPC interface for update downloads to pEp updates app. |
|
|
|
@protocol PEPUpdateDownloadXPCApiProtocol |
|
|
|
|
|
|
|
/** |
|
|
|
subscribe to the published notifications about downloads arriving |
|
|
|
|
|
|
|
- Parameter endpoint |
|
|
|
*/ |
|
|
|
/// Subscribe to the notifications about update downloads status. |
|
|
|
/// @param endpoint The anonymous endpoint from the update download notification status service |
|
|
|
/// in pEp updates app. |
|
|
|
- (void)subscribeForUpdate:(NSXPCListenerEndpoint*)endpoint; |
|
|
|
|
|
|
|
/// unsubscribe from receiving notifications about downloads arriving |
|
|
|
/// Unsubscribe from receiving notifications about update downloads status. |
|
|
|
- (void)unsubscribeForUpdate; |
|
|
|
|
|
|
|
/// search for immediate updates |
|
|
|
/// Check for update downloads. |
|
|
|
- (void)updateNow; |
|
|
|
|
|
|
|
/// schedules updates each 2 hours |
|
|
|
/// Schedules check for update downloads every 2 hours. |
|
|
|
- (void)scheduleUpdates; |
|
|
|
|
|
|
|
/// stop auto updates |
|
|
|
/// Stop schedule the update downloads. |
|
|
|
- (void)stopUpdates; |
|
|
|
|
|
|
|
@end |