react-native-firebase/ios/RNFirebase/RNFirebaseDatabase.h

22 lines
507 B
C
Raw Normal View History

2017-03-09 15:26:28 +00:00
#ifndef RNFirebaseDatabase_h
#define RNFirebaseDatabase_h
#import <React/RCTEventEmitter.h>
#import <React/RCTBridgeModule.h>
2017-03-09 15:26:28 +00:00
#if __has_include(<FirebaseDatabase/FIRDatabase.h>)
#import "Firebase.h"
2017-03-09 15:26:28 +00:00
@interface RNFirebaseDatabase : RCTEventEmitter <RCTBridgeModule> {}
2017-03-09 15:26:28 +00:00
@property NSMutableDictionary *dbReferences;
@property NSMutableDictionary *transactions;
@property dispatch_queue_t transactionQueue;
@end
2017-03-09 15:26:28 +00:00
#else
@interface RNFirebaseDatabase : RCTEventEmitter <RCTBridgeModule> {}
2017-03-09 15:26:28 +00:00
@end
#endif
2017-03-09 15:26:28 +00:00
#endif