class MAgnImportObserver |
Interface for reporting errors during the import of Agenda data from an external source.
Public Member Functions | |
---|---|
TImpResponse | AgnImportErrorL ( TImpError , const TDesC8 &, const TDesC &) |
Public Member Enumerations | |
---|---|
enum | TImpError { EImpErrorNoError , EImpErrorBadSyntax , EImpErrorInvalidData , EImpErrorMissingData , EImpErrorNotSupported } |
enum | TImpResponse { EImpResponseContinue , EImpResponseSkip , EImpResponseStop , EImpResponseLeave } |
TImpResponse | AgnImportErrorL | ( | TImpError | aType, |
const TDesC8 & | aUid, | |||
const TDesC & | aContext | |||
) | [pure virtual] |
This function will be called by AgendaExternalInterface plugins when they encounter an error for which they feel the controlling application should determine the appropriate course of action. CAgnExternalInterface::ImportL
EImpErrorNoError |
No error to report. |
EImpErrorBadSyntax |
The data being imported is corrupt and cannot be interpreted. |
EImpErrorInvalidData |
The data being imported can be parsed, but has invalid values. |
EImpErrorMissingData |
The data being imported is missing values which must be present. |
EImpErrorNotSupported |
The data being imported is correct, but the Agenda model cannot store it. |
EImpResponseContinue |
Import as much as possible. |
EImpResponseSkip |
Skip the broken component and continue with the next. |
EImpResponseStop |
Stop parsing and return. |
EImpResponseLeave |
Stop parsing and leave with KErrAbort. |
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.