2019-07-02 20:19:41 +03:00
|
|
|
/**
|
|
|
|
* 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.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifdef RN_DISABLE_OSS_PLUGIN_HEADER
|
|
|
|
|
|
|
|
// FB Internal: Plugins.h is autogenerated by the build system.
|
|
|
|
#import "Plugins.h"
|
|
|
|
|
|
|
|
#else
|
|
|
|
|
2019-07-04 21:17:06 +03:00
|
|
|
// OSS-compatibility layer: manually define these for github.
|
2019-07-02 20:19:41 +03:00
|
|
|
|
|
|
|
#import <Foundation/Foundation.h>
|
|
|
|
|
|
|
|
#pragma GCC diagnostic push
|
|
|
|
#pragma GCC diagnostic ignored "-Wreturn-type-c-linkage"
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
2019-07-04 21:17:06 +03:00
|
|
|
// RCTTurboModuleManagerDelegate should call this to resolve module classes.
|
|
|
|
Class RCTCoreModulesClassProvider(const char *name);
|
|
|
|
|
2019-07-02 20:19:41 +03:00
|
|
|
// NOTE: Sync these with FB internal version.
|
|
|
|
|
|
|
|
Class RCTPlatformCls(void);
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#pragma GCC diagnostic pop
|
|
|
|
|
|
|
|
#endif // RN_DISABLE_OSS_PLUGIN_HEADER
|