mirror of
https://github.com/SideStore/SideStore.git
synced 2026-02-09 06:43:25 +01:00
Treating AltKit as a full module resulted in more complexity than necessary, when we really just wanted to share some files between different targets. Now we can share individual files across modules as-needed without AltKit overhead.
43 lines
1.1 KiB
Objective-C
43 lines
1.1 KiB
Objective-C
//
|
|
// Use this file to import your target's public headers that you would like to expose to Swift.
|
|
//
|
|
|
|
#import <Foundation/Foundation.h>
|
|
|
|
// Shared
|
|
#import "ALTConstants.h"
|
|
#import "ALTConnection.h"
|
|
#import "NSError+ALTServerError.h"
|
|
#import "CFNotificationName+AltStore.h"
|
|
|
|
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
|