Symbian Developer Library

SYMBIAN OS V6.1 EDITION FOR C++

[Index] [Glossary] [Previous] [Next]



Location: msvipc.h
Link against: msgs.lib

Class TMsvLocalOperationProgress

TMsvLocalOperationProgress

Support

Supported from 5.0

Description

Encapsulates progress information returned by a local operation. A local operation is a CMsvOperation-derived object returned by a function that affects only local entries. For example, such a function would be a CMsvEntry::ChangeL() call on a local entry. You can check if the operation is local from CMsvOperation::Mtm(): a local operation returns a value of KUidMsvLocalServiceMtm.

Progress information is obtained, in a packaged format, by calling CMsvOperation::ProgressL(). Understanding the TMsvLocalOperationProgress structure enables an application to use that information for a local operation.

In pre-Unicode versions this class had the import library ment.lib.

Defined in TMsvLocalOperationProgress:
ELocalChanged, ELocalCopy, ELocalDelete, ELocalMove, ELocalNew, ELocalNone, TLocalOperation enum, TMsvLocalOperationProgress(), iError, iId, iNumberCompleted, iNumberFailed, iNumberRemaining, iTotalNumberOfEntries, iType


Constructor


TMsvLocalOperationProgress()

TMsvLocalOperationProgress()

Description

Initialises the new object to suitable zero or null values.

[Top]


Public member data


iType

TLocalOperation iType

Description

The type of operation on which the progress is reporting


iTotalNumberOfEntries

TInt iTotalNumberOfEntries

Description

The number of entries on which the operation was or will be attempted


iNumberCompleted

TInt iNumberCompleted

Description

The number of entries on which the operation has been successful


iNumberFailed

TInt iNumberFailed

Description

The number of entries on which the operation has failed


iNumberRemaining

TInt iNumberRemaining

Description

The number of entries on which the operation has yet to be attempted


iError

TInt iError

Description

The error code for the latest failed operation


iId

TMsvId iId

Description

This contains different information for different operation types:

[Top]


Enumerations


Enum TLocalOperation enum

TLocalOperation enum

Description

Defines the possible values for the type of operation progress report.

ELocalNone

Default value for new TMsvLocalOperationProgress

ELocalMove

Move operation

ELocalDelete

Delete operation

ELocalCopy

Copy operation

ELocalNew

Create operation

ELocalChanged

Change operation