🛸 Update macOS private headers from 10.14.4

This commit is contained in:
Ben Chatelain 2019-03-30 09:10:07 -06:00
parent 8e8ecc1ac2
commit 6e62bdfb1c
22 changed files with 108 additions and 153 deletions

View file

@ -4,27 +4,18 @@
// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard.
//
@import Cocoa;
//#import "NSObject.h"
//#import "CKServiceInterface.h"
//#import "ISStoreURLOperationDelegate.h"
@import Foundation;
@class CKDemoAccount, CKStoreAccount, CKStoreClient, ISStoreAccount, NSArray;
@class NSString;
NS_ASSUME_NONNULL_BEGIN
@interface CKAccountStore : NSObject
{
// CKStoreClient *_storeClient;
CKStoreClient *_storeClient;
}
+ (CKAccountStore *)sharedAccountStore;
+ (instancetype)sharedAccountStore;
+ (id)accountStoreForStoreClient:(id)arg1;
@property(readonly) CKStoreClient *storeClient; // @synthesize storeClient=_storeClient;
@ -42,12 +33,10 @@ NS_ASSUME_NONNULL_BEGIN
//- (void)signInWithSuggestedAppleID:(id)arg1 allowChangeOfAppleID:(BOOL)arg2 completionHandler:(CDUnknownBlockType)arg3;
- (void)signIn;
- (void)addAccount:(id)arg1;
@property(readonly) NSArray *accounts;
- (id)accountWithAppleID:(id)arg1;
- (id)accountForDSID:(id)arg1;
@property(readonly) BOOL primaryAccountIsPresentAndSignedIn;
@property(readonly) ISStoreAccount *primaryAccount;
- (void)removePrimaryAccountObserver:(id)arg1;
@ -62,6 +51,7 @@ NS_ASSUME_NONNULL_BEGIN
- (void)signOut;
- (id)storeAccountForAppleID:(id)arg1;
- (id)storeAccountForDSID:(id)arg1;
@property(readonly) BOOL primaryAccountIsPresentAndSignedIn;
@property(readonly) CKStoreAccount *primaryStoreAccount;
@property(readonly) CKDemoAccount *demoAccount;
@property(readonly) BOOL isDemoModeEnabled;

View file

@ -5,13 +5,9 @@
//
#import "CKServiceInterface.h"
//#import <StoreFoundation/SSPurchase.h>
@import StoreFoundation;
@class NSArray, NSMutableArray, NSNumber;
@class SSPurchaseResponse;
NS_ASSUME_NONNULL_BEGIN
typedef void (^SSPurchaseCompletion)(SSPurchase * _Nullable purchase, BOOL completed, NSError * _Nullable error, SSPurchaseResponse * _Nullable response);
@ -23,23 +19,27 @@ typedef void (^SSPurchaseCompletion)(SSPurchase * _Nullable purchase, BOOL compl
NSArray *_adoptionEligibleItems;
NSNumber *_adoptionServerStatus;
NSNumber *_adoptionErrorNumber;
// CDUnknownBlockType _dialogHandler;
}
+ (void)setNeedsSilentMachineAuthorization:(BOOL)arg1;
+ (CKPurchaseController *)sharedPurchaseController;
+ (instancetype)sharedPurchaseController;
//@property(copy) CDUnknownBlockType dialogHandler; // @synthesize dialogHandler=_dialogHandler;
//- (void).cxx_destruct;
//- (BOOL)adoptionCompletedForBundleID:(id)arg1;
//- (void)_performVPPReceiptRenewal;
//- (void)checkServerDownloadQueue;
//- (id)purchaseInProgressForProductID:(id)arg1;
//- (id)purchasesInProgress;
//- (void)cancelPurchaseWithProductID:(id)arg1;
//- (void)resumeDownloadForPurchasedProductID:(id)arg1;
//- (void)startPurchases:(NSArray<SSPurchase *> *)purchases shouldStartDownloads:(BOOL)downloads eventHandler:(CDUnknownBlockType)arg3;
//- (void)startPurchases:(NSArray<SSPurchase *> *)purchases withOptions:(unsigned long long)arg2 completionHandler:(CDUnknownBlockType)arg3;
- (BOOL)adoptionCompletedForBundleID:(id)arg1;
- (void)_performVPPReceiptRenewal;
- (void)checkServerDownloadQueue;
- (id)purchaseInProgressForProductID:(id)arg1;
- (id)purchasesInProgress;
- (void)cancelPurchaseWithProductID:(id)arg1;
- (void)resumeDownloadForPurchasedProductID:(id)arg1;
//- (void)startPurchases:(id)arg1 shouldStartDownloads:(BOOL)arg2 eventHandler:(CDUnknownBlockType)arg3;
//- (void)startPurchases:(id)arg1 withOptions:(unsigned long long)arg2 completionHandler:(CDUnknownBlockType)arg3;
- (void)performPurchase:(SSPurchase *)purchase withOptions:(unsigned long long)arg2 completionHandler:(SSPurchaseCompletion _Nullable)completionHandler;

View file

@ -4,8 +4,6 @@
// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard.
//
@import StoreFoundation;
//#import <StoreFoundation/ISServiceProxy.h>
#import "ISServiceProxy.h"
@interface CKServiceInterface : ISServiceProxy

View file

@ -6,8 +6,6 @@
#import "CKServiceInterface.h"
@import StoreFoundation;
@class CKSoftwareMapObserver, NSMutableDictionary;
NS_ASSUME_NONNULL_BEGIN
@ -19,12 +17,16 @@ NS_ASSUME_NONNULL_BEGIN
}
+ (instancetype)sharedSoftwareMap;
@property(retain, nonatomic) CKSoftwareMapObserver *sharedObserver; // @synthesize sharedObserver=_sharedObserver;
@property(retain, nonatomic) NSMutableDictionary *productsObservers; // @synthesize productsObservers=_productsObservers;
//- (void).cxx_destruct;
// Added 10.14.4
//- (void)startAdoptionEligibilityCheckWithReplyBlock:(CDUnknownBlockType)arg1;
// Added 10.14.4
- (id)adopt:(id)arg1;
- (id)adoptableBundleIdentifiers;
- (BOOL)adoptionCompletedForBundleID:(id)arg1 adoptingDSID:(out _Nullable id * _Nullable)arg2 appleID:(out _Nullable id * _Nullable)arg3;

View file

@ -4,13 +4,10 @@
// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard.
//
// #import <CommerceKit/CKServiceInterface.h>
#import "CKServiceInterface.h"
@class CKUpdateControllerClient, NSMutableDictionary;
@class CKUpdate;
NS_ASSUME_NONNULL_BEGIN
@interface CKUpdateController : CKServiceInterface

View file

@ -5,7 +5,7 @@
//
@import StoreFoundation;
//#import <StoreFoundation/ISURLOperationDelegate.h>
#import "ISURLOperationDelegate.h"
@class ISStoreURLOperation, NSNumber, NSString;

View file

@ -5,11 +5,6 @@
//
@import Foundation;
// #import <Foundation/NSZone.h>
//#import "NSObject.h"
//#import "NSCopying.h"
//#import "NSSecureCoding.h"
@class NSDate, NSNumber, NSString, NSValue;
@ -23,8 +18,12 @@ NS_ASSUME_NONNULL_BEGIN
BOOL _isMachineLicensed;
BOOL _isLegacyApp;
BOOL _metadataChangeIsExpected;
// Added 10.14.4
BOOL _metadataChangeHasAlreadyOccurred;
NSString *_accountOpaqueDSID;
NSString *_accountIdentifier;
// Added 10.14.4
NSString *_appName;
NSString *_bundleIdentifier;
NSString *_bundleVersion;
NSString *_bundlePath;
@ -51,6 +50,8 @@ NS_ASSUME_NONNULL_BEGIN
@property(copy, nullable) NSNumber *expectedStoreVersion; // @synthesize expectedStoreVersion=_expectedStoreVersion;
@property(copy, nullable) NSString *expectedBundleVersion; // @synthesize expectedBundleVersion=_expectedBundleVersion;
// Added 10.14.4
@property BOOL metadataChangeHasAlreadyOccurred; // @synthesize metadataChangeHasAlreadyOccurred=_metadataChangeHasAlreadyOccurred;
@property BOOL metadataChangeIsExpected; // @synthesize metadataChangeIsExpected=_metadataChangeIsExpected;
@property long long source; // @synthesize source=_source;
@property BOOL isLegacyApp; // @synthesize isLegacyApp=_isLegacyApp;
@ -64,7 +65,6 @@ NS_ASSUME_NONNULL_BEGIN
@property BOOL vppLicenseRevoked; // @synthesize vppLicenseRevoked=_vppLicenseRevoked;
@property BOOL isVPPLicensed; // @synthesize isVPPLicensed=_isVPPLicensed;
@property BOOL installed; // @synthesize installed=_installed;
@property(retain) NSValue *mdItemRef; // @synthesize mdItemRef=_mdItemRef;
@property(retain) NSDate *purchaseDate; // @synthesize purchaseDate=_purchaseDate;
@property(retain) NSNumber *versionIdentifier; // @synthesize versionIdentifier=_versionIdentifier;
@ -74,6 +74,9 @@ NS_ASSUME_NONNULL_BEGIN
@property(retain) NSString *bundlePath; // @synthesize bundlePath=_bundlePath;
@property(retain) NSString *bundleVersion; // @synthesize bundleVersion=_bundleVersion;
@property(retain) NSString *bundleIdentifier; // @synthesize bundleIdentifier=_bundleIdentifier;
@property(retain, nonnull) NSString *appName; // @synthesize appName=_appName;
@property(retain) NSString *accountIdentifier; // @synthesize accountIdentifier=_accountIdentifier;
@property(retain) NSString *accountOpaqueDSID; // @synthesize accountOpaqueDSID=_accountOpaqueDSID;
@ -82,7 +85,6 @@ NS_ASSUME_NONNULL_BEGIN
- (instancetype)copyWithZone:(nullable NSZone *)zone;
- (nullable instancetype)initWithCoder:(nonnull NSCoder *)coder;
- (void)encodeWithCoder:(nonnull NSCoder *)coder;
@property(readonly, nonnull) NSString *appName;
- (nonnull NSString *)description;
@property(readonly, nullable) NSString *sourceString;

View file

@ -4,9 +4,7 @@
// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard.
//
// #import "NSObject.h"
// #import "NSSecureCoding.h"
@import Foundation;
@class NSDate, NSDictionary, NSMutableDictionary, NSNumber, NSString, SSPurchase;

View file

@ -4,9 +4,7 @@
// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard.
//
// #import "NSObject.h"
// #import "NSSecureCoding.h"
@import Foundation;
@class NSDictionary, NSNumber, NSString;

View file

@ -4,10 +4,6 @@
// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard.
//
// #import "NSObject.h"
// #import "NSSecureCoding.h"
@class NSNumber, NSString;
NS_ASSUME_NONNULL_BEGIN

View file

@ -4,8 +4,6 @@
// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard.
//
// #import "NSObject.h"
@class ISOperation, NSError, SSOperationProgress;
NS_ASSUME_NONNULL_BEGIN

View file

@ -4,14 +4,10 @@
// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard.
//
// #import "NSObject.h"
#import <CoreFoundation/CoreFoundation.h>
@import Foundation;
@class ISStoreClient, Protocol;
@class NSLock, NSMutableDictionary;
@protocol ISAccountService;
NS_ASSUME_NONNULL_BEGIN

View file

@ -4,11 +4,8 @@
// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard.
//
// #import "NSObject.h"
@class ISStoreClient;
NS_ASSUME_NONNULL_BEGIN
@protocol ISServiceRemoteObject <NSObject>

View file

@ -4,9 +4,7 @@
// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard.
//
// #import "NSObject.h"
// #import "NSSecureCoding.h"
@import Foundation;
@class NSDate, NSNumber, NSString, NSTimer;

View file

@ -4,12 +4,9 @@
// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard.
//
// #import "NSObject.h"
// #import "NSSecureCoding.h"
@import Foundation;
#import "ISStoreAccount.h"
@class NSArray, NSDictionary, NSString;
@class ISStoreAccount, NSArray, NSDictionary, NSString;
NS_ASSUME_NONNULL_BEGIN

View file

@ -4,9 +4,7 @@
// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard.
//
// #import "NSObject.h"
// #import "NSSecureCoding.h"
@import Foundation;
@class NSArray, NSNumber, NSString, NSURL, SSDownloadMetadata, SSDownloadStatus;

View file

@ -4,12 +4,7 @@
// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard.
//
// #import "NSObject.h"
// #import "NSCopying.h"
// #import "NSSecureCoding.h"
#import <Foundation/NSZone.h>
@import Foundation;
@class NSArray, NSData, NSDictionary, NSLock, NSMutableDictionary, NSNumber, NSString, NSURL;
@ -91,11 +86,12 @@ NS_ASSUME_NONNULL_BEGIN
@property(retain, nullable) NSString *productType;
@property(readonly, nullable) NSString *applicationIdentifier;
- (id)copyWithZone:(nullable NSZone *)zone;
- (nullable instancetype)initWithCoder:( NSCoder *)coder;
- (void)encodeWithCoder:(NSCoder *)coder;
- (nullable instancetype)initWithDictionary:(NSDictionary *)dictionary;
- (nullable instancetype)initWithKind:(NSString *)kind;
- (id)copyWithZone:(nullable struct _NSZone *)arg1;
- (id)initWithCoder:(id)arg1;
- (void)encodeWithCoder:(id)arg1;
- (nullable instancetype)initWithDictionary:(id)arg1;
- (nullable instancetype)initWithKind:(id)arg1;
- (instancetype)init;
@end

View file

@ -4,10 +4,7 @@
// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard.
//
// #import "NSObject.h"
// #import "NSCopying.h"
// #import "NSSecureCoding.h"
@import Foundation;
@class SSOperationProgress;

View file

@ -4,9 +4,7 @@
// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard.
//
// #import "NSObject.h"
// #import "NSSecureCoding.h"
@import Foundation;
@class NSError, SSDownloadPhase;

View file

@ -4,10 +4,7 @@
// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard.
//
// #import "NSObject.h"
// #import "NSCopying.h"
// #import "NSSecureCoding.h"
@import Foundation;
@class ISOperation, NSData, NSDictionary, NSNumber, NSString, SSDownloadMetadata;

View file

@ -4,14 +4,10 @@
// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard.
//
// #import "NSObject.h"
// #import "NSSecureCoding.h"
@import Foundation;
@class NSArray, NSDictionary;
@class SSDownload;
NS_ASSUME_NONNULL_BEGIN
@interface SSPurchaseResponse : NSObject <NSSecureCoding>
@ -24,7 +20,9 @@ NS_ASSUME_NONNULL_BEGIN
+ (BOOL)supportsSecureCoding;
@property(retain) NSDictionary *metrics; // @synthesize metrics=_metrics;
@property(retain) NSArray<SSDownload*> *downloads; // @synthesize downloads=_downloads;
//- (void).cxx_destruct;
- (id)initWithCoder:(id)arg1;
- (void)encodeWithCoder:(id)arg1;
- (id)_newDownloadsFromItems:(id)arg1 withDSID:(id)arg2;

View file

@ -43,6 +43,7 @@
B576FE3021E5BD130016B39D /* OutputListenerSpec.swift in Sources */ = {isa = PBXBuildFile; fileRef = B576FE2F21E5BD130016B39D /* OutputListenerSpec.swift */; };
B576FE3321E985250016B39D /* SearchResultFormatter.swift in Sources */ = {isa = PBXBuildFile; fileRef = B576FE3221E985250016B39D /* SearchResultFormatter.swift */; };
B576FE3521E98AAE0016B39D /* StoreSearchSpec.swift in Sources */ = {isa = PBXBuildFile; fileRef = B576FE3421E98AAE0016B39D /* StoreSearchSpec.swift */; };
B578F061224FB5BD00D2086A /* ISAuthenticationResponse.h in Headers */ = {isa = PBXBuildFile; fileRef = B578F060224FB5BD00D2086A /* ISAuthenticationResponse.h */; };
B5793E29219BDD4800135B39 /* JSON in Resources */ = {isa = PBXBuildFile; fileRef = B5793E28219BDD4800135B39 /* JSON */; };
B588CE0221DC89490047D305 /* ExternalCommand.swift in Sources */ = {isa = PBXBuildFile; fileRef = B588CE0121DC89490047D305 /* ExternalCommand.swift */; };
B594B12021D53A8200F3AC59 /* Uninstall.swift in Sources */ = {isa = PBXBuildFile; fileRef = B594B11F21D53A8200F3AC59 /* Uninstall.swift */; };
@ -261,6 +262,7 @@
B576FE2F21E5BD130016B39D /* OutputListenerSpec.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = OutputListenerSpec.swift; sourceTree = "<group>"; };
B576FE3221E985250016B39D /* SearchResultFormatter.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SearchResultFormatter.swift; sourceTree = "<group>"; };
B576FE3421E98AAE0016B39D /* StoreSearchSpec.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = StoreSearchSpec.swift; sourceTree = "<group>"; };
B578F060224FB5BD00D2086A /* ISAuthenticationResponse.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ISAuthenticationResponse.h; sourceTree = "<group>"; };
B5793E28219BDD4800135B39 /* JSON */ = {isa = PBXFileReference; lastKnownFileType = folder; path = JSON; sourceTree = "<group>"; };
B588CE0121DC89490047D305 /* ExternalCommand.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ExternalCommand.swift; sourceTree = "<group>"; };
B592D8522201702A00A9C970 /* .swiftformat */ = {isa = PBXFileReference; lastKnownFileType = text; path = .swiftformat; sourceTree = "<group>"; };
@ -771,6 +773,7 @@
F8FB71A420F2EC4500F56FDC /* CKUpdate.h */,
F8FB71A520F2EC4500F56FDC /* ISAccountService.h */,
F8FB71A620F2EC4500F56FDC /* ISAuthenticationContext.h */,
B578F060224FB5BD00D2086A /* ISAuthenticationResponse.h */,
F8FB71A720F2EC4500F56FDC /* ISOperationDelegate.h */,
F8FB71A820F2EC4500F56FDC /* ISServiceProxy.h */,
F8FB71A920F2EC4500F56FDC /* ISServiceRemoteObject.h */,
@ -804,6 +807,7 @@
F832138E2173D3E1008BA8A0 /* CKSoftwareMap.h in Headers */,
F83213922173D5AB008BA8A0 /* CKSoftwareProduct.h in Headers */,
F83213932173D5AB008BA8A0 /* CKUpdate.h in Headers */,
B578F061224FB5BD00D2086A /* ISAuthenticationResponse.h in Headers */,
F832138F2173D3E1008BA8A0 /* CKUpdateController.h in Headers */,
F83213942173D5AB008BA8A0 /* ISAccountService.h in Headers */,
F83213952173D5AB008BA8A0 /* ISAuthenticationContext.h in Headers */,