MAgnImportObserver Class Reference

class MAgnImportObserver

Interface for reporting errors during the import of Agenda data from an external source.

Member Functions Documentation

AgnImportErrorL(TImpError, const TDesC8 &, const TDesC &)

TImpResponse AgnImportErrorL(TImpErroraType,
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

Parameters

TImpError aTypeThe type of the error
const TDesC8 & aUidThe UID of the entry in which the error occurred (if known)
const TDesC & aContextA textual indication of the actual error

Member Enumerations Documentation

Enum TImpError

Enumerators

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.

Enum TImpResponse

Enumerators

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.