mirror of
https://github.com/Theaninova/BeatLanguageMapper.git
synced 2026-01-21 01:13:04 +00:00
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.
This commit is contained in:
@@ -0,0 +1,32 @@
|
||||
|
||||
#include "WindowsFileUtilityPrivatePCH.h"
|
||||
#include "WindowsFileUtilityFunctionLibrary.h"
|
||||
#include "WFUFolderWatchLambdaDelegate.h"
|
||||
|
||||
UWFUFolderWatchLambdaDelegate::UWFUFolderWatchLambdaDelegate()
|
||||
{
|
||||
OnFileChangedCallback = nullptr;
|
||||
}
|
||||
|
||||
|
||||
void UWFUFolderWatchLambdaDelegate::SetOnFileChangedCallback(TFunction<void(FString, FString)> InOnFileChangedCallback)
|
||||
{
|
||||
OnFileChangedCallback = InOnFileChangedCallback;
|
||||
}
|
||||
|
||||
|
||||
void UWFUFolderWatchLambdaDelegate::OnFileChanged_Implementation(const FString& FileName, const FString& FilePath)
|
||||
{
|
||||
if (OnFileChangedCallback != nullptr)
|
||||
{
|
||||
OnFileChangedCallback(FileName, FilePath);
|
||||
}
|
||||
}
|
||||
|
||||
void UWFUFolderWatchLambdaDelegate::OnDirectoryChanged_Implementation(const FString& DirectoryName, const FString& DirectoryPath)
|
||||
{
|
||||
if (OnFileChangedCallback != nullptr)
|
||||
{
|
||||
OnFileChangedCallback(DirectoryName, DirectoryPath);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user