//
//  MBIMBridge.h
//  MessagesBridge
//
//  Created by James Magahern on 11/12/18.
//  Copyright © 2018 James Magahern. All rights reserved.
//

#import <Foundation/Foundation.h>

// See note in hooking.m about why this was a bad idea
#define HOOK_IMAGENT 0

NS_ASSUME_NONNULL_BEGIN

@interface MBIMBridge : NSObject
@property (nonatomic, strong)   NSString   *dylibPath;
@property (nonatomic, assign)   UInt16      port;
@property (nonatomic, readonly) NSOperationQueue *operationQueue;

@property (nonatomic, assign) BOOL      usesAccessControl;
@property (nonatomic, strong) NSString *authUsername;
@property (nonatomic, strong) NSString *authPassword;

@property (nonatomic, assign) BOOL      usesSSL;
@property (nonatomic, strong) NSString *sslCertPath;

+ (instancetype)sharedInstance;

- (instancetype)init NS_UNAVAILABLE;

- (void)connect;
- (void)disconnect;

@end

NS_ASSUME_NONNULL_END
