this repo has no description
1 2/** 3 * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). 4 * 5 * Do not edit this file as changes may cause incorrect behavior and will be lost 6 * once the code is regenerated. 7 * 8 * @generated by codegen project: GenerateEventEmitterH.js 9 */ 10#pragma once 11 12#include <react/renderer/components/view/ViewEventEmitter.h> 13 14 15namespace facebook::react { 16class RNSBottomTabsEventEmitter : public ViewEventEmitter { 17 public: 18 using ViewEventEmitter::ViewEventEmitter; 19 20 struct OnNativeFocusChange { 21 std::string tabKey; 22 }; 23 void onNativeFocusChange(OnNativeFocusChange value) const; 24}; 25class RNSBottomTabsScreenEventEmitter : public ViewEventEmitter { 26 public: 27 using ViewEventEmitter::ViewEventEmitter; 28 29 struct OnLifecycleStateChange { 30 int previousState; 31 int newState; 32 }; 33 34 struct OnWillAppear { 35 36 }; 37 38 struct OnDidAppear { 39 40 }; 41 42 struct OnWillDisappear { 43 44 }; 45 46 struct OnDidDisappear { 47 48 }; 49 void onLifecycleStateChange(OnLifecycleStateChange value) const; 50 51 void onWillAppear(OnWillAppear value) const; 52 53 void onDidAppear(OnDidAppear value) const; 54 55 void onWillDisappear(OnWillDisappear value) const; 56 57 void onDidDisappear(OnDidDisappear value) const; 58}; 59class RNSFullWindowOverlayEventEmitter : public ViewEventEmitter { 60 public: 61 using ViewEventEmitter::ViewEventEmitter; 62 63 64 65}; 66class RNSScreenStackHostEventEmitter : public ViewEventEmitter { 67 public: 68 using ViewEventEmitter::ViewEventEmitter; 69 70 71 72}; 73class RNSSplitViewHostEventEmitter : public ViewEventEmitter { 74 public: 75 using ViewEventEmitter::ViewEventEmitter; 76 77 struct OnCollapse { 78 79 }; 80 81 struct OnDisplayModeWillChange { 82 std::string currentDisplayMode; 83 std::string nextDisplayMode; 84 }; 85 86 struct OnExpand { 87 88 }; 89 90 struct OnInspectorHide { 91 92 }; 93 void onCollapse(OnCollapse value) const; 94 95 void onDisplayModeWillChange(OnDisplayModeWillChange value) const; 96 97 void onExpand(OnExpand value) const; 98 99 void onInspectorHide(OnInspectorHide value) const; 100}; 101class RNSSplitViewScreenEventEmitter : public ViewEventEmitter { 102 public: 103 using ViewEventEmitter::ViewEventEmitter; 104 105 struct OnWillAppear { 106 107 }; 108 109 struct OnDidAppear { 110 111 }; 112 113 struct OnWillDisappear { 114 115 }; 116 117 struct OnDidDisappear { 118 119 }; 120 void onWillAppear(OnWillAppear value) const; 121 122 void onDidAppear(OnDidAppear value) const; 123 124 void onWillDisappear(OnWillDisappear value) const; 125 126 void onDidDisappear(OnDidDisappear value) const; 127}; 128class RNSStackScreenEventEmitter : public ViewEventEmitter { 129 public: 130 using ViewEventEmitter::ViewEventEmitter; 131 132 struct OnWillAppear { 133 134 }; 135 136 struct OnDidAppear { 137 138 }; 139 140 struct OnWillDisappear { 141 142 }; 143 144 struct OnDidDisappear { 145 146 }; 147 void onWillAppear(OnWillAppear value) const; 148 149 void onDidAppear(OnDidAppear value) const; 150 151 void onWillDisappear(OnWillDisappear value) const; 152 153 void onDidDisappear(OnDidDisappear value) const; 154}; 155class RNSModalScreenEventEmitter : public ViewEventEmitter { 156 public: 157 using ViewEventEmitter::ViewEventEmitter; 158 159 struct OnAppear { 160 161 }; 162 163 struct OnDisappear { 164 165 }; 166 167 struct OnDismissed { 168 int dismissCount; 169 }; 170 171 struct OnNativeDismissCancelled { 172 int dismissCount; 173 }; 174 175 struct OnWillAppear { 176 177 }; 178 179 struct OnWillDisappear { 180 181 }; 182 183 struct OnHeaderHeightChange { 184 double headerHeight; 185 }; 186 187 struct OnTransitionProgress { 188 double progress; 189 int closing; 190 int goingForward; 191 }; 192 193 struct OnGestureCancel { 194 195 }; 196 197 struct OnHeaderBackButtonClicked { 198 199 }; 200 201 struct OnSheetDetentChanged { 202 int index; 203 bool isStable; 204 }; 205 void onAppear(OnAppear value) const; 206 207 void onDisappear(OnDisappear value) const; 208 209 void onDismissed(OnDismissed value) const; 210 211 void onNativeDismissCancelled(OnNativeDismissCancelled value) const; 212 213 void onWillAppear(OnWillAppear value) const; 214 215 void onWillDisappear(OnWillDisappear value) const; 216 217 void onHeaderHeightChange(OnHeaderHeightChange value) const; 218 219 void onTransitionProgress(OnTransitionProgress value) const; 220 221 void onGestureCancel(OnGestureCancel value) const; 222 223 void onHeaderBackButtonClicked(OnHeaderBackButtonClicked value) const; 224 225 void onSheetDetentChanged(OnSheetDetentChanged value) const; 226}; 227class RNSScreenContainerEventEmitter : public ViewEventEmitter { 228 public: 229 using ViewEventEmitter::ViewEventEmitter; 230 231 232 233}; 234class RNSScreenContentWrapperEventEmitter : public ViewEventEmitter { 235 public: 236 using ViewEventEmitter::ViewEventEmitter; 237 238 239 240}; 241class RNSScreenFooterEventEmitter : public ViewEventEmitter { 242 public: 243 using ViewEventEmitter::ViewEventEmitter; 244 245 246 247}; 248class RNSScreenEventEmitter : public ViewEventEmitter { 249 public: 250 using ViewEventEmitter::ViewEventEmitter; 251 252 struct OnAppear { 253 254 }; 255 256 struct OnDisappear { 257 258 }; 259 260 struct OnDismissed { 261 int dismissCount; 262 }; 263 264 struct OnNativeDismissCancelled { 265 int dismissCount; 266 }; 267 268 struct OnWillAppear { 269 270 }; 271 272 struct OnWillDisappear { 273 274 }; 275 276 struct OnHeaderHeightChange { 277 double headerHeight; 278 }; 279 280 struct OnTransitionProgress { 281 double progress; 282 int closing; 283 int goingForward; 284 }; 285 286 struct OnGestureCancel { 287 288 }; 289 290 struct OnHeaderBackButtonClicked { 291 292 }; 293 294 struct OnSheetDetentChanged { 295 int index; 296 bool isStable; 297 }; 298 void onAppear(OnAppear value) const; 299 300 void onDisappear(OnDisappear value) const; 301 302 void onDismissed(OnDismissed value) const; 303 304 void onNativeDismissCancelled(OnNativeDismissCancelled value) const; 305 306 void onWillAppear(OnWillAppear value) const; 307 308 void onWillDisappear(OnWillDisappear value) const; 309 310 void onHeaderHeightChange(OnHeaderHeightChange value) const; 311 312 void onTransitionProgress(OnTransitionProgress value) const; 313 314 void onGestureCancel(OnGestureCancel value) const; 315 316 void onHeaderBackButtonClicked(OnHeaderBackButtonClicked value) const; 317 318 void onSheetDetentChanged(OnSheetDetentChanged value) const; 319}; 320class RNSScreenNavigationContainerEventEmitter : public ViewEventEmitter { 321 public: 322 using ViewEventEmitter::ViewEventEmitter; 323 324 325 326}; 327class RNSScreenStackHeaderConfigEventEmitter : public ViewEventEmitter { 328 public: 329 using ViewEventEmitter::ViewEventEmitter; 330 331 struct OnAttached { 332 333 }; 334 335 struct OnDetached { 336 337 }; 338 void onAttached(OnAttached value) const; 339 340 void onDetached(OnDetached value) const; 341}; 342class RNSScreenStackHeaderSubviewEventEmitter : public ViewEventEmitter { 343 public: 344 using ViewEventEmitter::ViewEventEmitter; 345 346 347 348}; 349class RNSScreenStackEventEmitter : public ViewEventEmitter { 350 public: 351 using ViewEventEmitter::ViewEventEmitter; 352 353 struct OnFinishTransitioning { 354 355 }; 356 void onFinishTransitioning(OnFinishTransitioning value) const; 357}; 358class RNSSearchBarEventEmitter : public ViewEventEmitter { 359 public: 360 using ViewEventEmitter::ViewEventEmitter; 361 362 struct OnSearchFocus { 363 364 }; 365 366 struct OnSearchBlur { 367 368 }; 369 370 struct OnSearchButtonPress { 371 std::string text; 372 }; 373 374 struct OnCancelButtonPress { 375 376 }; 377 378 struct OnChangeText { 379 std::string text; 380 }; 381 382 struct OnClose { 383 384 }; 385 386 struct OnOpen { 387 388 }; 389 void onSearchFocus(OnSearchFocus value) const; 390 391 void onSearchBlur(OnSearchBlur value) const; 392 393 void onSearchButtonPress(OnSearchButtonPress value) const; 394 395 void onCancelButtonPress(OnCancelButtonPress value) const; 396 397 void onChangeText(OnChangeText value) const; 398 399 void onClose(OnClose value) const; 400 401 void onOpen(OnOpen value) const; 402}; 403} // namespace facebook::react