UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
PlatformProcess.mock.h
Go to the documentation of this file.
1// Copyright Epic Games, Inc. All Rights Reserved.
2#pragma once
3
4#if WITH_DEV_AUTOMATION_TESTS
5
6#include "CoreTypes.h"
7
8namespace BuildPatchServices
9{
11 {
12 public:
13 static bool ExecElevatedProcess(const TCHAR* URL, const TCHAR* Params, int32* OutReturnCode)
14 {
15 *OutReturnCode = 0;
16 return true;
17 }
18
19 static void SleepNoStats(float Seconds)
20 {
21 }
22 };
23}
24
25#endif //WITH_DEV_AUTOMATION_TESTS
FPlatformTypes::TCHAR TCHAR
Either ANSICHAR or WIDECHAR, depending on whether the platform supports wide characters or the requir...
Definition Platform.h:1135
FPlatformTypes::int32 int32
A 32-bit signed integer.
Definition Platform.h:1125
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
Definition BuildPatchFileConstructor.h:28