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 void AddToPhonebookL ( CPbkContactItem & aEntry )

Inserts a new entry asynchronously to the Phonebook.

Parameters

CPbkContactItem & aEntry Entry to copy

ConstructL()

void ConstructL ( ) [private, inline]

DoProceedToNextStateL(TInt)

void DoProceedToNextStateL ( TInt aState ) [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 & aEngine Phonebook engine
MPbkEntryCopyObserver & aObserver Entry copying observer

ProceedToNextState(TInt, TInt)

void ProceedToNextState ( TInt aState,
TInt aError
) [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]