Refactor FlipperKitDatabasePlugin to accept multiple database drivers.
Reviewed By: lblasa Differential Revision: D48316901 fbshipit-source-id: 0eb7b93f53ce115a0a031a58ecef3db963b35f09
This commit is contained in:
committed by
Facebook GitHub Bot
parent
661ed9eb44
commit
2f5f4911e5
@@ -7,6 +7,7 @@
|
||||
|
||||
#import <FlipperKit/FlipperPlugin.h>
|
||||
#import <Foundation/Foundation.h>
|
||||
#import "DatabaseDriver.h"
|
||||
|
||||
@class DatabasesManager;
|
||||
|
||||
@@ -15,5 +16,7 @@
|
||||
|
||||
- (instancetype)init NS_UNAVAILABLE;
|
||||
+ (instancetype)sharedInstance;
|
||||
- (void)addDatabaseDriver:(id<DatabaseDriver>)driver;
|
||||
- (void)removeDatabaseDriver:(id<DatabaseDriver>)driver;
|
||||
|
||||
@end
|
||||
|
||||
Reference in New Issue
Block a user