mirror of
https://github.com/Theaninova/BeatLanguageMapper.git
synced 2026-01-22 09:52:53 +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:
40
Plugins/ZipUtility-ue4/ThirdParty/7zpp/Include/ProgressCallback.h
vendored
Normal file
40
Plugins/ZipUtility-ue4/ThirdParty/7zpp/Include/ProgressCallback.h
vendored
Normal file
@@ -0,0 +1,40 @@
|
||||
#pragma once
|
||||
|
||||
|
||||
#include "SevenZipLibrary.h"
|
||||
#include "CompressionFormat.h"
|
||||
|
||||
|
||||
namespace SevenZip
|
||||
{
|
||||
class ProgressCallback
|
||||
{
|
||||
public:
|
||||
|
||||
/*
|
||||
Called at beginning
|
||||
*/
|
||||
virtual void OnStartWithTotal(const TString& archivePath, unsigned __int64 totalBytes) = 0;
|
||||
|
||||
/*
|
||||
Called Whenever progress has updated with a bytes complete
|
||||
*/
|
||||
virtual void OnProgress(const TString& archivePath, unsigned __int64 bytesCompleted) = 0;
|
||||
|
||||
|
||||
/*
|
||||
Called When progress has reached 100%
|
||||
*/
|
||||
virtual void OnDone(const TString& archivePath) = 0;
|
||||
|
||||
/*
|
||||
Called When single file progress has reached 100%, returns the filepath that completed
|
||||
*/
|
||||
virtual void OnFileDone(const TString& archivePath, const TString& filePath, unsigned __int64 bytesCompleted) = 0;
|
||||
|
||||
/*
|
||||
Called to determine if it's time to abort the zip operation. Return true to abort the current operation.
|
||||
*/
|
||||
virtual bool OnCheckBreak() = 0;
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user