1 #import <Foundation/Foundation.h>
2 #import <React/RCTLog.h>
3 #import <WebKit/WebKit.h>
4 
5 typedef void (^DecisionBlock)(BOOL);
6 
7 @interface RNCWebViewDecisionManager : NSObject {
8     int nextLockIdentifier;
9     NSMutableDictionary *decisionHandlers;
10 }
11 
12 @property (nonatomic) int nextLockIdentifier;
13 @property (nonatomic, retain) NSMutableDictionary *decisionHandlers;
14 
15 + (id)      getInstance;
16 
17 - (int)setDecisionHandler:(DecisionBlock)handler;
18 - (void)    setResult:(BOOL)shouldStart
19     forLockIdentifier:(int)lockIdentifier;
20 @end
21