Navigation
API > API/Developer > API/Developer/DesktopPlatform
References
| Module | DesktopPlatform |
| Header | /Engine/Source/Developer/DesktopPlatform/Public/IDesktopPlatform.h |
| Include | #include "IDesktopPlatform.h" |
Syntax
class IDesktopPlatform
Remarks
Interface for functionality supported by desktop platforms
Destructors
| Type | Name | Description | |
|---|---|---|---|
| Virtual destructor |
Functions
| Type | Name | Description | |
|---|---|---|---|
| bool | CleanGameProject
(
const FString& ProjectDir, |
Cleans a game project. Removes the intermediate folder and binary build products. | |
| bool | CompileGameProject
(
const FString& RootDir, |
Compiles a game project. | |
| void | EnumerateEngineInstallations
(
TMap< FString, FString >& OutInstallations |
Enumerates all the registered engine installations. | |
| void | EnumerateLauncherEngineInstallations
(
TMap< FString, FString >& OutInstallations |
Enumerates all the registered binary engine installations. | |
| void | EnumerateLauncherSampleInstallations
(
TArray< FString >& OutInstallations |
Enumerates all the samples installed by the launcher. | |
| void | EnumerateLauncherSampleProjects
(
TArray< FString >& OutFileNames |
Enumerates all the sample projects installed by the launcher. | |
| bool | EnumerateProjectsKnownByEngine
(
const FString& Identifier, |
Finds all the projects which the engine (given by an identifier) has a record of. | |
| bool | GenerateProjectFiles
(
const FString& RootDir, |
Generates project files for the given project. | |
| FString | Gets the identifier for the currently executing engine installation | ||
| bool | GetDefaultEngineIdentifier
(
FString& OutIdentifier |
Gets the identifier for the default engine. This will be the newest installed engine. | |
| bool | GetDefaultEngineRootDir
(
FString& OutRootDir |
Gets the root directory for the default engine installation. | |
| FString | Gets the default folder for creating new projects. | ||
| FString | GetEngineDescription
(
const FString& Identifier |
Returns a description for the engine with the given identifier. | |
| bool | GetEngineIdentifierForProject
(
const FString& ProjectFileName, |
Gets the engine association for a project. | |
| bool | GetEngineIdentifierFromRootDir
(
const FString& RootDir, |
Returns the identifier for the engine with the given root directory. | |
| bool | GetEngineRootDirFromIdentifier
(
const FString& Identifier, |
Returns the identifier for the engine with the given root directory. | |
| FString | GetEngineSavedConfigDirectory
(
const FString& Identifier |
Gets the root directory for the engine's saved config files | |
| bool | GetHordeAccessToken
(
const FString& HordeUrl, |
Gets an access token for the given Horde Server. | |
| bool | GetHordeUrl
(
FString& OutHordeUrl, |
Get the URL of the configured Horde server for the current user account. | |
| FFeedbackContext * | Gets a feedback context which can display progress information using the native platform GUI. | ||
| bool | GetOidcAccessToken
(
const FString& RootDir, |
Get a Access token for use by OIDC compliant Identity Providers | |
| bool | GetOidcTokenStatus
(
const FString& RootDir, |
Get the status of a access token for use by OIDC compliant Identity Providers | |
| const TArray< FTargetInfo > & | Gets information about the build targets supported by the current project. | ||
| const TArray< FTargetInfo > & | GetTargetsForProject
(
const FString& ProjectFile |
Gets information about the build targets supported by a particular project. | |
| FString | Gets the path to the user's temporary directory | ||
| FProcHandle | InvokeUnrealBuildToolAsync
(
const FString& InCmdLineParams, |
Launches UnrealBuildTool with the specified command line parameters | |
| bool | InvokeUnrealBuildToolSync
(
const FString& InCmdLineParams, |
Invokes UnrealBuildTool with the given arguments | |
| bool | IsPerforceBuild
(
const FString& RootDir |
Tests whether an engine installation is a perforce build. | |
| bool | IsPreferredEngineIdentifier
(
const FString& Identifier, |
Compares two identifiers and checks whether the first is preferred to the second. | |
| bool | IsSourceDistribution
(
const FString& RootDir |
Tests whether an engine installation is a source distribution. | |
| bool | IsStockEngineRelease
(
const FString& Identifier |
Checks if the given engine identifier is for an stock engine release. | |
| bool | Determines whether UnrealBuildTool is available | ||
| bool | Checks if an instance of UnrealBuildTool is running. | ||
| bool | IsValidRootDirectory
(
const FString& RootDir |
Tests whether a root directory is a valid Unreal Engine installation | |
| bool | OpenDirectoryDialog
(
const void* ParentWindowHandle, |
Opens the "choose folder" dialog for the platform | |
| bool | Opens the "open file" dialog for the platform | ||
| bool | Opens the "open file" dialog for the platform | ||
| bool | OpenFontDialog
(
const void* ParentWindowHandle, |
Opens the "choose font" dialog for the platform | |
| bool | OpenProject
(
const FString& ProjectFileName |
Opens the given project with the appropriate editor. Tries to use the shell association. | |
| bool | RegisterEngineInstallation
(
const FString& RootDir, |
Registers a directory as containing an engine installation | |
| bool | RunUnrealBuildTool
(
const FText& Description, |
Runs UnrealBuildTool with the given arguments. | |
| bool | RunUnrealBuildTool
(
const FText& Description, |
Runs UnrealBuildTool with the given arguments. | |
| bool | Opens the "save file" dialog for the platform | ||
| bool | SetEngineIdentifierForProject
(
const FString& ProjectFileName, |
Sets the engine association for a project. | |
| void | SetHordeUrl
(
const FString& HordeUrl |
Set the URL of the configured Horde server for the current user account. | |
| bool | TryGetEngineVersion
(
const FString& RootDir, |
Attempt to get the engine version from the supplied engine root directory. | |
| bool | TryParseStockEngineVersion
(
const FString& Identifier, |
Attempt to get the engine version from the supplied identifier | |
| bool | Updates file associations. | ||
| bool | Checks that the current file associations are correct. |