ExtractCallback Class | Qt Installer Framework Manual

- Qt Installer Framework Manual
- ExtractCallback

# ExtractCallback Class

(Lib7z::ExtractCallback)

Provides a callback for archive extraction. More...

Header: | #include <ExtractCallback>

- List of all members, including inherited members

## Public Functions

| ExtractCallback()
virtual | ~ExtractCallback()
void | setArchive(CArc *carc)
void | setTarget(const QString &dir)

## Reimplemented Public Functions

virtual ULONG | AddRef()
virtual HRESULT | GetStream(UInt32 index, ISequentialOutStream **outStream, Int32 askExtractMode)
virtual HRESULT | PrepareOperation(Int32 askExtractMode)
virtual HRESULT | QueryInterface(const GUID &iid, void **outObject)
virtual ULONG | Release()
virtual HRESULT | SetCompleted(const UInt64 *completeValue)
virtual HRESULT | SetOperationResult(Int32 resultEOperationResult)
virtual HRESULT | SetTotal(UInt64 total)

## Protected Functions

virtual bool | prepareForFile(const QString &)
virtual HRESULT | setCompleted(quint64, quint64)
virtual void | setCurrentFile(const QString &filename)

## Detailed Description

Provides a callback for archive extraction.

## Member Function Documentation

### ExtractCallback::ExtractCallback()

Default constructs an instance of ExtractCallback.

### `[virtual]` ExtractCallback::~ExtractCallback()

Destroys the instance of ExtractCallback. The destructor is virtual.

### `[virtual]` ULONG ExtractCallback::AddRef()

### `[virtual]` HRESULT ExtractCallback::GetStream(UInt32 index, ISequentialOutStream **outStream, Int32 askExtractMode)

### `[virtual]` HRESULT ExtractCallback::PrepareOperation(Int32 askExtractMode)

### `[virtual]` HRESULT ExtractCallback::QueryInterface(const GUID &iid, void **outObject)

### `[virtual]` ULONG ExtractCallback::Release()

### `[virtual]` HRESULT ExtractCallback::SetCompleted(const UInt64 *completeValue)

### `[virtual]` HRESULT ExtractCallback::SetOperationResult(Int32 resultEOperationResult)

### `[virtual]` HRESULT ExtractCallback::SetTotal(UInt64 total)

### `[virtual protected]` bool ExtractCallback::prepareForFile(const QString &)

### void ExtractCallback::setArchive(CArc *carc)

### `[virtual protected]` HRESULT ExtractCallback::setCompleted(quint64, quint64)

### `[virtual protected]` void ExtractCallback::setCurrentFile(const QString &filename)

### void ExtractCallback::setTarget(const QString &dir)