Milestone 5: deliver embedded RDP sessions and lifecycle hardening
This commit is contained in:
46
third_party/FreeRDP/client/iOS/Models/ConnectionParams.h
vendored
Normal file
46
third_party/FreeRDP/client/iOS/Models/ConnectionParams.h
vendored
Normal file
@@ -0,0 +1,46 @@
|
||||
/*
|
||||
Connection Parameters abstraction
|
||||
|
||||
Copyright 2013 Thincast Technologies GmbH, Author: Dorian Johnson
|
||||
|
||||
This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0.
|
||||
If a copy of the MPL was not distributed with this file, You can obtain one at
|
||||
http://mozilla.org/MPL/2.0/.
|
||||
*/
|
||||
|
||||
#import <Foundation/Foundation.h>
|
||||
|
||||
@interface ConnectionParams : NSObject
|
||||
{
|
||||
@private
|
||||
NSMutableDictionary *_connection_params;
|
||||
}
|
||||
|
||||
// Designated initializer.
|
||||
- (id)initWithDictionary:(NSDictionary *)dict;
|
||||
- (id)initWithBaseDefaultParameters;
|
||||
|
||||
// Getting/setting values
|
||||
- (NSArray *)allKeys;
|
||||
- (void)setValue:(id)value forKey:(NSString *)key;
|
||||
- (id)valueForKey:(NSString *)key;
|
||||
- (BOOL)hasValueForKey:(NSString *)key;
|
||||
- (void)setInt:(int)integer forKey:(NSString *)key;
|
||||
- (int)intForKey:(NSString *)key;
|
||||
- (void)setBool:(BOOL)v forKey:(NSString *)key;
|
||||
- (BOOL)boolForKey:(NSString *)key;
|
||||
- (const char *)UTF8StringForKey:(NSString *)key;
|
||||
- (NSString *)StringForKey:(NSString *)key;
|
||||
|
||||
- (BOOL)hasValueForKeyPath:(NSString *)key;
|
||||
- (void)setInt:(int)integer forKeyPath:(NSString *)key;
|
||||
- (int)intForKeyPath:(NSString *)key;
|
||||
- (void)setBool:(BOOL)v forKeyPath:(NSString *)key;
|
||||
- (BOOL)boolForKeyPath:(NSString *)key;
|
||||
- (const char *)UTF8StringForKeyPath:(NSString *)key;
|
||||
- (NSString *)StringForKeyPath:(NSString *)key;
|
||||
|
||||
- (int)intForKey:(NSString *)key with3GEnabled:(BOOL)enabled;
|
||||
- (BOOL)boolForKey:(NSString *)key with3GEnabled:(BOOL)enabled;
|
||||
|
||||
@end
|
||||
Reference in New Issue
Block a user