mirror of
https://github.com/Theaninova/BeatLanguageMapper.git
synced 2025-12-11 05:56:27 +00:00
various bugfixes and such. also bookmarks, temp song loaderm and undo overhaul with near complete multiplayer, but menu items disabled. i really wish i could split this into multiple commits, but i don't know how to work unreal.
32 lines
886 B
C++
32 lines
886 B
C++
|
|
#include "WindowsFileUtilityPrivatePCH.h"
|
|
#include "WindowsFileUtilityFunctionLibrary.h"
|
|
#include "WFUFileListLambdaDelegate.h"
|
|
|
|
UWFUFileListLambdaDelegate::UWFUFileListLambdaDelegate()
|
|
{
|
|
OnDoneCallback = nullptr;
|
|
}
|
|
|
|
void UWFUFileListLambdaDelegate::SetOnDoneCallback(TFunction<void(const TArray<FString>&, const TArray<FString>&)> InOnDoneCallback)
|
|
{
|
|
OnDoneCallback = InOnDoneCallback;
|
|
}
|
|
|
|
void UWFUFileListLambdaDelegate::OnListFileFound_Implementation(const FString& FileName, int32 ByteCount, const FString& FilePath)
|
|
{
|
|
|
|
}
|
|
|
|
void UWFUFileListLambdaDelegate::OnListDirectoryFound_Implementation(const FString& DirectoryName, const FString& FilePath)
|
|
{
|
|
|
|
}
|
|
|
|
void UWFUFileListLambdaDelegate::OnListDone_Implementation(const FString& DirectoryPath, const TArray<FString>& Files, const TArray<FString>& Folders)
|
|
{
|
|
if (OnDoneCallback != nullptr)
|
|
{
|
|
OnDoneCallback(Files, Folders);
|
|
}
|
|
} |