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,28 @@
|
||||
#pragma once
|
||||
|
||||
#include "CoreMinimal.h"
|
||||
#include "7zpp.h"
|
||||
#include "ListCallback.h"
|
||||
#include "ProgressCallback.h"
|
||||
|
||||
using namespace SevenZip;
|
||||
/**
|
||||
* Forwards events from the 7zpp library to the UE4 listener.
|
||||
*/
|
||||
class ZIPUTILITY_API SevenZipCallbackHandler : public ListCallback, public ProgressCallback
|
||||
{
|
||||
public:
|
||||
|
||||
virtual void OnProgress(const TString& archivePath, uint64 bytes) override;
|
||||
virtual void OnDone(const TString& archivePath) override;
|
||||
virtual void OnFileDone(const TString& archivePath, const TString& filePath, uint64 bytes) override;
|
||||
virtual void OnStartWithTotal(const TString& archivePath, unsigned __int64 totalBytes) override;
|
||||
virtual void OnFileFound(const TString& archivePath, const TString& filePath, int size) override;
|
||||
virtual void OnListingDone(const TString& archivePath) override;
|
||||
virtual bool OnCheckBreak() override;
|
||||
|
||||
uint64 BytesLeft = 0;
|
||||
uint64 TotalBytes = 0;
|
||||
UObject* ProgressDelegate = nullptr;
|
||||
FThreadSafeBool bCancelOperation = false;
|
||||
};
|
||||
Reference in New Issue
Block a user