mirror of
https://github.com/StikDebug/StikDebug.git
synced 2026-10-16 04:20:30 +00:00
change name
This commit is contained in:
parent
22225d69af
commit
b3b4685985
3 changed files with 8 additions and 8 deletions
|
|
@ -90,7 +90,7 @@ UIImage* getAppIcon(TcpProviderHandle* provider, NSString* bundleID, NSString**
|
|||
IdeviceErrorCode err = IdeviceSuccess;
|
||||
|
||||
SpringBoardServicesClientHandle *client = NULL;
|
||||
springboard_services_proxy_connect_tcp(provider, &client);
|
||||
springboard_services_connect_tcp(provider, &client);
|
||||
if (err != IdeviceSuccess) {
|
||||
*error = @"Failed to connect to SpringBoard Services";
|
||||
return nil;
|
||||
|
|
@ -98,9 +98,9 @@ UIImage* getAppIcon(TcpProviderHandle* provider, NSString* bundleID, NSString**
|
|||
|
||||
void *pngData = NULL;
|
||||
size_t data_len = 0;
|
||||
err = springboard_services_proxy_get_icon(client, [bundleID UTF8String], &pngData, &data_len);
|
||||
err = springboard_services_get_icon(client, [bundleID UTF8String], &pngData, &data_len);
|
||||
if (err != IdeviceSuccess) {
|
||||
springboard_services_proxy_free(client);
|
||||
springboard_services_free(client);
|
||||
*error = @"Failed to get app icon";
|
||||
return nil;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -2011,13 +2011,13 @@ enum IdeviceErrorCode idevice_usbmuxd_unix_addr_new(const char *addr,
|
|||
*/
|
||||
void idevice_usbmuxd_addr_free(struct UsbmuxdAddrHandle *usbmuxd_addr);
|
||||
|
||||
enum IdeviceErrorCode springboard_services_proxy_connect_tcp(struct TcpProviderHandle *provider,
|
||||
enum IdeviceErrorCode springboard_services_connect_tcp(struct TcpProviderHandle *provider,
|
||||
struct SpringBoardServicesClientHandle **client);
|
||||
|
||||
enum IdeviceErrorCode springboard_services_proxy_connect_usbmuxd(struct UsbmuxdProviderHandle *provider,
|
||||
enum IdeviceErrorCode springboard_services_connect_usbmuxd(struct UsbmuxdProviderHandle *provider,
|
||||
struct SpringBoardServicesClientHandle **client);
|
||||
|
||||
enum IdeviceErrorCode springboard_services_proxy_new(struct IdeviceHandle *socket,
|
||||
enum IdeviceErrorCode springboard_services_new(struct IdeviceHandle *socket,
|
||||
struct SpringBoardServicesClientHandle **client);
|
||||
|
||||
/**
|
||||
|
|
@ -2035,11 +2035,11 @@ enum IdeviceErrorCode springboard_services_proxy_new(struct IdeviceHandle *socke
|
|||
* `client` must be a valid pointer to a handle allocated by this library
|
||||
* `out_result` must be a valid, non-null pointer to a location where the result will be stored
|
||||
*/
|
||||
enum IdeviceErrorCode springboard_services_proxy_get_icon(struct SpringBoardServicesClientHandle *client,
|
||||
enum IdeviceErrorCode springboard_services_get_icon(struct SpringBoardServicesClientHandle *client,
|
||||
const char *bundle_identifier,
|
||||
void **out_result,
|
||||
size_t *out_result_len);
|
||||
|
||||
void springboard_services_proxy_free(struct SpringBoardServicesClientHandle *handle);
|
||||
void springboard_services_free(struct SpringBoardServicesClientHandle *handle);
|
||||
|
||||
#endif
|
||||
|
|
|
|||
Binary file not shown.
Loading…
Add table
Add a link
Reference in a new issue