mirror of
https://github.com/Theaninova/BeatLanguageMapper.git
synced 2026-01-19 16:33:03 +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,34 @@
|
||||
#include "ZipUtilityPrivatePCH.h"
|
||||
#include "SevenZipCallbackHandler.h"
|
||||
#include "WFULambdaRunnable.h"
|
||||
#include "ZipOperation.h"
|
||||
|
||||
UZipOperation::UZipOperation()
|
||||
{
|
||||
CallbackHandler = nullptr;
|
||||
}
|
||||
|
||||
void UZipOperation::StopOperation()
|
||||
{
|
||||
if (ThreadPoolWork != nullptr)
|
||||
{
|
||||
WFULambdaRunnable::RemoveLambdaFromQueue(ThreadPoolWork);
|
||||
}
|
||||
|
||||
if (CallbackHandler != nullptr)
|
||||
{
|
||||
CallbackHandler->bCancelOperation = true;
|
||||
CallbackHandler = nullptr;
|
||||
}
|
||||
}
|
||||
|
||||
void UZipOperation::SetCallbackHandler(SevenZipCallbackHandler* Handler)
|
||||
{
|
||||
CallbackHandler = Handler;
|
||||
}
|
||||
|
||||
void UZipOperation::SetThreadPoolWorker(IQueuedWork* Work)
|
||||
{
|
||||
ThreadPoolWork = Work;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user