Agrarsense
FileUtilities.h
Go to the documentation of this file.
1// Copyright (c) 2023 FrostBit Software Lab at the Lapland University of Applied Sciences
2//
3// This work is licensed under the terms of the MIT license.
4// For a copy, see <https://opensource.org/licenses/MIT>.
5
6#pragma once
7
8#include "CoreMinimal.h"
9#include "Kismet/BlueprintFunctionLibrary.h"
10
11#include "FileUtilities.generated.h"
12
16UCLASS()
17class AGRARSENSE_API UFileUtilities : public UBlueprintFunctionLibrary
18{
19 GENERATED_BODY()
20
21public:
22
27 UFUNCTION(BlueprintCallable, Category = "File Utilities")
28 static void OpenFileExplorer(FString Path);
29
36 UFUNCTION(BlueprintCallable, Category = "File Utilities")
37 static FString OpenFileDialogReturnFirst(const FString& Path);
38
45 UFUNCTION(BlueprintCallable, Category = "File Utilities")
46 static TArray<FString> OpenFileDialogReturnFiles(const FString& Path);
47
48};