2020-06-04 19:48:02 -07:00
|
|
|
//
|
|
|
|
|
// Use this file to import your target's public headers that you would like to expose to Swift.
|
|
|
|
|
//
|
|
|
|
|
|
|
|
|
|
#import <Foundation/Foundation.h>
|
|
|
|
|
|
2020-08-31 13:58:44 -07:00
|
|
|
// Shared
|
|
|
|
|
#import "ALTConstants.h"
|
|
|
|
|
#import "ALTConnection.h"
|
|
|
|
|
#import "NSError+ALTServerError.h"
|
|
|
|
|
#import "CFNotificationName+AltStore.h"
|
|
|
|
|
|
2020-06-04 19:48:02 -07:00
|
|
|
NS_ASSUME_NONNULL_BEGIN
|
|
|
|
|
|
|
|
|
|
@interface AKDevice : NSObject
|
|
|
|
|
|
|
|
|
|
@property (class, readonly) AKDevice *currentDevice;
|
|
|
|
|
|
|
|
|
|
@property (strong, readonly) NSString *serialNumber;
|
|
|
|
|
@property (strong, readonly) NSString *uniqueDeviceIdentifier;
|
|
|
|
|
@property (strong, readonly) NSString *serverFriendlyDescription;
|
|
|
|
|
|
|
|
|
|
@end
|
|
|
|
|
|
|
|
|
|
@interface AKAppleIDSession : NSObject
|
|
|
|
|
|
|
|
|
|
- (instancetype)initWithIdentifier:(NSString *)identifier;
|
|
|
|
|
|
|
|
|
|
- (NSDictionary<NSString *, NSString *> *)appleIDHeadersForRequest:(NSURLRequest *)request;
|
|
|
|
|
|
|
|
|
|
@end
|
|
|
|
|
|
|
|
|
|
@interface LSApplicationWorkspace : NSObject
|
|
|
|
|
|
|
|
|
|
@property (class, readonly) LSApplicationWorkspace *defaultWorkspace;
|
|
|
|
|
|
|
|
|
|
- (BOOL)installApplication:(NSURL *)fileURL withOptions:(nullable NSDictionary<NSString *, id> *)options error:(NSError *_Nullable *)error;
|
|
|
|
|
- (BOOL)uninstallApplication:(NSString *)bundleIdentifier withOptions:(nullable NSDictionary *)options;
|
|
|
|
|
|
|
|
|
|
@end
|
|
|
|
|
|
|
|
|
|
NS_ASSUME_NONNULL_END
|