| class TMsvLocalOperationProgress |
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.
| Public Member Functions | |
|---|---|
| TMsvLocalOperationProgress () | |
| Public Member Enumerations | |
|---|---|
| enum |
TLocalOperation
{
ELocalNone = 0, ELocalMove , ELocalDelete , ELocalCopy , ELocalNew , ELocalChanged } |
| Public Attributes | |
|---|---|
| TInt | iError |
| TMsvId | iId |
| TInt | iNumberCompleted |
| TInt | iNumberFailed |
| TInt | iNumberRemaining |
| TInt | iTotalNumberOfEntries |
| TLocalOperation | iType |
| IMPORT_C | TMsvLocalOperationProgress | ( | ) |
Initialises the new object to suitable zero or null values.
Defines the possible values for the type of operation progress report.
| ELocalNone = 0 |
Default value for new TMsvLocalOperationProgress |
| ELocalMove |
Move operation |
| ELocalDelete |
Delete operation |
| ELocalCopy |
Copy operation |
| ELocalNew |
Create operation |
| ELocalChanged |
Change operation |
| TMsvId | iId |
This contains different information for different operation types:
1. copying a single entry: ID of the new entry
2. moving an entry: ID of the entry moved
3. copying or moving multiple entries: ID of the first entry in the selection
| TInt | iNumberCompleted |
The number of entries on which the operation has been successful
| TInt | iNumberRemaining |
The number of entries on which the operation has yet to be attempted
| TInt | iTotalNumberOfEntries |
The number of entries on which the operation was or will be attempted
| TLocalOperation | iType |
The type of operation on which the progress is reporting
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.