Files
UnrealEngine/Engine/Source/Runtime/Launch/Private/Apple/LaunchCPPToSwift.h
2025-05-18 13:04:45 +08:00

31 lines
603 B
Objective-C

// Copyright Epic Games, Inc. All Rights Reserved.
#pragma once
#if PLATFORM_MAC
#include "../../../Launch/Public/Mac/UEAppDelegate.h"
void KickoffEngine();
#else // mobile
// define this so we disable C++ etc bits swift doesn't beed
#define SWIFT_IMPORT
#include "../../../ApplicationCore/Public/IOS/IOSAppDelegate.h"
#include "../../../ApplicationCore/Public/IOS/IOSView.h"
#endif
// setup the kickoff function
#if PLATFORM_VISIONOS
#import <CompositorServices/CompositorServices.h>
void KickoffWithCompositingLayer(CP_OBJECT_cp_layer_renderer* Layer);
#else
void KickoffEngine();
#endif