diff options
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(); |