MPbkCompressionStrategy Class Reference

class MPbkCompressionStrategy

Abstract interface for Phonebook database compression strategy.

Public Member Functions
voidCancelCompress()
TBool CheckCompress()
voidCompressL()
TBool IsCompressionEnabled()
voidRelease()
voidSetCompressUi(MPbkCompressUi *)
Protected Member Functions
~MPbkCompressionStrategy()

Constructor & Destructor Documentation

~MPbkCompressionStrategy()

~MPbkCompressionStrategy()[protected, inline, virtual]

Protected destructor. Clients of this interface should call Release() when they no longer need it.

Member Functions Documentation

CancelCompress()

voidCancelCompress()[pure virtual]

Stops any compression currently executing.

CheckCompress()

TBool CheckCompress()[pure virtual]

Returns ETrue if the database could use a compression.

CompressL()

voidCompressL()[pure virtual]

Compresses the database asynchronously. Implementation can decide whether to start compression or not. Calls back the compress UI on the compression progress.

IsCompressionEnabled()

TBool IsCompressionEnabled()[pure virtual]

Returns true if compression is currently enabled.

Release()

voidRelease()[pure virtual]

Releases this object and any resources it owns.

SetCompressUi(MPbkCompressUi *)

voidSetCompressUi(MPbkCompressUi *aCompressUi)[pure virtual]

Sets the compress UI.

Parameters

MPbkCompressUi * aCompressUi