A modded EditSaber for making beat saber maps.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

34 lines
640 B

#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;
}