mirror of
https://github.com/StikDebug/StikDebug.git
synced 2026-10-16 12:30:29 +00:00
22 lines
827 B
Objective-C
22 lines
827 B
Objective-C
//
|
|
// JITEnableContext.h
|
|
// StikJIT
|
|
//
|
|
// Created by s s on 2025/3/28.
|
|
//
|
|
@import Foundation;
|
|
@import UIKit;
|
|
#include "idevice.h"
|
|
|
|
typedef void (^HeartbeatCompletionHandler)(int result, NSString *message);
|
|
typedef void (^LogFuncC)(const char* message, ...);
|
|
typedef void (^LogFunc)(NSString *message);
|
|
|
|
@interface JITEnableContext : NSObject
|
|
@property (class, readonly)JITEnableContext* shared;
|
|
- (IdevicePairingFile*)getPairingFileWithError:(NSError**)error;
|
|
- (void)startHeartbeatWithCompletionHandler:(HeartbeatCompletionHandler)completionHandler logger:(LogFunc)logger;
|
|
- (BOOL)debugAppWithBundleID:(NSString*)bundleID isLC:(BOOL)isLC logger:(LogFunc)logger;
|
|
- (NSDictionary<NSString*, NSString*>*)getAppListWithError:(NSError**)error;
|
|
- (UIImage*)getAppIconWithBundleId:(NSString*)bundleId error:(NSError**)error;
|
|
@end
|