CPbkEntryCopier Class Reference

class CPbkEntryCopier : public CBase

Entry copier.

Inherits from

Constructor & Destructor Documentation

CPbkEntryCopier(CPbkContactEngine &, MPbkEntryCopyObserver &)

CPbkEntryCopier(CPbkContactEngine &aEngine,
MPbkEntryCopyObserver &aObserver
)[private, inline]

Parameters

CPbkContactEngine & aEngine
MPbkEntryCopyObserver & aObserver

~CPbkEntryCopier()

~CPbkEntryCopier()

Destructor

Member Functions Documentation

AddToPhonebookL(CPbkContactItem &)

IMPORT_C voidAddToPhonebookL(CPbkContactItem &aEntry)

Inserts a new entry asynchronously to the Phonebook.

Parameters

CPbkContactItem & aEntryEntry to copy

ConstructL()

voidConstructL()[private, inline]

DoProceedToNextStateL(TInt)

voidDoProceedToNextStateL(TIntaState)[private]

Parameters

TInt aState

NewL(CPbkContactEngine &, MPbkEntryCopyObserver &)

IMPORT_C CPbkEntryCopier *NewL(CPbkContactEngine &aEngine,
MPbkEntryCopyObserver &aObserver
)[static]

Creates a new instance of this class.

Parameters

CPbkContactEngine & aEnginePhonebook engine
MPbkEntryCopyObserver & aObserverEntry copying observer

ProceedToNextState(TInt, TInt)

voidProceedToNextState(TIntaState,
TIntaError
)[private]

Parameters

TInt aState
TInt aError

Member Data Documentation

CPbkContactEngine & iEngine

CPbkContactEngine &iEngine[private]

CPbkContactItem * iEntry

CPbkContactItem *iEntry[private]

TContactItemId iNewContactId

TContactItemId iNewContactId[private]

MPbkEntryCopyObserver & iObserver

MPbkEntryCopyObserver &iObserver[private]

RPointerArray< MPbkAddNewDataState > iStateArray

RPointerArray< MPbkAddNewDataState >iStateArray[private]