Files
BeatLanguageMapper/Plugins/ZipUtility-ue4/Source/WindowsUtility/Private/WFUFileListLambdaDelegate.h
squeaksies 7b6050b843 Mk2Rev1
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.
2018-11-07 18:00:46 -08:00

24 lines
863 B
C++

#pragma once
#include "Object.h"
#include "WFUFileListLambdaDelegate.generated.h"
UCLASS()
class WINDOWSFILEUTILITY_API UWFUFileListLambdaDelegate : public UObject, public IWFUFileListInterface
{
GENERATED_BODY()
UWFUFileListLambdaDelegate();
public:
void SetOnDoneCallback(TFunction<void(const TArray<FString>&, const TArray<FString>&)> InOnDoneCallback);
protected:
//File List Interface
virtual void OnListFileFound_Implementation(const FString& FileName, int32 ByteCount, const FString& FilePath) override;
virtual void OnListDirectoryFound_Implementation(const FString& DirectoryName, const FString& FilePath) override;
virtual void OnListDone_Implementation(const FString& DirectoryPath, const TArray<FString>& Files, const TArray<FString>& Folders) override;
TFunction<void(const TArray<FString>&, const TArray<FString>&)> OnDoneCallback;
};