You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
refactored tga code to allows use outside of EditorFactories.cpp added support for grayscale jpeg fix memory leak in jpeg code changes in AssetTools to allow to specify precise factory when multiple factories support the same filetype changes in Plugin.cs to allow binary only plugins exposed parts of engine API to other modules [CL 2108453 by Matt Kuhlenschmidt in Main branch]
38 lines
2.3 KiB
C++
38 lines
2.3 KiB
C++
// Copyright 1998-2014 Epic Games, Inc. All Rights Reserved.
|
|
|
|
#pragma once
|
|
|
|
#include "../DesktopPlatformBase.h"
|
|
#include "WindowsRegistry.h"
|
|
|
|
class FDesktopPlatformWindows : public FDesktopPlatformBase
|
|
{
|
|
public:
|
|
// IDesktopPlatform Implementation
|
|
virtual bool OpenFileDialog(const void* ParentWindowHandle, const FString& DialogTitle, const FString& DefaultPath, const FString& DefaultFile, const FString& FileTypes, uint32 Flags, TArray<FString>& OutFilenames) override;
|
|
virtual bool OpenFileDialog(const void* ParentWindowHandle, const FString& DialogTitle, const FString& DefaultPath, const FString& DefaultFile, const FString& FileTypes, uint32 Flags, TArray<FString>& OutFilenames, int32& OutFilterIndex) override;
|
|
virtual bool SaveFileDialog(const void* ParentWindowHandle, const FString& DialogTitle, const FString& DefaultPath, const FString& DefaultFile, const FString& FileTypes, uint32 Flags, TArray<FString>& OutFilenames) override;
|
|
virtual bool OpenDirectoryDialog(const void* ParentWindowHandle, const FString& DialogTitle, const FString& DefaultPath, FString& OutFolderName) override;
|
|
virtual bool OpenFontDialog(const void* ParentWindowHandle, FString& OutFontName, float& OutHeight, EFontImportFlags::Type& OutFlags) override;
|
|
virtual bool OpenLauncher(bool Install, FString CommandLineParams ) override;
|
|
|
|
virtual bool RegisterEngineInstallation(const FString &RootDir, FString &OutIdentifier) override;
|
|
virtual void EnumerateEngineInstallations(TMap<FString, FString> &OutInstallations) override;
|
|
|
|
virtual bool IsSourceDistribution(const FString &RootDir) override;
|
|
|
|
virtual bool VerifyFileAssociations() override;
|
|
virtual bool UpdateFileAssociations() override;
|
|
|
|
virtual bool RunUnrealBuildTool(const FText& Description, const FString& RootDir, const FString& Arguments, FFeedbackContext* Warn) override;
|
|
|
|
virtual FFeedbackContext* GetNativeFeedbackContext() override;
|
|
|
|
private:
|
|
bool FileDialogShared(bool bSave, const void* ParentWindowHandle, const FString& DialogTitle, const FString& DefaultPath, const FString& DefaultFile, const FString& FileTypes, uint32 Flags, TArray<FString>& OutFilenames, int32& OutFilterIndex);
|
|
void GetRequiredRegistrySettings(TIndirectArray<FRegistryRootedKey> &RootedKeys);
|
|
int32 GetShellIntegrationVersion(const FString &FileName);
|
|
};
|
|
|
|
typedef FDesktopPlatformWindows FDesktopPlatform;
|