Summary: Renames SonarCppBridgingResponder Reviewed By: passy Differential Revision: D10028084 fbshipit-source-id: d45b50a659710fb6e535241780a335a124582a47
19 lines
669 B
Objective-C
19 lines
669 B
Objective-C
/*
|
|
* Copyright (c) 2018-present, Facebook, Inc.
|
|
*
|
|
* This source code is licensed under the MIT license found in the LICENSE
|
|
* file in the root directory of this source tree.
|
|
*
|
|
*/
|
|
#import <Flipper/FlipperResponder.h>
|
|
#import <FlipperKit/FlipperResponder.h>
|
|
|
|
/**
|
|
SonarCppBridgingResponder is a simple ObjC wrapper around FlipperResponder
|
|
that forwards messages to the underlying C++ responder. This class allows
|
|
pure Objective-C plugins to send messages to the underlying responder.
|
|
*/
|
|
@interface FlipperCppBridgingResponder : NSObject <FlipperResponder>
|
|
- (instancetype)initWithCppResponder:(std::unique_ptr<facebook::flipper::FlipperResponder>)responder;
|
|
@end
|