mirror of
https://github.com/Xevion/easy7zip.git
synced 2025-12-12 03:09:57 -06:00
42 lines
851 B
C
Executable File
42 lines
851 B
C
Executable File
// Update.h
|
|
|
|
#pragma once
|
|
|
|
#ifndef __UPDATE_H
|
|
#define __UPDATE_H
|
|
|
|
#include "Common/Wildcard.h"
|
|
#include "../Common/UpdateAction.h"
|
|
// #include "ProxyHandler.h"
|
|
#include "Windows/FileFind.h"
|
|
#include "../../Archive/IArchive.h"
|
|
#include "CompressionMode.h"
|
|
|
|
struct CUpdateArchiveCommand
|
|
{
|
|
UString ArchivePath;
|
|
NUpdateArchive::CActionSet ActionSet;
|
|
};
|
|
|
|
struct CUpdateArchiveOptions
|
|
{
|
|
CObjectVector<CUpdateArchiveCommand> Commands;
|
|
bool UpdateArchiveItself;
|
|
|
|
bool SfxMode;
|
|
UString SfxModule;
|
|
|
|
UString ArchivePath;
|
|
CCompressionMethodMode MethodMode;
|
|
};
|
|
|
|
|
|
HRESULT UpdateArchiveStdMain(const NWildcard::CCensor &censor,
|
|
CUpdateArchiveOptions &options, const UString &workingDir,
|
|
IInArchive *archive,
|
|
const UString *defaultItemName,
|
|
const NWindows::NFile::NFind::CFileInfoW *archiveFileInfo,
|
|
bool enablePercents);
|
|
|
|
#endif
|