ClashX/ProxyConfigHelper/ProxySettingTool.h

24 lines
574 B
Objective-C

//
// ProxySettingTool.h
// com.west2online.ClashX.ProxyConfigHelper
//
// Created by yichengchen on 2019/8/17.
// Copyright © 2019 west2online. All rights reserved.
//
#import <Foundation/Foundation.h>
NS_ASSUME_NONNULL_BEGIN
@interface ProxySettingTool : NSObject
- (void)enableProxyWithport:(int)port socksPort:(int)socksPort;
- (void)disableProxy;
- (void)restoreProxySettint:(NSDictionary *)savedInfo currentPort:(int)port currentSocksPort:(int)socksPort;
+ (NSMutableDictionary<NSString *,NSDictionary *> *)currentProxySettings;
@end
NS_ASSUME_NONNULL_END