diff --git a/impeller/aiks/aiks_playground_inspector.h b/impeller/aiks/aiks_playground_inspector.h index 10a3d4284d727..297fb16b64e69 100644 --- a/impeller/aiks/aiks_playground_inspector.h +++ b/impeller/aiks/aiks_playground_inspector.h @@ -2,6 +2,9 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +#ifndef FLUTTER_IMPELLER_AIKS_AIKS_PLAYGROUND_INSPECTOR_H_ +#define FLUTTER_IMPELLER_AIKS_AIKS_PLAYGROUND_INSPECTOR_H_ + #include #include @@ -48,3 +51,5 @@ class AiksInspector { }; }; // namespace impeller + +#endif // FLUTTER_IMPELLER_AIKS_AIKS_PLAYGROUND_INSPECTOR_H_ diff --git a/impeller/compiler/shader_bundle.h b/impeller/compiler/shader_bundle.h index 672fdc9103f9f..abdf528ec5f31 100644 --- a/impeller/compiler/shader_bundle.h +++ b/impeller/compiler/shader_bundle.h @@ -2,6 +2,9 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +#ifndef FLUTTER_IMPELLER_COMPILER_SHADER_BUNDLE_H_ +#define FLUTTER_IMPELLER_COMPILER_SHADER_BUNDLE_H_ + #include "impeller/compiler/source_options.h" #include "impeller/compiler/switches.h" #include "impeller/shader_bundle/shader_bundle_flatbuffers.h" @@ -33,3 +36,5 @@ bool GenerateShaderBundle(Switches& switches); } // namespace compiler } // namespace impeller + +#endif // FLUTTER_IMPELLER_COMPILER_SHADER_BUNDLE_H_ diff --git a/impeller/renderer/backend/gles/test/mock_gles.h b/impeller/renderer/backend/gles/test/mock_gles.h index 07051095704e6..d498e959145d2 100644 --- a/impeller/renderer/backend/gles/test/mock_gles.h +++ b/impeller/renderer/backend/gles/test/mock_gles.h @@ -2,6 +2,9 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +#ifndef FLUTTER_IMPELLER_RENDERER_BACKEND_GLES_TEST_MOCK_GLES_H_ +#define FLUTTER_IMPELLER_RENDERER_BACKEND_GLES_TEST_MOCK_GLES_H_ + #include #include #include "fml/macros.h" @@ -60,3 +63,5 @@ class MockGLES final { } // namespace testing } // namespace impeller + +#endif // FLUTTER_IMPELLER_RENDERER_BACKEND_GLES_TEST_MOCK_GLES_H_ diff --git a/impeller/renderer/backend/vulkan/gpu_tracer_vk.h b/impeller/renderer/backend/vulkan/gpu_tracer_vk.h index c8ffef7eaaac5..a17241549b61c 100644 --- a/impeller/renderer/backend/vulkan/gpu_tracer_vk.h +++ b/impeller/renderer/backend/vulkan/gpu_tracer_vk.h @@ -2,6 +2,9 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +#ifndef FLUTTER_IMPELLER_RENDERER_BACKEND_VULKAN_GPU_TRACER_VK_H_ +#define FLUTTER_IMPELLER_RENDERER_BACKEND_VULKAN_GPU_TRACER_VK_H_ + #include #include @@ -115,3 +118,5 @@ class GPUProbe { }; } // namespace impeller + +#endif // FLUTTER_IMPELLER_RENDERER_BACKEND_VULKAN_GPU_TRACER_VK_H_ diff --git a/impeller/renderer/texture_mipmap.h b/impeller/renderer/texture_mipmap.h index b45dac25d1ddc..a968c2382fdcb 100644 --- a/impeller/renderer/texture_mipmap.h +++ b/impeller/renderer/texture_mipmap.h @@ -2,8 +2,8 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -#ifndef FLUTTER_IMPELLER_TEXTURE_MIPMAP_H_ -#define FLUTTER_IMPELLER_TEXTURE_MIPMAP_H_ +#ifndef FLUTTER_IMPELLER_RENDERER_TEXTURE_MIPMAP_H_ +#define FLUTTER_IMPELLER_RENDERER_TEXTURE_MIPMAP_H_ #include "flutter/fml/status.h" #include "impeller/core/texture.h" @@ -20,4 +20,4 @@ namespace impeller { } // namespace impeller -#endif // FLUTTER_IMPELLER_TEXTURE_MIPMAP_H_ +#endif // FLUTTER_IMPELLER_RENDERER_TEXTURE_MIPMAP_H_ diff --git a/lib/gpu/fixtures.h b/lib/gpu/fixtures.h index 338c255450b59..acd936ddd045e 100644 --- a/lib/gpu/fixtures.h +++ b/lib/gpu/fixtures.h @@ -2,12 +2,15 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +#ifndef FLUTTER_LIB_GPU_FIXTURES_H_ +#define FLUTTER_LIB_GPU_FIXTURES_H_ + #include "impeller/core/shader_types.h" struct FlutterGPUUnlitVertexShader { struct PerVertexData { impeller::Point position; // (offset 0, size 8) - }; // struct PerVertexData (size 8) + }; // struct PerVertexData (size 8) static constexpr auto kInputPosition = impeller::ShaderStageIOSlot{ // position @@ -46,7 +49,7 @@ struct FlutterGPUTextureVertexShader { impeller::Vector3 position; // (offset 0, size 12) impeller::Point texture_coords; // (offset 12, size 8) impeller::Vector4 color; // (offset 20, size 16) - }; // struct PerVertexData (size 36) + }; // struct PerVertexData (size 36) static constexpr auto kInputTextureCoords = impeller::ShaderStageIOSlot{ // texture_coords @@ -107,3 +110,5 @@ extern unsigned char kFlutterGPUTextureVertIPLR[]; constexpr unsigned int kFlutterGPUTextureFragIPLRLength = 800; extern unsigned char kFlutterGPUTextureFragIPLR[]; + +#endif // FLUTTER_LIB_GPU_FIXTURES_H_ diff --git a/lib/gpu/formats.h b/lib/gpu/formats.h index 0b3001a8daf24..8c703032adf30 100644 --- a/lib/gpu/formats.h +++ b/lib/gpu/formats.h @@ -2,6 +2,9 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +#ifndef FLUTTER_LIB_GPU_FORMATS_H_ +#define FLUTTER_LIB_GPU_FORMATS_H_ + #include "fml/logging.h" #include "impeller/core/formats.h" #include "impeller/core/shader_types.h" @@ -500,3 +503,5 @@ constexpr impeller::StencilOperation ToImpellerStencilOperation(int value) { } // namespace gpu } // namespace flutter + +#endif // FLUTTER_LIB_GPU_FORMATS_H_ diff --git a/lib/ui/painting/image_decoder_no_gl_unittests.h b/lib/ui/painting/image_decoder_no_gl_unittests.h index 145771e3062b2..0376f6a2cd72c 100644 --- a/lib/ui/painting/image_decoder_no_gl_unittests.h +++ b/lib/ui/painting/image_decoder_no_gl_unittests.h @@ -2,6 +2,9 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +#ifndef FLUTTER_LIB_UI_PAINTING_IMAGE_DECODER_NO_GL_UNITTESTS_H_ +#define FLUTTER_LIB_UI_PAINTING_IMAGE_DECODER_NO_GL_UNITTESTS_H_ + #include #include "flutter/impeller/core/allocator.h" @@ -99,3 +102,5 @@ float DecodeBGR10(uint32_t x); } // namespace testing } // namespace flutter + +#endif // FLUTTER_LIB_UI_PAINTING_IMAGE_DECODER_NO_GL_UNITTESTS_H_ diff --git a/lib/web_ui/skwasm/skwasm_support.h b/lib/web_ui/skwasm/skwasm_support.h index 0c9cbaaa845c8..ce36a192a69b6 100644 --- a/lib/web_ui/skwasm/skwasm_support.h +++ b/lib/web_ui/skwasm/skwasm_support.h @@ -2,6 +2,9 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +#ifndef FLUTTER_LIB_WEB_UI_SKWASM_SKWASM_SUPPORT_H_ +#define FLUTTER_LIB_WEB_UI_SKWASM_SKWASM_SUPPORT_H_ + #include #include #include "third_party/skia/include/core/SkPicture.h" @@ -36,3 +39,5 @@ extern unsigned int skwasm_createGlTextureFromTextureSource( int width, int height); } + +#endif // FLUTTER_LIB_WEB_UI_SKWASM_SKWASM_SUPPORT_H_ diff --git a/shell/common/vsync_waiters_test.h b/shell/common/vsync_waiters_test.h index b141077a30e08..fad0bb3494884 100644 --- a/shell/common/vsync_waiters_test.h +++ b/shell/common/vsync_waiters_test.h @@ -2,11 +2,11 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -#define FML_USED_ON_EMBEDDER - #ifndef FLUTTER_SHELL_COMMON_VSYNC_WAITERS_TEST_H_ #define FLUTTER_SHELL_COMMON_VSYNC_WAITERS_TEST_H_ +#define FML_USED_ON_EMBEDDER + #include #include "flutter/shell/common/shell.h" diff --git a/shell/platform/darwin/common/availability_version_check.h b/shell/platform/darwin/common/availability_version_check.h index 8724a72d1990a..97b2aab761a86 100644 --- a/shell/platform/darwin/common/availability_version_check.h +++ b/shell/platform/darwin/common/availability_version_check.h @@ -2,6 +2,9 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +#ifndef FLUTTER_SHELL_PLATFORM_DARWIN_COMMON_AVAILABILITY_VERSION_CHECK_H_ +#define FLUTTER_SHELL_PLATFORM_DARWIN_COMMON_AVAILABILITY_VERSION_CHECK_H_ + #include #include #include @@ -16,3 +19,5 @@ std::optional ProductVersionFromSystemVersionPList(); bool IsEncodedVersionLessThanOrSame(uint32_t encoded_lhs, ProductVersion rhs); } // namespace flutter + +#endif // FLUTTER_SHELL_PLATFORM_DARWIN_COMMON_AVAILABILITY_VERSION_CHECK_H_ diff --git a/shell/platform/darwin/graphics/FlutterDarwinExternalTextureMetal.h b/shell/platform/darwin/graphics/FlutterDarwinExternalTextureMetal.h index 25bc6c6d54d79..683d515dfc087 100644 --- a/shell/platform/darwin/graphics/FlutterDarwinExternalTextureMetal.h +++ b/shell/platform/darwin/graphics/FlutterDarwinExternalTextureMetal.h @@ -2,6 +2,9 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +#ifndef FLUTTER_SHELL_PLATFORM_DARWIN_GRAPHICS_FLUTTERDARWINEXTERNALTEXTUREMETAL_H_ +#define FLUTTER_SHELL_PLATFORM_DARWIN_GRAPHICS_FLUTTERDARWINEXTERNALTEXTUREMETAL_H_ + #import #import @@ -49,3 +52,5 @@ @property(nonatomic, readonly) int64_t textureID; @end + +#endif // FLUTTER_SHELL_PLATFORM_DARWIN_GRAPHICS_FLUTTERDARWINEXTERNALTEXTUREMETAL_H_ diff --git a/shell/platform/darwin/ios/framework/Headers/FlutterEngineGroup.h b/shell/platform/darwin/ios/framework/Headers/FlutterEngineGroup.h index 097ffd6669fee..fe77b318fe956 100644 --- a/shell/platform/darwin/ios/framework/Headers/FlutterEngineGroup.h +++ b/shell/platform/darwin/ios/framework/Headers/FlutterEngineGroup.h @@ -2,6 +2,9 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +#ifndef FLUTTER_SHELL_PLATFORM_DARWIN_IOS_FRAMEWORK_HEADERS_FLUTTERENGINEGROUP_H_ +#define FLUTTER_SHELL_PLATFORM_DARWIN_IOS_FRAMEWORK_HEADERS_FLUTTERENGINEGROUP_H_ + #import #import "FlutterEngine.h" @@ -108,3 +111,5 @@ FLUTTER_DARWIN_EXPORT @end NS_ASSUME_NONNULL_END + +#endif // FLUTTER_SHELL_PLATFORM_DARWIN_IOS_FRAMEWORK_HEADERS_FLUTTERENGINEGROUP_H_ diff --git a/shell/platform/darwin/ios/framework/Source/FlutterAppDelegate_Test.h b/shell/platform/darwin/ios/framework/Source/FlutterAppDelegate_Test.h index d56844a37d5cf..405fb0279ef6e 100644 --- a/shell/platform/darwin/ios/framework/Source/FlutterAppDelegate_Test.h +++ b/shell/platform/darwin/ios/framework/Source/FlutterAppDelegate_Test.h @@ -2,9 +2,14 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +#ifndef FLUTTER_SHELL_PLATFORM_DARWIN_IOS_FRAMEWORK_SOURCE_FLUTTERAPPDELEGATE_TEST_H_ +#define FLUTTER_SHELL_PLATFORM_DARWIN_IOS_FRAMEWORK_SOURCE_FLUTTERAPPDELEGATE_TEST_H_ + @class FlutterViewController; @interface FlutterAppDelegate (Test) @property(nonatomic, copy) FlutterViewController* (^rootFlutterViewControllerGetter)(void); @end + +#endif // FLUTTER_SHELL_PLATFORM_DARWIN_IOS_FRAMEWORK_SOURCE_FLUTTERAPPDELEGATE_TEST_H_ diff --git a/shell/platform/darwin/ios/framework/Source/FlutterEngine_Test.h b/shell/platform/darwin/ios/framework/Source/FlutterEngine_Test.h index 2605d75e83853..238f6528aaf26 100644 --- a/shell/platform/darwin/ios/framework/Source/FlutterEngine_Test.h +++ b/shell/platform/darwin/ios/framework/Source/FlutterEngine_Test.h @@ -2,6 +2,9 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +#ifndef FLUTTER_SHELL_PLATFORM_DARWIN_IOS_FRAMEWORK_SOURCE_FLUTTERENGINE_TEST_H_ +#define FLUTTER_SHELL_PLATFORM_DARWIN_IOS_FRAMEWORK_SOURCE_FLUTTERENGINE_TEST_H_ + #import "flutter/shell/common/shell.h" #import "flutter/shell/platform/darwin/ios/framework/Headers/FlutterEngine.h" #import "flutter/shell/platform/darwin/ios/framework/Source/FlutterTextInputDelegate.h" @@ -41,3 +44,5 @@ class ThreadHost; - (void)applicationDidEnterBackground:(NSNotification*)notification; @end + +#endif // FLUTTER_SHELL_PLATFORM_DARWIN_IOS_FRAMEWORK_SOURCE_FLUTTERENGINE_TEST_H_ diff --git a/shell/platform/darwin/ios/framework/Source/FlutterMetalLayer.h b/shell/platform/darwin/ios/framework/Source/FlutterMetalLayer.h index 2538aaeac9e2e..f6a1108cb52d4 100644 --- a/shell/platform/darwin/ios/framework/Source/FlutterMetalLayer.h +++ b/shell/platform/darwin/ios/framework/Source/FlutterMetalLayer.h @@ -2,6 +2,9 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +#ifndef FLUTTER_SHELL_PLATFORM_DARWIN_IOS_FRAMEWORK_SOURCE_FLUTTERMETALLAYER_H_ +#define FLUTTER_SHELL_PLATFORM_DARWIN_IOS_FRAMEWORK_SOURCE_FLUTTERMETALLAYER_H_ + #import /// Drop-in replacement (as far as Flutter is concerned) for CAMetalLayer @@ -24,3 +27,5 @@ + (BOOL)enabled; @end + +#endif // FLUTTER_SHELL_PLATFORM_DARWIN_IOS_FRAMEWORK_SOURCE_FLUTTERMETALLAYER_H_ diff --git a/shell/platform/darwin/ios/framework/Source/FlutterPluginAppLifeCycleDelegate_internal.h b/shell/platform/darwin/ios/framework/Source/FlutterPluginAppLifeCycleDelegate_internal.h index 00e8696199842..6f80221796fbc 100644 --- a/shell/platform/darwin/ios/framework/Source/FlutterPluginAppLifeCycleDelegate_internal.h +++ b/shell/platform/darwin/ios/framework/Source/FlutterPluginAppLifeCycleDelegate_internal.h @@ -2,6 +2,9 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +#ifndef FLUTTER_SHELL_PLATFORM_DARWIN_IOS_FRAMEWORK_SOURCE_FLUTTERPLUGINAPPLIFECYCLEDELEGATE_INTERNAL_H_ +#define FLUTTER_SHELL_PLATFORM_DARWIN_IOS_FRAMEWORK_SOURCE_FLUTTERPLUGINAPPLIFECYCLEDELEGATE_INTERNAL_H_ + @interface FlutterPluginAppLifeCycleDelegate () /** @@ -16,3 +19,5 @@ @end ; + +#endif // FLUTTER_SHELL_PLATFORM_DARWIN_IOS_FRAMEWORK_SOURCE_FLUTTERPLUGINAPPLIFECYCLEDELEGATE_INTERNAL_H_ diff --git a/shell/platform/darwin/ios/framework/Source/FlutterTextureRegistryRelay.h b/shell/platform/darwin/ios/framework/Source/FlutterTextureRegistryRelay.h index adbcc5986901a..26c19621fce97 100644 --- a/shell/platform/darwin/ios/framework/Source/FlutterTextureRegistryRelay.h +++ b/shell/platform/darwin/ios/framework/Source/FlutterTextureRegistryRelay.h @@ -2,6 +2,9 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +#ifndef FLUTTER_SHELL_PLATFORM_DARWIN_IOS_FRAMEWORK_SOURCE_FLUTTERTEXTUREREGISTRYRELAY_H_ +#define FLUTTER_SHELL_PLATFORM_DARWIN_IOS_FRAMEWORK_SOURCE_FLUTTERTEXTUREREGISTRYRELAY_H_ + #import "flutter/shell/platform/darwin/common/framework/Headers/FlutterMacros.h" #import "flutter/shell/platform/darwin/common/framework/Headers/FlutterTexture.h" @@ -22,3 +25,5 @@ FLUTTER_DARWIN_EXPORT @property(nonatomic, assign) NSObject* parent; - (instancetype)initWithParent:(NSObject*)parent; @end + +#endif // FLUTTER_SHELL_PLATFORM_DARWIN_IOS_FRAMEWORK_SOURCE_FLUTTERTEXTUREREGISTRYRELAY_H_ diff --git a/shell/platform/darwin/macos/framework/Headers/FlutterMacOS.h b/shell/platform/darwin/macos/framework/Headers/FlutterMacOS.h index a7753e578a3fd..f79332512f8b5 100644 --- a/shell/platform/darwin/macos/framework/Headers/FlutterMacOS.h +++ b/shell/platform/darwin/macos/framework/Headers/FlutterMacOS.h @@ -2,6 +2,9 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +#ifndef FLUTTER_SHELL_PLATFORM_DARWIN_MACOS_FRAMEWORK_HEADERS_FLUTTERMACOS_H_ +#define FLUTTER_SHELL_PLATFORM_DARWIN_MACOS_FRAMEWORK_HEADERS_FLUTTERMACOS_H_ + #import "FlutterAppDelegate.h" #import "FlutterAppLifecycleDelegate.h" #import "FlutterBinaryMessenger.h" @@ -14,3 +17,5 @@ #import "FlutterPluginRegistrarMacOS.h" #import "FlutterTexture.h" #import "FlutterViewController.h" + +#endif // FLUTTER_SHELL_PLATFORM_DARWIN_MACOS_FRAMEWORK_HEADERS_FLUTTERMACOS_H_ diff --git a/shell/platform/darwin/macos/framework/Headers/FlutterPluginMacOS.h b/shell/platform/darwin/macos/framework/Headers/FlutterPluginMacOS.h index 653f7052bb77a..8cc14928e1f88 100644 --- a/shell/platform/darwin/macos/framework/Headers/FlutterPluginMacOS.h +++ b/shell/platform/darwin/macos/framework/Headers/FlutterPluginMacOS.h @@ -2,6 +2,9 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +#ifndef FLUTTER_SHELL_PLATFORM_DARWIN_MACOS_FRAMEWORK_HEADERS_FLUTTERPLUGINMACOS_H_ +#define FLUTTER_SHELL_PLATFORM_DARWIN_MACOS_FRAMEWORK_HEADERS_FLUTTERPLUGINMACOS_H_ + #import #import "FlutterAppLifecycleDelegate.h" @@ -49,3 +52,5 @@ FLUTTER_DARWIN_EXPORT NS_ASSUME_NONNULL_END @end + +#endif // FLUTTER_SHELL_PLATFORM_DARWIN_MACOS_FRAMEWORK_HEADERS_FLUTTERPLUGINMACOS_H_ diff --git a/shell/platform/darwin/macos/framework/Headers/FlutterPluginRegistrarMacOS.h b/shell/platform/darwin/macos/framework/Headers/FlutterPluginRegistrarMacOS.h index 338896041d6bd..5b990dd84da18 100644 --- a/shell/platform/darwin/macos/framework/Headers/FlutterPluginRegistrarMacOS.h +++ b/shell/platform/darwin/macos/framework/Headers/FlutterPluginRegistrarMacOS.h @@ -2,6 +2,9 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +#ifndef FLUTTER_SHELL_PLATFORM_DARWIN_MACOS_FRAMEWORK_HEADERS_FLUTTERPLUGINREGISTRARMACOS_H_ +#define FLUTTER_SHELL_PLATFORM_DARWIN_MACOS_FRAMEWORK_HEADERS_FLUTTERPLUGINREGISTRARMACOS_H_ + #import #import "FlutterBinaryMessenger.h" @@ -144,3 +147,5 @@ FLUTTER_DARWIN_EXPORT - (nullable NSObject*)valuePublishedByPlugin:(nonnull NSString*)pluginKey; @end + +#endif // FLUTTER_SHELL_PLATFORM_DARWIN_MACOS_FRAMEWORK_HEADERS_FLUTTERPLUGINREGISTRARMACOS_H_ diff --git a/shell/platform/darwin/macos/framework/Headers/FlutterViewController.h b/shell/platform/darwin/macos/framework/Headers/FlutterViewController.h index 3a28e94a85631..5d8a0d08f45b6 100644 --- a/shell/platform/darwin/macos/framework/Headers/FlutterViewController.h +++ b/shell/platform/darwin/macos/framework/Headers/FlutterViewController.h @@ -2,6 +2,9 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +#ifndef FLUTTER_SHELL_PLATFORM_DARWIN_MACOS_FRAMEWORK_HEADERS_FLUTTERVIEWCONTROLLER_H_ +#define FLUTTER_SHELL_PLATFORM_DARWIN_MACOS_FRAMEWORK_HEADERS_FLUTTERVIEWCONTROLLER_H_ + #import #import "FlutterEngine.h" @@ -188,3 +191,5 @@ FLUTTER_DARWIN_EXPORT @property(readwrite, nonatomic, nullable, copy) NSColor* backgroundColor; @end + +#endif // FLUTTER_SHELL_PLATFORM_DARWIN_MACOS_FRAMEWORK_HEADERS_FLUTTERVIEWCONTROLLER_H_ diff --git a/shell/platform/darwin/macos/framework/Source/FlutterBackingStore.h b/shell/platform/darwin/macos/framework/Source/FlutterBackingStore.h index 809c174c37343..80f8bfe1c75cd 100644 --- a/shell/platform/darwin/macos/framework/Source/FlutterBackingStore.h +++ b/shell/platform/darwin/macos/framework/Source/FlutterBackingStore.h @@ -2,6 +2,9 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +#ifndef FLUTTER_SHELL_PLATFORM_DARWIN_MACOS_FRAMEWORK_SOURCE_FLUTTERBACKINGSTORE_H_ +#define FLUTTER_SHELL_PLATFORM_DARWIN_MACOS_FRAMEWORK_SOURCE_FLUTTERBACKINGSTORE_H_ + #import #import @@ -22,3 +25,5 @@ - (nonnull instancetype)initWithTexture:(nonnull id)texture; @end + +#endif // FLUTTER_SHELL_PLATFORM_DARWIN_MACOS_FRAMEWORK_SOURCE_FLUTTERBACKINGSTORE_H_ diff --git a/shell/platform/darwin/macos/framework/Source/FlutterChannelKeyResponder.h b/shell/platform/darwin/macos/framework/Source/FlutterChannelKeyResponder.h index 911695e7adaa8..beccb9de78a9b 100644 --- a/shell/platform/darwin/macos/framework/Source/FlutterChannelKeyResponder.h +++ b/shell/platform/darwin/macos/framework/Source/FlutterChannelKeyResponder.h @@ -2,6 +2,9 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +#ifndef FLUTTER_SHELL_PLATFORM_DARWIN_MACOS_FRAMEWORK_SOURCE_FLUTTERCHANNELKEYRESPONDER_H_ +#define FLUTTER_SHELL_PLATFORM_DARWIN_MACOS_FRAMEWORK_SOURCE_FLUTTERCHANNELKEYRESPONDER_H_ + #import "flutter/shell/platform/darwin/macos/framework/Source/FlutterKeyPrimaryResponder.h" #import @@ -22,3 +25,5 @@ - (nonnull instancetype)initWithChannel:(nonnull FlutterBasicMessageChannel*)channel; @end + +#endif // FLUTTER_SHELL_PLATFORM_DARWIN_MACOS_FRAMEWORK_SOURCE_FLUTTERCHANNELKEYRESPONDER_H_ diff --git a/shell/platform/darwin/macos/framework/Source/FlutterEmbedderKeyResponder.h b/shell/platform/darwin/macos/framework/Source/FlutterEmbedderKeyResponder.h index f786bc25bebd0..8600780d675a5 100644 --- a/shell/platform/darwin/macos/framework/Source/FlutterEmbedderKeyResponder.h +++ b/shell/platform/darwin/macos/framework/Source/FlutterEmbedderKeyResponder.h @@ -2,6 +2,9 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +#ifndef FLUTTER_SHELL_PLATFORM_DARWIN_MACOS_FRAMEWORK_SOURCE_FLUTTEREMBEDDERKEYRESPONDER_H_ +#define FLUTTER_SHELL_PLATFORM_DARWIN_MACOS_FRAMEWORK_SOURCE_FLUTTEREMBEDDERKEYRESPONDER_H_ + #import #import "flutter/shell/platform/darwin/macos/framework/Source/FlutterKeyPrimaryResponder.h" @@ -44,3 +47,5 @@ typedef void (^FlutterSendEmbedderKeyEvent)(const FlutterKeyEvent& /* event */, - (nonnull NSDictionary*)getPressedState; @end + +#endif // FLUTTER_SHELL_PLATFORM_DARWIN_MACOS_FRAMEWORK_SOURCE_FLUTTEREMBEDDERKEYRESPONDER_H_ diff --git a/shell/platform/darwin/macos/framework/Source/FlutterEngineTestUtils.h b/shell/platform/darwin/macos/framework/Source/FlutterEngineTestUtils.h index a0a58d4516d82..3e8cb595e8d5e 100644 --- a/shell/platform/darwin/macos/framework/Source/FlutterEngineTestUtils.h +++ b/shell/platform/darwin/macos/framework/Source/FlutterEngineTestUtils.h @@ -2,6 +2,9 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +#ifndef FLUTTER_SHELL_PLATFORM_DARWIN_MACOS_FRAMEWORK_SOURCE_FLUTTERENGINETESTUTILS_H_ +#define FLUTTER_SHELL_PLATFORM_DARWIN_MACOS_FRAMEWORK_SOURCE_FLUTTERENGINETESTUTILS_H_ + #import "flutter/shell/platform/darwin/macos/framework/Headers/FlutterEngine.h" #import @@ -65,3 +68,5 @@ class MockFlutterEngineTest : public AutoreleasePoolTest { }; } // namespace flutter::testing + +#endif // FLUTTER_SHELL_PLATFORM_DARWIN_MACOS_FRAMEWORK_SOURCE_FLUTTERENGINETESTUTILS_H_ diff --git a/shell/platform/darwin/macos/framework/Source/FlutterEngine_Internal.h b/shell/platform/darwin/macos/framework/Source/FlutterEngine_Internal.h index eaac0d7796539..86d0152011db2 100644 --- a/shell/platform/darwin/macos/framework/Source/FlutterEngine_Internal.h +++ b/shell/platform/darwin/macos/framework/Source/FlutterEngine_Internal.h @@ -2,6 +2,9 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +#ifndef FLUTTER_SHELL_PLATFORM_DARWIN_MACOS_FRAMEWORK_SOURCE_FLUTTERENGINE_INTERNAL_H_ +#define FLUTTER_SHELL_PLATFORM_DARWIN_MACOS_FRAMEWORK_SOURCE_FLUTTERENGINE_INTERNAL_H_ + #import "flutter/shell/platform/darwin/macos/framework/Headers/FlutterEngine.h" #import @@ -219,3 +222,5 @@ typedef NS_ENUM(NSInteger, FlutterAppExitResponse) { @end NS_ASSUME_NONNULL_END + +#endif // FLUTTER_SHELL_PLATFORM_DARWIN_MACOS_FRAMEWORK_SOURCE_FLUTTERENGINE_INTERNAL_H_ diff --git a/shell/platform/darwin/macos/framework/Source/FlutterExternalTexture.h b/shell/platform/darwin/macos/framework/Source/FlutterExternalTexture.h index 79d222a392050..b2aa481aade14 100644 --- a/shell/platform/darwin/macos/framework/Source/FlutterExternalTexture.h +++ b/shell/platform/darwin/macos/framework/Source/FlutterExternalTexture.h @@ -2,6 +2,9 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +#ifndef FLUTTER_SHELL_PLATFORM_DARWIN_MACOS_FRAMEWORK_SOURCE_FLUTTEREXTERNALTEXTURE_H_ +#define FLUTTER_SHELL_PLATFORM_DARWIN_MACOS_FRAMEWORK_SOURCE_FLUTTEREXTERNALTEXTURE_H_ + #import #import "flutter/shell/platform/darwin/graphics/FlutterDarwinContextMetalSkia.h" @@ -34,3 +37,5 @@ - (BOOL)populateTexture:(nonnull FlutterMetalExternalTexture*)metalTexture; @end + +#endif // FLUTTER_SHELL_PLATFORM_DARWIN_MACOS_FRAMEWORK_SOURCE_FLUTTEREXTERNALTEXTURE_H_ diff --git a/shell/platform/darwin/macos/framework/Source/FlutterKeyPrimaryResponder.h b/shell/platform/darwin/macos/framework/Source/FlutterKeyPrimaryResponder.h index 2c8918d45d70c..5a2e18d3a4ab3 100644 --- a/shell/platform/darwin/macos/framework/Source/FlutterKeyPrimaryResponder.h +++ b/shell/platform/darwin/macos/framework/Source/FlutterKeyPrimaryResponder.h @@ -2,6 +2,9 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +#ifndef FLUTTER_SHELL_PLATFORM_DARWIN_MACOS_FRAMEWORK_SOURCE_FLUTTERKEYPRIMARYRESPONDER_H_ +#define FLUTTER_SHELL_PLATFORM_DARWIN_MACOS_FRAMEWORK_SOURCE_FLUTTERKEYPRIMARYRESPONDER_H_ + #import typedef void (^FlutterAsyncKeyCallback)(BOOL handled); @@ -43,3 +46,5 @@ typedef void (^FlutterAsyncKeyCallback)(BOOL handled); @property(nonatomic, nullable, strong) NSMutableDictionary* layoutMap; @end + +#endif // FLUTTER_SHELL_PLATFORM_DARWIN_MACOS_FRAMEWORK_SOURCE_FLUTTERKEYPRIMARYRESPONDER_H_ diff --git a/shell/platform/darwin/macos/framework/Source/FlutterKeyboardManager.h b/shell/platform/darwin/macos/framework/Source/FlutterKeyboardManager.h index ae29439f9ba46..dc96cf72ed86d 100644 --- a/shell/platform/darwin/macos/framework/Source/FlutterKeyboardManager.h +++ b/shell/platform/darwin/macos/framework/Source/FlutterKeyboardManager.h @@ -2,6 +2,9 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +#ifndef FLUTTER_SHELL_PLATFORM_DARWIN_MACOS_FRAMEWORK_SOURCE_FLUTTERKEYBOARDMANAGER_H_ +#define FLUTTER_SHELL_PLATFORM_DARWIN_MACOS_FRAMEWORK_SOURCE_FLUTTERKEYBOARDMANAGER_H_ + #import #import "flutter/shell/platform/darwin/macos/framework/Source/FlutterKeyboardViewDelegate.h" @@ -66,3 +69,5 @@ - (nonnull NSDictionary*)getPressedState; @end + +#endif // FLUTTER_SHELL_PLATFORM_DARWIN_MACOS_FRAMEWORK_SOURCE_FLUTTERKEYBOARDMANAGER_H_ diff --git a/shell/platform/darwin/macos/framework/Source/FlutterKeyboardViewDelegate.h b/shell/platform/darwin/macos/framework/Source/FlutterKeyboardViewDelegate.h index f051b95613326..c081e8b1447ab 100644 --- a/shell/platform/darwin/macos/framework/Source/FlutterKeyboardViewDelegate.h +++ b/shell/platform/darwin/macos/framework/Source/FlutterKeyboardViewDelegate.h @@ -2,6 +2,9 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +#ifndef FLUTTER_SHELL_PLATFORM_DARWIN_MACOS_FRAMEWORK_SOURCE_FLUTTERKEYBOARDVIEWDELEGATE_H_ +#define FLUTTER_SHELL_PLATFORM_DARWIN_MACOS_FRAMEWORK_SOURCE_FLUTTERKEYBOARDVIEWDELEGATE_H_ + #import #import "flutter/shell/platform/darwin/common/framework/Headers/FlutterBinaryMessenger.h" @@ -95,3 +98,5 @@ typedef struct { - (nonnull NSDictionary*)getPressedState; @end + +#endif // FLUTTER_SHELL_PLATFORM_DARWIN_MACOS_FRAMEWORK_SOURCE_FLUTTERKEYBOARDVIEWDELEGATE_H_ diff --git a/shell/platform/darwin/macos/framework/Source/FlutterMenuPlugin.h b/shell/platform/darwin/macos/framework/Source/FlutterMenuPlugin.h index 151754d52a7d3..d4f3df4264ba1 100644 --- a/shell/platform/darwin/macos/framework/Source/FlutterMenuPlugin.h +++ b/shell/platform/darwin/macos/framework/Source/FlutterMenuPlugin.h @@ -2,6 +2,9 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +#ifndef FLUTTER_SHELL_PLATFORM_DARWIN_MACOS_FRAMEWORK_SOURCE_FLUTTERMENUPLUGIN_H_ +#define FLUTTER_SHELL_PLATFORM_DARWIN_MACOS_FRAMEWORK_SOURCE_FLUTTERMENUPLUGIN_H_ + #import #import "flutter/shell/platform/darwin/common/framework/Headers/FlutterBinaryMessenger.h" @@ -21,3 +24,5 @@ */ + (void)registerWithRegistrar:(nonnull id)registrar; @end + +#endif // FLUTTER_SHELL_PLATFORM_DARWIN_MACOS_FRAMEWORK_SOURCE_FLUTTERMENUPLUGIN_H_ diff --git a/shell/platform/darwin/macos/framework/Source/FlutterMenuPlugin_Internal.h b/shell/platform/darwin/macos/framework/Source/FlutterMenuPlugin_Internal.h index 415b39398249e..f7dfdd87c9619 100644 --- a/shell/platform/darwin/macos/framework/Source/FlutterMenuPlugin_Internal.h +++ b/shell/platform/darwin/macos/framework/Source/FlutterMenuPlugin_Internal.h @@ -2,6 +2,9 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +#ifndef FLUTTER_SHELL_PLATFORM_DARWIN_MACOS_FRAMEWORK_SOURCE_FLUTTERMENUPLUGIN_INTERNAL_H_ +#define FLUTTER_SHELL_PLATFORM_DARWIN_MACOS_FRAMEWORK_SOURCE_FLUTTERMENUPLUGIN_INTERNAL_H_ + #import "flutter/shell/platform/darwin/macos/framework/Source/FlutterMenuPlugin.h" /** @@ -13,3 +16,5 @@ - (void)handleMethodCall:(FlutterMethodCall*)call result:(FlutterResult)result; @end + +#endif // FLUTTER_SHELL_PLATFORM_DARWIN_MACOS_FRAMEWORK_SOURCE_FLUTTERMENUPLUGIN_INTERNAL_H_ diff --git a/shell/platform/darwin/macos/framework/Source/FlutterMouseCursorPlugin.h b/shell/platform/darwin/macos/framework/Source/FlutterMouseCursorPlugin.h index 73b1d63e87d92..ac986d6fb81c4 100644 --- a/shell/platform/darwin/macos/framework/Source/FlutterMouseCursorPlugin.h +++ b/shell/platform/darwin/macos/framework/Source/FlutterMouseCursorPlugin.h @@ -2,6 +2,9 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +#ifndef FLUTTER_SHELL_PLATFORM_DARWIN_MACOS_FRAMEWORK_SOURCE_FLUTTERMOUSECURSORPLUGIN_H_ +#define FLUTTER_SHELL_PLATFORM_DARWIN_MACOS_FRAMEWORK_SOURCE_FLUTTERMOUSECURSORPLUGIN_H_ + #import #import "flutter/shell/platform/darwin/common/framework/Headers/FlutterBinaryMessenger.h" @@ -16,3 +19,5 @@ @interface FlutterMouseCursorPlugin : NSObject @end + +#endif // FLUTTER_SHELL_PLATFORM_DARWIN_MACOS_FRAMEWORK_SOURCE_FLUTTERMOUSECURSORPLUGIN_H_ diff --git a/shell/platform/darwin/macos/framework/Source/FlutterMutatorView.h b/shell/platform/darwin/macos/framework/Source/FlutterMutatorView.h index ce7f2e0d4a684..73367ef0fe799 100644 --- a/shell/platform/darwin/macos/framework/Source/FlutterMutatorView.h +++ b/shell/platform/darwin/macos/framework/Source/FlutterMutatorView.h @@ -2,6 +2,9 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +#ifndef FLUTTER_SHELL_PLATFORM_DARWIN_MACOS_FRAMEWORK_SOURCE_FLUTTERMUTATORVIEW_H_ +#define FLUTTER_SHELL_PLATFORM_DARWIN_MACOS_FRAMEWORK_SOURCE_FLUTTERMUTATORVIEW_H_ + #import #include "flutter/shell/platform/embedder/embedder.h" @@ -22,3 +25,5 @@ - (void)applyFlutterLayer:(nonnull const FlutterLayer*)layer; @end + +#endif // FLUTTER_SHELL_PLATFORM_DARWIN_MACOS_FRAMEWORK_SOURCE_FLUTTERMUTATORVIEW_H_ diff --git a/shell/platform/darwin/macos/framework/Source/FlutterPlatformViewController.h b/shell/platform/darwin/macos/framework/Source/FlutterPlatformViewController.h index 31f9c63cff3fc..4123d8208fccd 100644 --- a/shell/platform/darwin/macos/framework/Source/FlutterPlatformViewController.h +++ b/shell/platform/darwin/macos/framework/Source/FlutterPlatformViewController.h @@ -2,6 +2,9 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +#ifndef FLUTTER_SHELL_PLATFORM_DARWIN_MACOS_FRAMEWORK_SOURCE_FLUTTERPLATFORMVIEWCONTROLLER_H_ +#define FLUTTER_SHELL_PLATFORM_DARWIN_MACOS_FRAMEWORK_SOURCE_FLUTTERPLATFORMVIEWCONTROLLER_H_ + #import #import "FlutterChannels.h" @@ -56,3 +59,5 @@ - (void)disposePlatformViews; @end + +#endif // FLUTTER_SHELL_PLATFORM_DARWIN_MACOS_FRAMEWORK_SOURCE_FLUTTERPLATFORMVIEWCONTROLLER_H_ diff --git a/shell/platform/darwin/macos/framework/Source/FlutterRenderer.h b/shell/platform/darwin/macos/framework/Source/FlutterRenderer.h index 46f0048e35fc1..b2f82e3d927a4 100644 --- a/shell/platform/darwin/macos/framework/Source/FlutterRenderer.h +++ b/shell/platform/darwin/macos/framework/Source/FlutterRenderer.h @@ -2,6 +2,9 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +#ifndef FLUTTER_SHELL_PLATFORM_DARWIN_MACOS_FRAMEWORK_SOURCE_FLUTTERRENDERER_H_ +#define FLUTTER_SHELL_PLATFORM_DARWIN_MACOS_FRAMEWORK_SOURCE_FLUTTERRENDERER_H_ + #import #import "flutter/shell/platform/darwin/macos/framework/Headers/FlutterEngine.h" @@ -42,3 +45,5 @@ metalTexture:(nonnull FlutterMetalExternalTexture*)metalTexture; @end + +#endif // FLUTTER_SHELL_PLATFORM_DARWIN_MACOS_FRAMEWORK_SOURCE_FLUTTERRENDERER_H_ diff --git a/shell/platform/darwin/macos/framework/Source/FlutterSurface.h b/shell/platform/darwin/macos/framework/Source/FlutterSurface.h index 697bd29dee81c..b566e68092dd3 100644 --- a/shell/platform/darwin/macos/framework/Source/FlutterSurface.h +++ b/shell/platform/darwin/macos/framework/Source/FlutterSurface.h @@ -2,6 +2,9 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +#ifndef FLUTTER_SHELL_PLATFORM_DARWIN_MACOS_FRAMEWORK_SOURCE_FLUTTERSURFACE_H_ +#define FLUTTER_SHELL_PLATFORM_DARWIN_MACOS_FRAMEWORK_SOURCE_FLUTTERSURFACE_H_ + #import #import "flutter/shell/platform/embedder/embedder.h" @@ -31,3 +34,5 @@ @property(readonly, nonatomic) int64_t textureId; @end + +#endif // FLUTTER_SHELL_PLATFORM_DARWIN_MACOS_FRAMEWORK_SOURCE_FLUTTERSURFACE_H_ diff --git a/shell/platform/darwin/macos/framework/Source/FlutterSurfaceManager.h b/shell/platform/darwin/macos/framework/Source/FlutterSurfaceManager.h index 46872df2ff0fe..45d06f63f5778 100644 --- a/shell/platform/darwin/macos/framework/Source/FlutterSurfaceManager.h +++ b/shell/platform/darwin/macos/framework/Source/FlutterSurfaceManager.h @@ -2,6 +2,9 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +#ifndef FLUTTER_SHELL_PLATFORM_DARWIN_MACOS_FRAMEWORK_SOURCE_FLUTTERSURFACEMANAGER_H_ +#define FLUTTER_SHELL_PLATFORM_DARWIN_MACOS_FRAMEWORK_SOURCE_FLUTTERSURFACEMANAGER_H_ + #import #import @@ -103,3 +106,5 @@ @property(readonly, nonatomic, nonnull) NSArray* layers; @end + +#endif // FLUTTER_SHELL_PLATFORM_DARWIN_MACOS_FRAMEWORK_SOURCE_FLUTTERSURFACEMANAGER_H_ diff --git a/shell/platform/darwin/macos/framework/Source/FlutterTextInputPlugin.h b/shell/platform/darwin/macos/framework/Source/FlutterTextInputPlugin.h index d5e23c8d5aadc..dbfe75b321114 100644 --- a/shell/platform/darwin/macos/framework/Source/FlutterTextInputPlugin.h +++ b/shell/platform/darwin/macos/framework/Source/FlutterTextInputPlugin.h @@ -2,6 +2,9 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +#ifndef FLUTTER_SHELL_PLATFORM_DARWIN_MACOS_FRAMEWORK_SOURCE_FLUTTERTEXTINPUTPLUGIN_H_ +#define FLUTTER_SHELL_PLATFORM_DARWIN_MACOS_FRAMEWORK_SOURCE_FLUTTERTEXTINPUTPLUGIN_H_ + #import #import "flutter/shell/platform/darwin/common/framework/Headers/FlutterBinaryMessenger.h" @@ -67,3 +70,5 @@ @property(nonatomic) NSTextInputContext* textInputContext; @property(readwrite, nonatomic) NSString* customRunLoopMode; @end + +#endif // FLUTTER_SHELL_PLATFORM_DARWIN_MACOS_FRAMEWORK_SOURCE_FLUTTERTEXTINPUTPLUGIN_H_ diff --git a/shell/platform/darwin/macos/framework/Source/FlutterTextInputSemanticsObject.h b/shell/platform/darwin/macos/framework/Source/FlutterTextInputSemanticsObject.h index 522722a8e0502..82e0e1ad816b1 100644 --- a/shell/platform/darwin/macos/framework/Source/FlutterTextInputSemanticsObject.h +++ b/shell/platform/darwin/macos/framework/Source/FlutterTextInputSemanticsObject.h @@ -2,6 +2,9 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +#ifndef FLUTTER_SHELL_PLATFORM_DARWIN_MACOS_FRAMEWORK_SOURCE_FLUTTERTEXTINPUTSEMANTICSOBJECT_H_ +#define FLUTTER_SHELL_PLATFORM_DARWIN_MACOS_FRAMEWORK_SOURCE_FLUTTERTEXTINPUTSEMANTICSOBJECT_H_ + #import #import "flutter/shell/platform/darwin/macos/framework/Source/FlutterPlatformNodeDelegateMac.h" @@ -99,3 +102,5 @@ class FlutterTextPlatformNode : public ui::AXPlatformNodeBase { - (void)startEditing; @end + +#endif // FLUTTER_SHELL_PLATFORM_DARWIN_MACOS_FRAMEWORK_SOURCE_FLUTTERTEXTINPUTSEMANTICSOBJECT_H_ diff --git a/shell/platform/darwin/macos/framework/Source/FlutterTextureRegistrar.h b/shell/platform/darwin/macos/framework/Source/FlutterTextureRegistrar.h index cc9ddfdd9c81a..d95aab90e1a1d 100644 --- a/shell/platform/darwin/macos/framework/Source/FlutterTextureRegistrar.h +++ b/shell/platform/darwin/macos/framework/Source/FlutterTextureRegistrar.h @@ -2,6 +2,9 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +#ifndef FLUTTER_SHELL_PLATFORM_DARWIN_MACOS_FRAMEWORK_SOURCE_FLUTTERTEXTUREREGISTRAR_H_ +#define FLUTTER_SHELL_PLATFORM_DARWIN_MACOS_FRAMEWORK_SOURCE_FLUTTERTEXTUREREGISTRAR_H_ + #import #import "flutter/shell/platform/darwin/macos/framework/Headers/FlutterEngine.h" @@ -46,3 +49,5 @@ - (nullable FlutterExternalTexture*)getTextureWithID:(int64_t)textureID; @end + +#endif // FLUTTER_SHELL_PLATFORM_DARWIN_MACOS_FRAMEWORK_SOURCE_FLUTTERTEXTUREREGISTRAR_H_ diff --git a/shell/platform/darwin/macos/framework/Source/FlutterThreadSynchronizer.h b/shell/platform/darwin/macos/framework/Source/FlutterThreadSynchronizer.h index 8d8d248bdefdb..f4a9915d105a5 100644 --- a/shell/platform/darwin/macos/framework/Source/FlutterThreadSynchronizer.h +++ b/shell/platform/darwin/macos/framework/Source/FlutterThreadSynchronizer.h @@ -2,6 +2,9 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +#ifndef FLUTTER_SHELL_PLATFORM_DARWIN_MACOS_FRAMEWORK_SOURCE_FLUTTERTHREADSYNCHRONIZER_H_ +#define FLUTTER_SHELL_PLATFORM_DARWIN_MACOS_FRAMEWORK_SOURCE_FLUTTERTHREADSYNCHRONIZER_H_ + #import /** @@ -96,3 +99,5 @@ - (void)blockUntilFrameAvailable; @end + +#endif // FLUTTER_SHELL_PLATFORM_DARWIN_MACOS_FRAMEWORK_SOURCE_FLUTTERTHREADSYNCHRONIZER_H_ diff --git a/shell/platform/darwin/macos/framework/Source/FlutterView.h b/shell/platform/darwin/macos/framework/Source/FlutterView.h index d82f34c51b0cb..add6131930795 100644 --- a/shell/platform/darwin/macos/framework/Source/FlutterView.h +++ b/shell/platform/darwin/macos/framework/Source/FlutterView.h @@ -2,6 +2,9 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +#ifndef FLUTTER_SHELL_PLATFORM_DARWIN_MACOS_FRAMEWORK_SOURCE_FLUTTERVIEW_H_ +#define FLUTTER_SHELL_PLATFORM_DARWIN_MACOS_FRAMEWORK_SOURCE_FLUTTERVIEW_H_ + #import #import "flutter/shell/platform/darwin/macos/framework/Source/FlutterSurfaceManager.h" @@ -75,3 +78,5 @@ constexpr FlutterViewId kFlutterImplicitViewId = 0ll; - (void)setBackgroundColor:(nonnull NSColor*)color; @end + +#endif // FLUTTER_SHELL_PLATFORM_DARWIN_MACOS_FRAMEWORK_SOURCE_FLUTTERVIEW_H_ diff --git a/shell/platform/darwin/macos/framework/Source/FlutterViewControllerTestUtils.h b/shell/platform/darwin/macos/framework/Source/FlutterViewControllerTestUtils.h index a86002f4db9ca..6cfb45e0969c2 100644 --- a/shell/platform/darwin/macos/framework/Source/FlutterViewControllerTestUtils.h +++ b/shell/platform/darwin/macos/framework/Source/FlutterViewControllerTestUtils.h @@ -2,6 +2,9 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +#ifndef FLUTTER_SHELL_PLATFORM_DARWIN_MACOS_FRAMEWORK_SOURCE_FLUTTERVIEWCONTROLLERTESTUTILS_H_ +#define FLUTTER_SHELL_PLATFORM_DARWIN_MACOS_FRAMEWORK_SOURCE_FLUTTERVIEWCONTROLLERTESTUTILS_H_ + #import #import @@ -15,3 +18,5 @@ namespace flutter::testing { id CreateMockViewController(); } // namespace flutter::testing + +#endif // FLUTTER_SHELL_PLATFORM_DARWIN_MACOS_FRAMEWORK_SOURCE_FLUTTERVIEWCONTROLLERTESTUTILS_H_ diff --git a/shell/platform/darwin/macos/framework/Source/FlutterViewController_Internal.h b/shell/platform/darwin/macos/framework/Source/FlutterViewController_Internal.h index 4ffeffac4bb17..8f9492f30dd51 100644 --- a/shell/platform/darwin/macos/framework/Source/FlutterViewController_Internal.h +++ b/shell/platform/darwin/macos/framework/Source/FlutterViewController_Internal.h @@ -2,6 +2,9 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +#ifndef FLUTTER_SHELL_PLATFORM_DARWIN_MACOS_FRAMEWORK_SOURCE_FLUTTERVIEWCONTROLLER_INTERNAL_H_ +#define FLUTTER_SHELL_PLATFORM_DARWIN_MACOS_FRAMEWORK_SOURCE_FLUTTERVIEWCONTROLLER_INTERNAL_H_ + #import "flutter/shell/platform/darwin/macos/framework/Headers/FlutterViewController.h" #include @@ -85,3 +88,5 @@ commandQueue:(nonnull id)commandQueue; @end + +#endif // FLUTTER_SHELL_PLATFORM_DARWIN_MACOS_FRAMEWORK_SOURCE_FLUTTERVIEWCONTROLLER_INTERNAL_H_ diff --git a/shell/platform/darwin/macos/framework/Source/FlutterViewEngineProvider.h b/shell/platform/darwin/macos/framework/Source/FlutterViewEngineProvider.h index feafa708be803..d8e0b19aab3f1 100644 --- a/shell/platform/darwin/macos/framework/Source/FlutterViewEngineProvider.h +++ b/shell/platform/darwin/macos/framework/Source/FlutterViewEngineProvider.h @@ -2,6 +2,9 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +#ifndef FLUTTER_SHELL_PLATFORM_DARWIN_MACOS_FRAMEWORK_SOURCE_FLUTTERVIEWENGINEPROVIDER_H_ +#define FLUTTER_SHELL_PLATFORM_DARWIN_MACOS_FRAMEWORK_SOURCE_FLUTTERVIEWENGINEPROVIDER_H_ + #import "flutter/shell/platform/darwin/macos/framework/Source/FlutterViewProvider.h" @class FlutterEngine; @@ -20,3 +23,5 @@ - (nonnull instancetype)initWithEngine:(nonnull __weak FlutterEngine*)engine; @end + +#endif // FLUTTER_SHELL_PLATFORM_DARWIN_MACOS_FRAMEWORK_SOURCE_FLUTTERVIEWENGINEPROVIDER_H_ diff --git a/shell/platform/darwin/macos/framework/Source/FlutterViewProvider.h b/shell/platform/darwin/macos/framework/Source/FlutterViewProvider.h index 0e78c2bdf0a2d..8261f94cd70c2 100644 --- a/shell/platform/darwin/macos/framework/Source/FlutterViewProvider.h +++ b/shell/platform/darwin/macos/framework/Source/FlutterViewProvider.h @@ -2,6 +2,9 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +#ifndef FLUTTER_SHELL_PLATFORM_DARWIN_MACOS_FRAMEWORK_SOURCE_FLUTTERVIEWPROVIDER_H_ +#define FLUTTER_SHELL_PLATFORM_DARWIN_MACOS_FRAMEWORK_SOURCE_FLUTTERVIEWPROVIDER_H_ + #import "flutter/shell/platform/darwin/macos/framework/Source/FlutterView.h" /** @@ -21,3 +24,5 @@ - (nullable FlutterView*)viewForId:(FlutterViewId)id; @end + +#endif // FLUTTER_SHELL_PLATFORM_DARWIN_MACOS_FRAMEWORK_SOURCE_FLUTTERVIEWPROVIDER_H_ diff --git a/shell/platform/darwin/macos/framework/Source/KeyCodeMap_Internal.h b/shell/platform/darwin/macos/framework/Source/KeyCodeMap_Internal.h index 7d8ee0c54643c..a612d06190655 100644 --- a/shell/platform/darwin/macos/framework/Source/KeyCodeMap_Internal.h +++ b/shell/platform/darwin/macos/framework/Source/KeyCodeMap_Internal.h @@ -2,6 +2,9 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +#ifndef FLUTTER_SHELL_PLATFORM_DARWIN_MACOS_FRAMEWORK_SOURCE_KEYCODEMAP_INTERNAL_H_ +#define FLUTTER_SHELL_PLATFORM_DARWIN_MACOS_FRAMEWORK_SOURCE_KEYCODEMAP_INTERNAL_H_ + #import #include #include @@ -107,3 +110,5 @@ typedef struct { extern const std::vector kLayoutGoals; } // namespace flutter + +#endif // FLUTTER_SHELL_PLATFORM_DARWIN_MACOS_FRAMEWORK_SOURCE_KEYCODEMAP_INTERNAL_H_ diff --git a/shell/platform/darwin/macos/framework/Source/NSView+ClipsToBounds.h b/shell/platform/darwin/macos/framework/Source/NSView+ClipsToBounds.h index b4669fbde7e3f..49f332247d2e3 100644 --- a/shell/platform/darwin/macos/framework/Source/NSView+ClipsToBounds.h +++ b/shell/platform/darwin/macos/framework/Source/NSView+ClipsToBounds.h @@ -2,9 +2,14 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +#ifndef FLUTTER_SHELL_PLATFORM_DARWIN_MACOS_FRAMEWORK_SOURCE_NSVIEW_CLIPSTOBOUNDS_H_ +#define FLUTTER_SHELL_PLATFORM_DARWIN_MACOS_FRAMEWORK_SOURCE_NSVIEW_CLIPSTOBOUNDS_H_ + #import @interface NSView (ClipsToBounds) // This property is available since macOS 10.9 but only declared in macOS 14 SDK. @property BOOL clipsToBounds API_AVAILABLE(macos(10.9)); @end + +#endif // FLUTTER_SHELL_PLATFORM_DARWIN_MACOS_FRAMEWORK_SOURCE_NSVIEW_CLIPSTOBOUNDS_H_ diff --git a/shell/platform/darwin/macos/framework/Source/TestFlutterPlatformView.h b/shell/platform/darwin/macos/framework/Source/TestFlutterPlatformView.h index f6ba2cdfb2e07..3f256ea3af3a0 100644 --- a/shell/platform/darwin/macos/framework/Source/TestFlutterPlatformView.h +++ b/shell/platform/darwin/macos/framework/Source/TestFlutterPlatformView.h @@ -2,6 +2,9 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +#ifndef FLUTTER_SHELL_PLATFORM_DARWIN_MACOS_FRAMEWORK_SOURCE_TESTFLUTTERPLATFORMVIEW_H_ +#define FLUTTER_SHELL_PLATFORM_DARWIN_MACOS_FRAMEWORK_SOURCE_TESTFLUTTERPLATFORMVIEW_H_ + #import #import "flutter/shell/platform/darwin/macos/framework/Headers/FlutterEngine.h" @@ -15,3 +18,5 @@ @interface TestFlutterPlatformViewFactory : NSObject @end + +#endif // FLUTTER_SHELL_PLATFORM_DARWIN_MACOS_FRAMEWORK_SOURCE_TESTFLUTTERPLATFORMVIEW_H_ diff --git a/shell/platform/linux/testing/mock_binary_messenger_response_handle.h b/shell/platform/linux/testing/mock_binary_messenger_response_handle.h index 66372c7109249..42d86cc80fa9c 100644 --- a/shell/platform/linux/testing/mock_binary_messenger_response_handle.h +++ b/shell/platform/linux/testing/mock_binary_messenger_response_handle.h @@ -2,6 +2,9 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +#ifndef FLUTTER_SHELL_PLATFORM_LINUX_TESTING_MOCK_BINARY_MESSENGER_RESPONSE_HANDLE_H_ +#define FLUTTER_SHELL_PLATFORM_LINUX_TESTING_MOCK_BINARY_MESSENGER_RESPONSE_HANDLE_H_ + #include "flutter/shell/platform/linux/fl_binary_messenger_private.h" G_BEGIN_DECLS @@ -16,3 +19,5 @@ FlMockBinaryMessengerResponseHandle* fl_mock_binary_messenger_response_handle_new(); G_END_DECLS + +#endif // FLUTTER_SHELL_PLATFORM_LINUX_TESTING_MOCK_BINARY_MESSENGER_RESPONSE_HANDLE_H_ diff --git a/shell/platform/linux/testing/mock_plugin_registrar.h b/shell/platform/linux/testing/mock_plugin_registrar.h index dba77d6535c55..6207083c8ef28 100644 --- a/shell/platform/linux/testing/mock_plugin_registrar.h +++ b/shell/platform/linux/testing/mock_plugin_registrar.h @@ -2,6 +2,9 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +#ifndef FLUTTER_SHELL_PLATFORM_LINUX_TESTING_MOCK_PLUGIN_REGISTRAR_H_ +#define FLUTTER_SHELL_PLATFORM_LINUX_TESTING_MOCK_PLUGIN_REGISTRAR_H_ + #include "flutter/shell/platform/linux/public/flutter_linux/fl_binary_messenger.h" #include "flutter/shell/platform/linux/public/flutter_linux/fl_plugin_registrar.h" #include "flutter/shell/platform/linux/public/flutter_linux/fl_texture_registrar.h" @@ -19,3 +22,5 @@ FlPluginRegistrar* fl_mock_plugin_registrar_new( FlTextureRegistrar* texture_registrar); G_END_DECLS + +#endif // FLUTTER_SHELL_PLATFORM_LINUX_TESTING_MOCK_PLUGIN_REGISTRAR_H_ diff --git a/shell/platform/linux/testing/mock_renderer.h b/shell/platform/linux/testing/mock_renderer.h index 19268683cf187..5369a37b39b6f 100644 --- a/shell/platform/linux/testing/mock_renderer.h +++ b/shell/platform/linux/testing/mock_renderer.h @@ -2,6 +2,9 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +#ifndef FLUTTER_SHELL_PLATFORM_LINUX_TESTING_MOCK_RENDERER_H_ +#define FLUTTER_SHELL_PLATFORM_LINUX_TESTING_MOCK_RENDERER_H_ + #include "flutter/shell/platform/linux/fl_renderer.h" G_BEGIN_DECLS @@ -15,3 +18,5 @@ G_DECLARE_FINAL_TYPE(FlMockRenderer, FlMockRenderer* fl_mock_renderer_new(); G_END_DECLS + +#endif // FLUTTER_SHELL_PLATFORM_LINUX_TESTING_MOCK_RENDERER_H_ diff --git a/shell/platform/linux/testing/mock_texture_registrar.h b/shell/platform/linux/testing/mock_texture_registrar.h index 65c617da128be..13d59753bd05f 100644 --- a/shell/platform/linux/testing/mock_texture_registrar.h +++ b/shell/platform/linux/testing/mock_texture_registrar.h @@ -2,6 +2,9 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +#ifndef FLUTTER_SHELL_PLATFORM_LINUX_TESTING_MOCK_TEXTURE_REGISTRAR_H_ +#define FLUTTER_SHELL_PLATFORM_LINUX_TESTING_MOCK_TEXTURE_REGISTRAR_H_ + #include "flutter/shell/platform/linux/fl_texture_registrar_private.h" G_BEGIN_DECLS @@ -21,3 +24,5 @@ gboolean fl_mock_texture_registrar_get_frame_available( FlMockTextureRegistrar* registrar); G_END_DECLS + +#endif // FLUTTER_SHELL_PLATFORM_LINUX_TESTING_MOCK_TEXTURE_REGISTRAR_H_ diff --git a/testing/ios/IosUnitTests/App/AppDelegate.h b/testing/ios/IosUnitTests/App/AppDelegate.h index b9c2cbb009868..c987bb4da9e7a 100644 --- a/testing/ios/IosUnitTests/App/AppDelegate.h +++ b/testing/ios/IosUnitTests/App/AppDelegate.h @@ -2,6 +2,9 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +#ifndef FLUTTER_TESTING_IOS_IOSUNITTESTS_APP_APPDELEGATE_H_ +#define FLUTTER_TESTING_IOS_IOSUNITTESTS_APP_APPDELEGATE_H_ + #import @interface AppDelegate : UIResponder @@ -9,3 +12,5 @@ @property(strong, nonatomic) UIWindow* window; @end + +#endif // FLUTTER_TESTING_IOS_IOSUNITTESTS_APP_APPDELEGATE_H_ diff --git a/testing/ios/IosUnitTests/App/ViewController.h b/testing/ios/IosUnitTests/App/ViewController.h index 4f235259bfecc..86d739de890f3 100644 --- a/testing/ios/IosUnitTests/App/ViewController.h +++ b/testing/ios/IosUnitTests/App/ViewController.h @@ -2,8 +2,13 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +#ifndef FLUTTER_TESTING_IOS_IOSUNITTESTS_APP_VIEWCONTROLLER_H_ +#define FLUTTER_TESTING_IOS_IOSUNITTESTS_APP_VIEWCONTROLLER_H_ + #import @interface ViewController : UIViewController @end + +#endif // FLUTTER_TESTING_IOS_IOSUNITTESTS_APP_VIEWCONTROLLER_H_ diff --git a/testing/scenario_app/ios/FlutterAppExtensionTestHost/FlutterAppExtensionTestHost/AppDelegate.h b/testing/scenario_app/ios/FlutterAppExtensionTestHost/FlutterAppExtensionTestHost/AppDelegate.h index 99c576ec95059..6c4e04002c709 100644 --- a/testing/scenario_app/ios/FlutterAppExtensionTestHost/FlutterAppExtensionTestHost/AppDelegate.h +++ b/testing/scenario_app/ios/FlutterAppExtensionTestHost/FlutterAppExtensionTestHost/AppDelegate.h @@ -2,8 +2,13 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +#ifndef FLUTTER_TESTING_SCENARIO_APP_IOS_FLUTTERAPPEXTENSIONTESTHOST_FLUTTERAPPEXTENSIONTESTHOST_APPDELEGATE_H_ +#define FLUTTER_TESTING_SCENARIO_APP_IOS_FLUTTERAPPEXTENSIONTESTHOST_FLUTTERAPPEXTENSIONTESTHOST_APPDELEGATE_H_ + #import @interface AppDelegate : UIResponder @end + +#endif // FLUTTER_TESTING_SCENARIO_APP_IOS_FLUTTERAPPEXTENSIONTESTHOST_FLUTTERAPPEXTENSIONTESTHOST_APPDELEGATE_H_ diff --git a/testing/scenario_app/ios/FlutterAppExtensionTestHost/FlutterAppExtensionTestHost/SceneDelegate.h b/testing/scenario_app/ios/FlutterAppExtensionTestHost/FlutterAppExtensionTestHost/SceneDelegate.h index 6adc5d3a2cd7f..95dfc1cefe7e2 100644 --- a/testing/scenario_app/ios/FlutterAppExtensionTestHost/FlutterAppExtensionTestHost/SceneDelegate.h +++ b/testing/scenario_app/ios/FlutterAppExtensionTestHost/FlutterAppExtensionTestHost/SceneDelegate.h @@ -2,6 +2,9 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +#ifndef FLUTTER_TESTING_SCENARIO_APP_IOS_FLUTTERAPPEXTENSIONTESTHOST_FLUTTERAPPEXTENSIONTESTHOST_SCENEDELEGATE_H_ +#define FLUTTER_TESTING_SCENARIO_APP_IOS_FLUTTERAPPEXTENSIONTESTHOST_FLUTTERAPPEXTENSIONTESTHOST_SCENEDELEGATE_H_ + #import @interface SceneDelegate : UIResponder @@ -9,3 +12,5 @@ @property(strong, nonatomic) UIWindow* window; @end + +#endif // FLUTTER_TESTING_SCENARIO_APP_IOS_FLUTTERAPPEXTENSIONTESTHOST_FLUTTERAPPEXTENSIONTESTHOST_SCENEDELEGATE_H_ diff --git a/testing/scenario_app/ios/FlutterAppExtensionTestHost/FlutterAppExtensionTestHost/ViewController.h b/testing/scenario_app/ios/FlutterAppExtensionTestHost/FlutterAppExtensionTestHost/ViewController.h index 4f235259bfecc..397bc20aa85d5 100644 --- a/testing/scenario_app/ios/FlutterAppExtensionTestHost/FlutterAppExtensionTestHost/ViewController.h +++ b/testing/scenario_app/ios/FlutterAppExtensionTestHost/FlutterAppExtensionTestHost/ViewController.h @@ -2,8 +2,13 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +#ifndef FLUTTER_TESTING_SCENARIO_APP_IOS_FLUTTERAPPEXTENSIONTESTHOST_FLUTTERAPPEXTENSIONTESTHOST_VIEWCONTROLLER_H_ +#define FLUTTER_TESTING_SCENARIO_APP_IOS_FLUTTERAPPEXTENSIONTESTHOST_FLUTTERAPPEXTENSIONTESTHOST_VIEWCONTROLLER_H_ + #import @interface ViewController : UIViewController @end + +#endif // FLUTTER_TESTING_SCENARIO_APP_IOS_FLUTTERAPPEXTENSIONTESTHOST_FLUTTERAPPEXTENSIONTESTHOST_VIEWCONTROLLER_H_ diff --git a/testing/scenario_app/ios/Scenarios/Scenarios/AppDelegate.h b/testing/scenario_app/ios/Scenarios/Scenarios/AppDelegate.h index b7984f089a9c5..46ac1558cc0ba 100644 --- a/testing/scenario_app/ios/Scenarios/Scenarios/AppDelegate.h +++ b/testing/scenario_app/ios/Scenarios/Scenarios/AppDelegate.h @@ -2,9 +2,14 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +#ifndef FLUTTER_TESTING_SCENARIO_APP_IOS_SCENARIOS_SCENARIOS_APPDELEGATE_H_ +#define FLUTTER_TESTING_SCENARIO_APP_IOS_SCENARIOS_SCENARIOS_APPDELEGATE_H_ + #import #import @interface AppDelegate : FlutterAppDelegate @end + +#endif // FLUTTER_TESTING_SCENARIO_APP_IOS_SCENARIOS_SCENARIOS_APPDELEGATE_H_ diff --git a/testing/scenario_app/ios/Scenarios/Scenarios/ContinuousTexture.h b/testing/scenario_app/ios/Scenarios/Scenarios/ContinuousTexture.h index 996de850caa09..4e4422dad3502 100644 --- a/testing/scenario_app/ios/Scenarios/Scenarios/ContinuousTexture.h +++ b/testing/scenario_app/ios/Scenarios/Scenarios/ContinuousTexture.h @@ -2,6 +2,9 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +#ifndef FLUTTER_TESTING_SCENARIO_APP_IOS_SCENARIOS_SCENARIOS_CONTINUOUSTEXTURE_H_ +#define FLUTTER_TESTING_SCENARIO_APP_IOS_SCENARIOS_SCENARIOS_CONTINUOUSTEXTURE_H_ + #import #import @@ -18,3 +21,5 @@ NS_ASSUME_NONNULL_BEGIN @end NS_ASSUME_NONNULL_END + +#endif // FLUTTER_TESTING_SCENARIO_APP_IOS_SCENARIOS_SCENARIOS_CONTINUOUSTEXTURE_H_ diff --git a/testing/scenario_app/ios/Scenarios/Scenarios/FlutterEngine+ScenariosTest.h b/testing/scenario_app/ios/Scenarios/Scenarios/FlutterEngine+ScenariosTest.h index 9438dd3774ea4..1e746199b603b 100644 --- a/testing/scenario_app/ios/Scenarios/Scenarios/FlutterEngine+ScenariosTest.h +++ b/testing/scenario_app/ios/Scenarios/Scenarios/FlutterEngine+ScenariosTest.h @@ -2,6 +2,9 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +#ifndef FLUTTER_TESTING_SCENARIO_APP_IOS_SCENARIOS_SCENARIOS_FLUTTERENGINE_SCENARIOSTEST_H_ +#define FLUTTER_TESTING_SCENARIO_APP_IOS_SCENARIOS_SCENARIOS_FLUTTERENGINE_SCENARIOSTEST_H_ + #import NS_ASSUME_NONNULL_BEGIN @@ -14,3 +17,5 @@ NS_ASSUME_NONNULL_BEGIN entrypointArgs:(nullable NSArray*)entrypointArgs; @end NS_ASSUME_NONNULL_END + +#endif // FLUTTER_TESTING_SCENARIO_APP_IOS_SCENARIOS_SCENARIOS_FLUTTERENGINE_SCENARIOSTEST_H_ diff --git a/testing/scenario_app/ios/Scenarios/Scenarios/ScreenBeforeFlutter.h b/testing/scenario_app/ios/Scenarios/Scenarios/ScreenBeforeFlutter.h index bcbacd8871dc9..bf184129aae7b 100644 --- a/testing/scenario_app/ios/Scenarios/Scenarios/ScreenBeforeFlutter.h +++ b/testing/scenario_app/ios/Scenarios/Scenarios/ScreenBeforeFlutter.h @@ -2,6 +2,9 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +#ifndef FLUTTER_TESTING_SCENARIO_APP_IOS_SCENARIOS_SCENARIOS_SCREENBEFOREFLUTTER_H_ +#define FLUTTER_TESTING_SCENARIO_APP_IOS_SCENARIOS_SCENARIOS_SCREENBEFOREFLUTTER_H_ + #import @interface ScreenBeforeFlutter : UIViewController @@ -12,3 +15,5 @@ @property(nonatomic, readonly) FlutterEngine* engine; @end + +#endif // FLUTTER_TESTING_SCENARIO_APP_IOS_SCENARIOS_SCENARIOS_SCREENBEFOREFLUTTER_H_ diff --git a/testing/scenario_app/ios/Scenarios/Scenarios/TextPlatformView.h b/testing/scenario_app/ios/Scenarios/Scenarios/TextPlatformView.h index e88fbe9ee2fd9..c145f93236563 100644 --- a/testing/scenario_app/ios/Scenarios/Scenarios/TextPlatformView.h +++ b/testing/scenario_app/ios/Scenarios/Scenarios/TextPlatformView.h @@ -2,6 +2,9 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +#ifndef FLUTTER_TESTING_SCENARIO_APP_IOS_SCENARIOS_SCENARIOS_TEXTPLATFORMVIEW_H_ +#define FLUTTER_TESTING_SCENARIO_APP_IOS_SCENARIOS_SCENARIOS_TEXTPLATFORMVIEW_H_ + #import NS_ASSUME_NONNULL_BEGIN @@ -21,3 +24,5 @@ NS_ASSUME_NONNULL_BEGIN @end NS_ASSUME_NONNULL_END + +#endif // FLUTTER_TESTING_SCENARIO_APP_IOS_SCENARIOS_SCENARIOS_TEXTPLATFORMVIEW_H_ diff --git a/testing/scenario_app/ios/Scenarios/ScenariosShare/ShareViewController.h b/testing/scenario_app/ios/Scenarios/ScenariosShare/ShareViewController.h index 004a75bd6ad35..133213bd1c3dd 100644 --- a/testing/scenario_app/ios/Scenarios/ScenariosShare/ShareViewController.h +++ b/testing/scenario_app/ios/Scenarios/ScenariosShare/ShareViewController.h @@ -2,9 +2,14 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +#ifndef FLUTTER_TESTING_SCENARIO_APP_IOS_SCENARIOS_SCENARIOSSHARE_SHAREVIEWCONTROLLER_H_ +#define FLUTTER_TESTING_SCENARIO_APP_IOS_SCENARIOS_SCENARIOSSHARE_SHAREVIEWCONTROLLER_H_ + #import #import @interface ShareViewController : FlutterViewController @end + +#endif // FLUTTER_TESTING_SCENARIO_APP_IOS_SCENARIOS_SCENARIOSSHARE_SHAREVIEWCONTROLLER_H_ diff --git a/testing/scenario_app/ios/Scenarios/ScenariosUITests/GoldenImage.h b/testing/scenario_app/ios/Scenarios/ScenariosUITests/GoldenImage.h index 4c0b9306fe14b..2be1e5c2e3c63 100644 --- a/testing/scenario_app/ios/Scenarios/ScenariosUITests/GoldenImage.h +++ b/testing/scenario_app/ios/Scenarios/ScenariosUITests/GoldenImage.h @@ -2,6 +2,9 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +#ifndef FLUTTER_TESTING_SCENARIO_APP_IOS_SCENARIOS_SCENARIOSUITESTS_GOLDENIMAGE_H_ +#define FLUTTER_TESTING_SCENARIO_APP_IOS_SCENARIOS_SCENARIOSUITESTS_GOLDENIMAGE_H_ + #import NS_ASSUME_NONNULL_BEGIN @@ -24,3 +27,5 @@ NS_ASSUME_NONNULL_BEGIN @end NS_ASSUME_NONNULL_END + +#endif // FLUTTER_TESTING_SCENARIO_APP_IOS_SCENARIOS_SCENARIOSUITESTS_GOLDENIMAGE_H_ diff --git a/testing/scenario_app/ios/Scenarios/ScenariosUITests/GoldenPlatformViewTests.h b/testing/scenario_app/ios/Scenarios/ScenariosUITests/GoldenPlatformViewTests.h index 625fbf8b31e3c..901d45448dedd 100644 --- a/testing/scenario_app/ios/Scenarios/ScenariosUITests/GoldenPlatformViewTests.h +++ b/testing/scenario_app/ios/Scenarios/ScenariosUITests/GoldenPlatformViewTests.h @@ -2,6 +2,9 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +#ifndef FLUTTER_TESTING_SCENARIO_APP_IOS_SCENARIOS_SCENARIOSUITESTS_GOLDENPLATFORMVIEWTESTS_H_ +#define FLUTTER_TESTING_SCENARIO_APP_IOS_SCENARIOS_SCENARIOSUITESTS_GOLDENPLATFORMVIEWTESTS_H_ + #import #import "GoldenTestManager.h" @@ -30,3 +33,5 @@ NS_ASSUME_NONNULL_BEGIN @end NS_ASSUME_NONNULL_END + +#endif // FLUTTER_TESTING_SCENARIO_APP_IOS_SCENARIOS_SCENARIOSUITESTS_GOLDENPLATFORMVIEWTESTS_H_ diff --git a/testing/scenario_app/ios/Scenarios/ScenariosUITests/GoldenTestManager.h b/testing/scenario_app/ios/Scenarios/ScenariosUITests/GoldenTestManager.h index 7026672af7c46..04a74705c52e1 100644 --- a/testing/scenario_app/ios/Scenarios/ScenariosUITests/GoldenTestManager.h +++ b/testing/scenario_app/ios/Scenarios/ScenariosUITests/GoldenTestManager.h @@ -2,6 +2,9 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +#ifndef FLUTTER_TESTING_SCENARIO_APP_IOS_SCENARIOS_SCENARIOSUITESTS_GOLDENTESTMANAGER_H_ +#define FLUTTER_TESTING_SCENARIO_APP_IOS_SCENARIOS_SCENARIOSUITESTS_GOLDENTESTMANAGER_H_ + #import #import #import "GoldenImage.h" @@ -33,3 +36,5 @@ const extern double kDefaultRmseThreshold; @end NS_ASSUME_NONNULL_END + +#endif // FLUTTER_TESTING_SCENARIO_APP_IOS_SCENARIOS_SCENARIOSUITESTS_GOLDENTESTMANAGER_H_ diff --git a/testing/scenario_app/ios/Scenarios/ScenariosUITests/StatusBarTest.h b/testing/scenario_app/ios/Scenarios/ScenariosUITests/StatusBarTest.h index 03ff9a1c662cd..1312246dab07f 100644 --- a/testing/scenario_app/ios/Scenarios/ScenariosUITests/StatusBarTest.h +++ b/testing/scenario_app/ios/Scenarios/ScenariosUITests/StatusBarTest.h @@ -2,6 +2,9 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +#ifndef FLUTTER_TESTING_SCENARIO_APP_IOS_SCENARIOS_SCENARIOSUITESTS_STATUSBARTEST_H_ +#define FLUTTER_TESTING_SCENARIO_APP_IOS_SCENARIOS_SCENARIOSUITESTS_STATUSBARTEST_H_ + #import NS_ASSUME_NONNULL_BEGIN @@ -11,3 +14,5 @@ NS_ASSUME_NONNULL_BEGIN @end NS_ASSUME_NONNULL_END + +#endif // FLUTTER_TESTING_SCENARIO_APP_IOS_SCENARIOS_SCENARIOSUITESTS_STATUSBARTEST_H_