MPbkCompressionStrategy Class Reference

class MPbkCompressionStrategy

Abstract interface for Phonebook database compression strategy.

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()

void CancelCompress ( ) [pure virtual]

Stops any compression currently executing.

CheckCompress()

TBool CheckCompress ( ) [pure virtual]

Returns ETrue if the database could use a compression.

CompressL()

void CompressL ( ) [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()

void Release ( ) [pure virtual]

Releases this object and any resources it owns.

SetCompressUi(MPbkCompressUi *)

void SetCompressUi ( MPbkCompressUi * aCompressUi ) [pure virtual]

Sets the compress UI.

Parameters

MPbkCompressUi * aCompressUi