// Copyright 2015-present 650 Industries. All rights reserved.

#import "DevMenuVendoredModulesUtils.h"

#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Weverything"

#if __has_include("DevMenuREAModule.h")
#import "DevMenuREAModule.h"
#endif

#if __has_include("DevMenuRNGestureHandlerModule.h")
#import "DevMenuRNGestureHandlerModule.h"
#endif

#if __has_include("DevMenuRNCSafeAreaProviderManager.h")
#import "DevMenuRNCSafeAreaProviderManager.h"
#endif

#if __has_include("DevMenuRNCSafeAreaViewManager.h")
#import "DevMenuRNCSafeAreaViewManager.h"
#endif

#pragma clang diagnostic pop

@implementation DevMenuVendoredModulesUtils

+ (NSArray<id<RCTBridgeModule>>*)vendoredModules
{
  NSMutableArray<id<RCTBridgeModule>> *modules = [NSMutableArray new];
#if __has_include("DevMenuREAModule.h")
  [modules addObject:[DevMenuREAModule new]];
#endif
#if __has_include("DevMenuRNGestureHandlerModule.h")
  [modules addObject:[DevMenuRNGestureHandlerModule new]];
  [modules addObject:[DevMenuRNGestureHandlerButtonManager new]];
#endif
#if __has_include("DevMenuRNCSafeAreaProviderManager.h")
  [modules addObject:[DevMenuRNCSafeAreaProviderManager new]];
  [modules addObject:[DevMenuRNCSafeAreaViewManager new]];
#endif
  
  return modules;
}

@end
