Browse Source

APPLEMAIL-33 Refactor some function names.

APPLEMAIL-33
David Alarcon 2 years ago
parent
commit
755bef2add
2 changed files with 7 additions and 7 deletions
  1. +6
    -6
      Submodules/pEpNotifications/PEPUpdatesApp/AppDelegate.swift
  2. +1
    -1
      pEpMacOSAdapter/main.m

+ 6
- 6
Submodules/pEpNotifications/PEPUpdatesApp/AppDelegate.swift View File

@ -102,11 +102,11 @@ extension AppDelegate {
}
}
private func initUpdateDownloadXPCConnection() {
private func startUpdateDownloadXPCConnection() {
updateDownloadClientService.start()
}
private func initUpdateDownloadNotificationService() {
private func startUpdateDownloadNotificationService() {
notificationService.start()
}
@ -238,11 +238,11 @@ extension AppDelegate: NSApplicationDelegate {
downloadStateNotifier.notify(.Connecting)
// connect to XPC service
initUpdateDownloadXPCConnection()
// start XPC service
startUpdateDownloadXPCConnection()
// init client callback service
initUpdateDownloadNotificationService()
// start client callback service
startUpdateDownloadNotificationService()
// subscribe and schedule updates
setupServiceSubscription()


+ 1
- 1
pEpMacOSAdapter/main.m View File

@ -28,7 +28,7 @@ int main(int argc, const char *argv[])
[updateDownloadService start];
// Create an instance of the PEP ObjC wrapper Adapter and start it
PEPObjCAdapterXPCService *objCAdapterService = [[PEPObjCAdapterXPCService alloc] init];
PEPObjCAdapterXPCService *objCAdapterService = [PEPObjCAdapterXPCService new];
[objCAdapterService start];
NSLog(@"going into main runLoop");


Loading…
Cancel
Save