4.45 beta

This commit is contained in:
Igor Pavlov
2007-04-17 00:00:00 +00:00
committed by Kornel Lesiński
parent d9666cf046
commit a145bfc7cf
458 changed files with 13144 additions and 18608 deletions

View File

@@ -11,6 +11,7 @@
#include "ArchiveOpenCallback.h"
#include "UpdateCallback.h"
#include "Property.h"
#include "LoadCodecs.h"
struct CArchivePath
{
@@ -75,19 +76,16 @@ struct CArchivePath
struct CUpdateArchiveCommand
{
UString UserArchivePath;
CArchivePath ArchivePath;
NUpdateArchive::CActionSet ActionSet;
};
struct CCompressionMethodMode
{
#ifndef EXCLUDE_COM
UString FilePath;
CLSID ClassID;
#else
UString Name;
#endif
int FormatIndex;
CObjectVector<CProperty> Properties;
CCompressionMethodMode(): FormatIndex(-1) {}
};
struct CUpdateOptions
@@ -111,6 +109,8 @@ struct CUpdateOptions
UString WorkingDir;
bool Init(const CCodecs *codecs, const UString &arcPath, const UString &arcType);
CUpdateOptions():
UpdateArchiveItself(true),
SfxMode(false),
@@ -149,7 +149,9 @@ struct IUpdateCallbackUI2: public IUpdateCallbackUI
virtual HRESULT FinishArchive() = 0;
};
HRESULT UpdateArchive(const NWildcard::CCensor &censor,
HRESULT UpdateArchive(
CCodecs *codecs,
const NWildcard::CCensor &censor,
CUpdateOptions &options,
CUpdateErrorInfo &errorInfo,
IOpenCallbackUI *openCallback,