diff options
author | Igor Pavlov <ipavlov@users.sourceforge.net> | 2008-08-13 04:00:00 +0400 |
---|---|---|
committer | Kornel LesiĆski <kornel@geekhood.net> | 2016-05-28 02:15:56 +0300 |
commit | 173c07e166fdf6fcd20f18ea73008f1b628945df (patch) | |
tree | 13ebea85cdc4c16ae93714ff0627ee9f91ad7e08 /CPP/7zip/UI/Common/UpdateCallback.h | |
parent | 3901bf0ab88106a5b031cba7bc18d60cdebf7eef (diff) |
4.59 beta
Diffstat (limited to 'CPP/7zip/UI/Common/UpdateCallback.h')
-rwxr-xr-x | CPP/7zip/UI/Common/UpdateCallback.h | 26 |
1 files changed, 7 insertions, 19 deletions
diff --git a/CPP/7zip/UI/Common/UpdateCallback.h b/CPP/7zip/UI/Common/UpdateCallback.h index bf90ff9e..411ee011 100755 --- a/CPP/7zip/UI/Common/UpdateCallback.h +++ b/CPP/7zip/UI/Common/UpdateCallback.h @@ -31,7 +31,7 @@ struct IUpdateCallbackUI INTERFACE_IUpdateCallbackUI(=0) }; -class CArchiveUpdateCallback: +class CArchiveUpdateCallback: public IArchiveUpdateCallback2, public ICryptoGetTextPassword2, public ICompressProgressInfo, @@ -39,25 +39,13 @@ class CArchiveUpdateCallback: { public: MY_UNKNOWN_IMP3( - IArchiveUpdateCallback2, + IArchiveUpdateCallback2, ICryptoGetTextPassword2, ICompressProgressInfo) - // IProgress - STDMETHOD(SetTotal)(UInt64 size); - STDMETHOD(SetCompleted)(const UInt64 *completeValue); STDMETHOD(SetRatioInfo)(const UInt64 *inSize, const UInt64 *outSize); - // IUpdateCallback - STDMETHOD(EnumProperties)(IEnumSTATPROPSTG **enumerator); - STDMETHOD(GetUpdateItemInfo)(UInt32 index, - Int32 *newData, Int32 *newProperties, UInt32 *indexInArchive); - STDMETHOD(GetProperty)(UInt32 index, PROPID propID, PROPVARIANT *value); - STDMETHOD(GetStream)(UInt32 index, ISequentialInStream **inStream); - STDMETHOD(SetOperationResult)(Int32 operationResult); - - STDMETHOD(GetVolumeSize)(UInt32 index, UInt64 *size); - STDMETHOD(GetVolumeStream)(UInt32 index, ISequentialOutStream **volumeStream); + INTERFACE_IArchiveUpdateCallback2(;) STDMETHOD(CryptoGetTextPassword2)(Int32 *passwordIsDefined, BSTR *password); @@ -68,12 +56,12 @@ public: IUpdateCallbackUI *Callback; - UString DirPrefix; bool ShareForWrite; bool StdInMode; - const CObjectVector<CDirItem> *DirItems; - const CObjectVector<CArchiveItem> *ArchiveItems; - const CObjectVector<CUpdatePair2> *UpdatePairs; + const CDirItems *DirItems; + const CObjectVector<CArcItem> *ArcItems; + const CRecordVector<CUpdatePair2> *UpdatePairs; + const UStringVector *NewNames; CMyComPtr<IInArchive> Archive; CArchiveUpdateCallback(); |