You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
#jira none #preflight 63c92c50b065224750184e22 #review @robert.seiver [CL 23773337 by aidin abedi in ue5-main branch]
44 lines
1.4 KiB
C++
Executable File
44 lines
1.4 KiB
C++
Executable File
// Copyright Epic Games, Inc. All Rights Reserved.
|
|
|
|
#pragma once
|
|
|
|
#include "CoreMinimal.h"
|
|
#include "ISlateFileDialogModule.h"
|
|
|
|
class FSlateFileDialogsStyle;
|
|
|
|
class FSlateFileDialogsModule : public ISlateFileDialogsModule
|
|
{
|
|
public:
|
|
|
|
// IModuleInterface interface
|
|
|
|
virtual void StartupModule() override;
|
|
virtual void ShutdownModule() override;
|
|
|
|
public:
|
|
//ISlateFileDialogModule interface
|
|
|
|
using ISlateFileDialogsModule::OpenFileDialog;
|
|
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,
|
|
int32 DefaultFilterIndex = 0) override;
|
|
|
|
virtual bool OpenDirectoryDialog(const void* ParentWindowHandle, const FString& DialogTitle, const FString& DefaultPath,
|
|
FString& OutFoldername) override;
|
|
|
|
using ISlateFileDialogsModule::SaveFileDialog;
|
|
virtual bool SaveFileDialog(const void* ParentWindowHandle, const FString& DialogTitle, const FString& DefaultPath,
|
|
const FString& DefaultFile, const FString& FileTypes, uint32 Flags, TArray<FString>& OutFilenames, int32& OutFilterIndex,
|
|
int32 DefaultFilterIndex = 0) override;
|
|
|
|
virtual ISlateFileDialogsModule* Get() override;
|
|
|
|
FSlateFileDialogsStyle *GetFileDialogsStyle() { return FileDialogStyle; }
|
|
|
|
private:
|
|
ISlateFileDialogsModule *SlateFileDialog;
|
|
|
|
FSlateFileDialogsStyle *FileDialogStyle;
|
|
};
|