Summary: IGSQLiteDatabaseDriver implements the DatabaseDriver protocol that is required to flipper send requests from desktop app to the client. Differential Revision: D48172578 fbshipit-source-id: 09ac9415dd1b98c347984228def617f27d2e1aa0
27 lines
664 B
Objective-C
27 lines
664 B
Objective-C
/*
|
|
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
*
|
|
* This source code is licensed under the MIT license found in the
|
|
* LICENSE file in the root directory of this source tree.
|
|
*/
|
|
|
|
#if FB_SONARKIT_ENABLED
|
|
|
|
#import <FlipperKit/FlipperPlugin.h>
|
|
#import <Foundation/Foundation.h>
|
|
#import "DatabaseDriver.h"
|
|
|
|
@class DatabasesManager;
|
|
|
|
@interface FlipperKitDatabasesPlugin : NSObject<FlipperPlugin>
|
|
@property(nonatomic, strong) DatabasesManager* databasesManager;
|
|
|
|
- (instancetype)init NS_UNAVAILABLE;
|
|
+ (instancetype)sharedInstance;
|
|
- (void)addDatabaseDriver:(id<DatabaseDriver>)driver;
|
|
- (void)removeDatabaseDriver:(id<DatabaseDriver>)driver;
|
|
|
|
@end
|
|
|
|
#endif
|