summaryrefslogtreecommitdiff
path: root/swift/src/IceObjc/ImplicitContext.h
blob: 091761e7a6e81baaabf8f4c473e8baa445673e6d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
//
// Copyright (c) ZeroC, Inc. All rights reserved.
//

#import "LocalObject.h"

NS_ASSUME_NONNULL_BEGIN

@interface ICEImplicitContext: ICELocalObject
-(NSDictionary<NSString*, NSString*>*) getContext;
-(void) setContext:(NSDictionary<NSString*, NSString*>*)context;
-(bool) containsKey:(NSString*)string;
-(NSString*) get:(NSString*)key;
-(NSString*) put:(NSString*)key value:(NSString*)value;
-(NSString*) remove:(NSString*)key;
@end

#ifdef __cplusplus

@interface ICEImplicitContext()
@property (nonatomic, readonly) std::shared_ptr<Ice::ImplicitContext> implicitContext;
@end

#endif

NS_ASSUME_NONNULL_END