mirror of
https://github.com/SideStore/SideStore.git
synced 2026-02-09 14:53:25 +01:00
Refactors ConnectionManager to use arbitrary RequestHandlers and ConnectionHandlers. This allows the core AltServer request logic to be shared across different targets with different connection types.
26 lines
554 B
Objective-C
26 lines
554 B
Objective-C
//
|
|
// ALTWiredConnection+Private.h
|
|
// AltServer
|
|
//
|
|
// Created by Riley Testut on 1/10/20.
|
|
// Copyright © 2020 Riley Testut. All rights reserved.
|
|
//
|
|
|
|
#import "ALTWiredConnection.h"
|
|
|
|
#include <libimobiledevice/libimobiledevice.h>
|
|
|
|
NS_ASSUME_NONNULL_BEGIN
|
|
|
|
@interface ALTWiredConnection ()
|
|
|
|
@property (nonatomic, readwrite, getter=isConnected) BOOL connected;
|
|
|
|
@property (nonatomic, readonly) idevice_connection_t connection;
|
|
|
|
- (instancetype)initWithDevice:(ALTDevice *)device connection:(idevice_connection_t)connection;
|
|
|
|
@end
|
|
|
|
NS_ASSUME_NONNULL_END
|