iOS:add monitor
This commit is contained in:
@@ -21,11 +21,12 @@
|
||||
//
|
||||
|
||||
#import <Foundation/Foundation.h>
|
||||
#import "DoricMonitorProtocol.h"
|
||||
|
||||
NS_ASSUME_NONNULL_BEGIN
|
||||
@class DoricLibrary;
|
||||
|
||||
@interface DoricRegistry : NSObject
|
||||
@interface DoricRegistry : NSObject <DoricMonitorProtocol>
|
||||
|
||||
- (NSString *)acquireJSBundle:(NSString *)name;
|
||||
|
||||
@@ -44,6 +45,8 @@ NS_ASSUME_NONNULL_BEGIN
|
||||
|
||||
- (NSDictionary *)environmentVariables;
|
||||
|
||||
- (void)registerMonitor:(id <DoricMonitorProtocol>)monitor;
|
||||
|
||||
+ (void)register:(DoricLibrary *)library;
|
||||
@end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user