Files
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

43 lines
1.3 KiB
C++

// Fill out your copyright notice in the Description page of Project Settings.
#pragma once
#include "WFUFileListInterface.generated.h"
UINTERFACE(MinimalAPI)
class UWFUFileListInterface : public UInterface
{
GENERATED_UINTERFACE_BODY()
};
class WINDOWSFILEUTILITY_API IWFUFileListInterface
{
GENERATED_IINTERFACE_BODY()
public:
/**
* Called when a file has been found inside the folder of choice
* @param FileName of the found file.
* @param Size in bytes of the found file.
* @param FilePath of the file that was found
*/
UFUNCTION(BlueprintNativeEvent, Category = FolderWatchEvent)
void OnListFileFound(const FString& FileName, int32 ByteCount, const FString& FilePath);
/**
* Called when a directory has been found inside the folder of choice
* @param DirectoryName of the found directory.
* @param FilePath of the file that was found
*/
UFUNCTION(BlueprintNativeEvent, Category = FolderWatchEvent)
void OnListDirectoryFound(const FString& DirectoryName, const FString& FilePath);
/**
* Called when the listing operation has completed.
* @param DirectoryPath Path of the directory
* @param Files array of files found
*/
UFUNCTION(BlueprintNativeEvent, Category = FolderWatchEvent)
void OnListDone(const FString& DirectoryPath, const TArray<FString>& Files, const TArray<FString>& Folders);
};