Class ExtractCallback

Synopsis

#include <include/extractcallback.hpp>

class ExtractCallback : public Callback,
                        public IArchiveExtractCallback,
                        public ICompressProgressInfo,
                        protected ICryptoGetTextPassword

Description

No description yet.

Inheritance

Ancestors: ICompressProgressInfo, IArchiveExtractCallback, ICryptoGetTextPassword, Callback

Decsendents: StreamExtractCallback, FileExtractCallback, BufferExtractCallback

Methods

ExtractCallback
~ExtractCallback
CryptoGetTextPasswordICryptoGetTextPassword.
MY_UNKNOWN_IMP3IProgress from IArchiveExtractCallback.
PrepareOperationIArchiveExtractCallback.
SetCompleted
SetRatioInfoICompressProgressInfo.

Source

Lines 31-62 in include/extractcallback.hpp.

class ExtractCallback : public Callback,
                        public IArchiveExtractCallback,
                        public ICompressProgressInfo,
                        protected ICryptoGetTextPassword {
    public:
        virtual ~ExtractCallback() override;
        MY_UNKNOWN_IMP3( IArchiveExtractCallback, ICompressProgressInfo, ICryptoGetTextPassword )
        // IProgress from IArchiveExtractCallback
        STDMETHOD( SetTotal )( UInt64 size );
        STDMETHOD( SetCompleted )( const UInt64* completeValue );
        // ICompressProgressInfo
        STDMETHOD( SetRatioInfo )( const UInt64* inSize, const UInt64* outSize );
        // IArchiveExtractCallback
        STDMETHOD( PrepareOperation )( Int32 askExtractMode );
        // ICryptoGetTextPassword
        STDMETHOD( CryptoGetTextPassword )( BSTR* aPassword );
    protected:
        ExtractCallback( const BitArchiveHandler& handler,
                         const BitInputArchive& inputArchive);
        const BitInputArchive& mInputArchive;
        bool mExtractMode;
        UInt64 mNumErrors;
};





Add Discussion as Guest

Log in