mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Summary: Just ran `arc f ReactCommon/turbomodule/core/**/*`. Reviewed By: ejanzer Differential Revision: D16691807 fbshipit-source-id: 3f499ffeffaae47bda550c0071c93cd7f48e2a23
28 lines
696 B
Objective-C
28 lines
696 B
Objective-C
/**
|
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
*
|
|
* This source code is licensed under the MIT license found in the
|
|
* LICENSE file in the root directory of this source tree.
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#import <React/RCTCxxModule.h>
|
|
#import <ReactCommon/RCTTurboModule.h>
|
|
|
|
/**
|
|
* Sample backward-compatible RCTCxxModule-based module.
|
|
* With jsi::HostObject, this class is no longer necessary, but the system supports it for
|
|
* backward compatibility.
|
|
*/
|
|
@interface RCTSampleTurboCxxModule_v1 : RCTCxxModule <RCTTurboModule>
|
|
|
|
@end
|
|
|
|
/**
|
|
* Second variant of a sample backward-compatible RCTCxxModule-based module.
|
|
*/
|
|
@interface RCTSampleTurboCxxModule_v2 : RCTCxxModule <RCTTurboModule>
|
|
|
|
@end
|