Browse Source

APPLEMAIL-33 PEPUpdatesXPCService module is used by PEPUpdatesApp.

APPLEMAIL-33
David Alarcon 2 years ago
parent
commit
88796906e8
5 changed files with 56 additions and 8 deletions
  1. +32
    -4
      Submodules/PEPUpdatesXPCService/PEPUpdatesXPCService.xcodeproj/project.pbxproj
  2. +9
    -4
      Submodules/PEPUpdatesXPCService/PEPUpdatesXPCService/PEPUpdatesXPCService.h
  3. +12
    -0
      Submodules/PEPUpdatesXPCService/PEPUpdatesXPCService/PEPUpdatesXPCService.m
  4. +2
    -0
      Submodules/pEpNotifications/PEPUpdatesApp.xcodeproj/project.pbxproj
  5. +1
    -0
      Submodules/pEpNotifications/PEPUpdatesApp/AppDelegate.swift

+ 32
- 4
Submodules/PEPUpdatesXPCService/PEPUpdatesXPCService.xcodeproj/project.pbxproj View File

@ -25,7 +25,9 @@
4E797D8C25D543520090F900 /* libdownloadclient.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 4E797D2225D53CCC0090F900 /* libdownloadclient.a */; };
4EA193EA25D6829B00F5D802 /* PEPNotificationXPCApi.h in Headers */ = {isa = PBXBuildFile; fileRef = 4EA193E825D6829B00F5D802 /* PEPNotificationXPCApi.h */; };
4EA193EB25D6829B00F5D802 /* PEPNotificationXPCApi.m in Sources */ = {isa = PBXBuildFile; fileRef = 4EA193E925D6829B00F5D802 /* PEPNotificationXPCApi.m */; };
4EFEDAD425D6C54F00EF9E09 /* PEPUpdatesXPCService.h in CopyFiles */ = {isa = PBXBuildFile; fileRef = 4EFEDAD125D6C4A300EF9E09 /* PEPUpdatesXPCService.h */; };
4EC7BADE25DA6AB100F42C5B /* PEPUpdatesXPCService.h in Headers */ = {isa = PBXBuildFile; fileRef = 4EC7BADC25DA6AB100F42C5B /* PEPUpdatesXPCService.h */; settings = {ATTRIBUTES = (Public, ); }; };
4EC7BADF25DA6AB100F42C5B /* PEPUpdatesXPCService.m in Sources */ = {isa = PBXBuildFile; fileRef = 4EC7BADD25DA6AB100F42C5B /* PEPUpdatesXPCService.m */; };
4EC7BB1225DA6E3300F42C5B /* PEPUpdatesXPCService.h in CopyFiles */ = {isa = PBXBuildFile; fileRef = 4EC7BADC25DA6AB100F42C5B /* PEPUpdatesXPCService.h */; };
4EFEDAD625D6C55100EF9E09 /* module.modulemap in CopyFiles */ = {isa = PBXBuildFile; fileRef = 4EFEDAB425D6C2C000EF9E09 /* module.modulemap */; };
/* End PBXBuildFile section */
@ -36,7 +38,7 @@
dstPath = "include/$(PRODUCT_NAME)";
dstSubfolderSpec = 16;
files = (
4EFEDAD425D6C54F00EF9E09 /* PEPUpdatesXPCService.h in CopyFiles */,
4EC7BB1225DA6E3300F42C5B /* PEPUpdatesXPCService.h in CopyFiles */,
4EFEDAD625D6C55100EF9E09 /* module.modulemap in CopyFiles */,
);
runOnlyForDeploymentPostprocessing = 0;
@ -64,8 +66,9 @@
4E797D2225D53CCC0090F900 /* libdownloadclient.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; path = libdownloadclient.a; sourceTree = BUILT_PRODUCTS_DIR; };
4EA193E825D6829B00F5D802 /* PEPNotificationXPCApi.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = PEPNotificationXPCApi.h; sourceTree = "<group>"; };
4EA193E925D6829B00F5D802 /* PEPNotificationXPCApi.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = PEPNotificationXPCApi.m; sourceTree = "<group>"; };
4EC7BADC25DA6AB100F42C5B /* PEPUpdatesXPCService.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = PEPUpdatesXPCService.h; sourceTree = "<group>"; };
4EC7BADD25DA6AB100F42C5B /* PEPUpdatesXPCService.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = PEPUpdatesXPCService.m; sourceTree = "<group>"; };
4EFEDAB425D6C2C000EF9E09 /* module.modulemap */ = {isa = PBXFileReference; lastKnownFileType = "sourcecode.module-map"; path = module.modulemap; sourceTree = "<group>"; };
4EFEDAD125D6C4A300EF9E09 /* PEPUpdatesXPCService.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = PEPUpdatesXPCService.h; sourceTree = "<group>"; };
/* End PBXFileReference section */
/* Begin PBXFrameworksBuildPhase section */
@ -207,7 +210,8 @@
4E61824525D59EC9007E040F /* Shared */,
4E797BAE25D5255F0090F900 /* PEPUpdateDownloadXPCService */,
4E797BA825D5255F0090F900 /* PEPNotificationXPCService */,
4EFEDAD125D6C4A300EF9E09 /* PEPUpdatesXPCService.h */,
4EC7BADC25DA6AB100F42C5B /* PEPUpdatesXPCService.h */,
4EC7BADD25DA6AB100F42C5B /* PEPUpdatesXPCService.m */,
4EFEDAB425D6C2C000EF9E09 /* module.modulemap */,
);
path = PEPUpdatesXPCService;
@ -290,6 +294,7 @@
4E797BBD25D5255F0090F900 /* PEPUpdateDownloadXPCApi.h in Headers */,
4E797BC025D5255F0090F900 /* PEPUpdateDownloadXPCService.h in Headers */,
4E61824D25D5A4C5007E040F /* PEPNotificationXPCServiceDelegate.h in Headers */,
4EC7BADE25DA6AB100F42C5B /* PEPUpdatesXPCService.h in Headers */,
4EA193EA25D6829B00F5D802 /* PEPNotificationXPCApi.h in Headers */,
4E797BBB25D5255F0090F900 /* PEPUpdateDownloadXPCApiProtocol.h in Headers */,
4E61823A25D59701007E040F /* PEPNotificationApiClientService.h in Headers */,
@ -307,6 +312,7 @@
4E797B9025D523FD0090F900 /* Sources */,
4E797B9125D523FD0090F900 /* Frameworks */,
4EFEDAD325D6C53D00EF9E09 /* CopyFiles */,
4EC7BB2E25DA6E9000F42C5B /* Copy artefacts to custom build dir */,
);
buildRules = (
);
@ -349,11 +355,33 @@
};
/* End PBXProject section */
/* Begin PBXShellScriptBuildPhase section */
4EC7BB2E25DA6E9000F42C5B /* Copy artefacts to custom build dir */ = {
isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647;
files = (
);
inputFileListPaths = (
);
inputPaths = (
);
name = "Copy artefacts to custom build dir";
outputFileListPaths = (
);
outputPaths = (
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "CUSTOM_BUILD_DIR=${PROJECT_DIR}/build\nmkdir -p ${CUSTOM_BUILD_DIR}\necho \"{BUILD_DIR}: ${BUILD_DIR}\"\nREAL_BUILD_DIR=${BUILD_DIR}/${CONFIGURATION}${EFFECTIVE_PLATFORM_NAME}\necho \"{REAL_BUILD_DIR}: ${REAL_BUILD_DIR}\"\ncp -R \"${REAL_BUILD_DIR}/usr/local/include\" ${CUSTOM_BUILD_DIR}\ncp \"${REAL_BUILD_DIR}/libPEPUpdatesXPCService.a\" ${CUSTOM_BUILD_DIR}\n";
};
/* End PBXShellScriptBuildPhase section */
/* Begin PBXSourcesBuildPhase section */
4E797B9025D523FD0090F900 /* Sources */ = {
isa = PBXSourcesBuildPhase;
buildActionMask = 2147483647;
files = (
4EC7BADF25DA6AB100F42C5B /* PEPUpdatesXPCService.m in Sources */,
4E61823B25D59701007E040F /* PEPNotificationApiClientService.m in Sources */,
4E797BBE25D5255F0090F900 /* PEPUpdateDownloadXPCService.m in Sources */,
4E797BB925D5255F0090F900 /* PEPNotificationXPCService.m in Sources */,


+ 9
- 4
Submodules/PEPUpdatesXPCService/PEPUpdatesXPCService/PEPUpdatesXPCService.h View File

@ -2,11 +2,10 @@
// PEPUpdatesXPCService.h
// PEPUpdatesXPCService
//
// Created by David Alarcon on 12/2/21.
// Created by David Alarcon on 15/2/21.
//
#ifndef PEPUpdatesXPCService_h
#define PEPUpdatesXPCService_h
#import <Foundation/Foundation.h>
#import "PEPUpdateDownloadXPCApiProtocol.h"
#import "PEPUpdateDownloadApiClientService.h"
@ -16,4 +15,10 @@
#import "PEPNotificationXPCServiceDelegate.h"
#import "PEPNotificationXPCService.h"
#endif /* PEPUpdatesXPCService_h */
NS_ASSUME_NONNULL_BEGIN
@interface PEPUpdatesXPCService : NSObject
@end
NS_ASSUME_NONNULL_END

+ 12
- 0
Submodules/PEPUpdatesXPCService/PEPUpdatesXPCService/PEPUpdatesXPCService.m View File

@ -0,0 +1,12 @@
//
// PEPUpdatesXPCService.m
// PEPUpdatesXPCService
//
// Created by David Alarcon on 15/2/21.
//
#import "PEPUpdatesXPCService.h"
@implementation PEPUpdatesXPCService
@end

+ 2
- 0
Submodules/pEpNotifications/PEPUpdatesApp.xcodeproj/project.pbxproj View File

@ -289,6 +289,7 @@
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
HEADER_SEARCH_PATHS = "${PROJECT_DIR}/../PEPUpdatesXPCService/build/include";
MACOSX_DEPLOYMENT_TARGET = 10.10;
MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE;
MTL_FAST_MATH = YES;
@ -349,6 +350,7 @@
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
HEADER_SEARCH_PATHS = "${PROJECT_DIR}/../PEPUpdatesXPCService/build/include";
MACOSX_DEPLOYMENT_TARGET = 10.10;
MTL_ENABLE_DEBUG_INFO = NO;
MTL_FAST_MATH = YES;


+ 1
- 0
Submodules/pEpNotifications/PEPUpdatesApp/AppDelegate.swift View File

@ -9,6 +9,7 @@
import Cocoa
import SwiftUI
import PEPUpdatesXPCService
enum DNType : Int { case ready = 0, downloading, downloadArrived, noDownloadAvailable }


Loading…
Cancel
Save