Files
react-native/ReactKit/Base/RCTModuleIDs.h
Christopher Chedeau 00f0ebccdf 2015-02-30 update:
- [ReactNative] Fix indentation | Ben Alpert
- [ReactKit] Bring back ability to jump to syntax error from redbox | Alex Kotliarskyi
- [ReactKit] Update pthread.h import path to be (more?) correct | Ben Alpert
- Simplified event handling | Nick Lockwood
- [ReactNative] more readme - xcode error help | Spencer Ahrens
2015-02-03 16:03:21 -08:00

61 lines
1.3 KiB
Objective-C

// Copyright 2004-present Facebook. All Rights Reserved.
#import <Foundation/Foundation.h>
/**
* All of this will be replaced with an auto-generated bridge.
*/
typedef NS_ENUM(NSUInteger, RCTJSModuleIDs) {
RCTModuleIDReactIOSEventEmitter,
RCTModuleIDJSTimers, // JS timer tracking module
RCTModuleIDReactIOS,
RCTModuleIDBundler,
RCTModuleIDDimensions,
RCTModuleIDDeviceEventEmitter,
RCTModuleIDNativeAppEventEmitter,
};
/**
* JS module `RCTIOSEventEmitter`.
*/
typedef NS_ENUM(NSUInteger, RCTEventEmitterRemoteMethodIDs) {
RCTEventEmitterReceiveEvent = 0,
RCTEventEmitterReceiveTouches
};
typedef NS_ENUM(NSUInteger, RCTKeyCode) {
RCTKeyCodeBackspace = 8,
RCTKeyCodeReturn = 13,
};
/**
* JS timer tracking module.
*/
typedef NS_ENUM(NSUInteger, RCTJSTimersMethodIDs) {
RCTJSTimersCallTimers = 0
};
typedef NS_ENUM(NSUInteger, RCTReactIOSMethodIDs) {
RCTReactIOSUnmountComponentAtNodeAndRemoveContainer = 0,
};
typedef NS_ENUM(NSUInteger, RCTBundlerMethodIDs) {
RCTBundlerRunApplication = 0
};
typedef NS_ENUM(NSUInteger, RCTDimensionsMethodIDs) {
RCTDimensionsSet = 0
};
typedef NS_ENUM(NSUInteger, RCTDeviceEventEmitterMethodIDs) {
RCTDeviceEventEmitterEmit = 0
};
@interface RCTModuleIDs : NSObject
+ (NSDictionary *)config;
@end