Files
FileManager/xpatchlibUtil.cpp
T
2025-12-04 18:49:17 -08:00

15 lines
452 B
C++

#include "xpatchlibUtil.h"
#include "xpatchlib.h"
// ------------------------------------------------------------------
// CreateBak function with added prog (src-dev)
// ------------------------------------------------------------------
bool UpdateBakProgress(ULONGLONG wb) {
if (CopyProgress::g_copyProgFn) {
if (!CopyProgress::g_copyProgFn(-wb, NULL, NULL, CopyProgress::g_copyProgUser)) {
return false;
}
return true;
}
return false;
}