Make EveCanvas the native Gjallar runtime
This commit is contained in:
parent
19c3dcf917
commit
29b0d7741d
10 changed files with 317 additions and 252 deletions
28
Sources/EVEHermodrClient.h
Normal file
28
Sources/EVEHermodrClient.h
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
#import <Foundation/Foundation.h>
|
||||
|
||||
NS_ASSUME_NONNULL_BEGIN
|
||||
|
||||
@class EVEHermodrClient;
|
||||
|
||||
@protocol EVEHermodrClientDelegate <NSObject>
|
||||
|
||||
- (void)hermodrClient:(EVEHermodrClient *)client didReceiveSurface:(NSDictionary *)surface;
|
||||
- (void)hermodrClient:(EVEHermodrClient *)client didChangeStatus:(NSString *)status;
|
||||
|
||||
@end
|
||||
|
||||
@interface EVEHermodrClient : NSObject
|
||||
|
||||
@property(nonatomic, copy, readonly) NSString *status;
|
||||
|
||||
- (instancetype)initWithBaseURLs:(NSArray<NSURL *> *)baseURLs
|
||||
providerId:(NSString *)providerId
|
||||
surfaceId:(NSString *)surfaceId
|
||||
delegate:(id<EVEHermodrClientDelegate>)delegate;
|
||||
- (void)connect;
|
||||
- (void)disconnect;
|
||||
- (void)sendCommand:(NSDictionary *)command;
|
||||
|
||||
@end
|
||||
|
||||
NS_ASSUME_NONNULL_END
|
||||
Loading…
Reference in a new issue