Files
squeaksies 7b6050b843 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.
2018-11-07 18:00:46 -08:00

41 lines
908 B
C++

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