CLmkListProviderBase Class Reference

class CLmkListProviderBase : public CBase

Inherits from

  • CLmkListProviderBase

Constructor & Destructor Documentation

CLmkListProviderBase()

CLmkListProviderBase()[protected]

C++ default constructor.

~CLmkListProviderBase()

~CLmkListProviderBase()

Don't delete during asynchronous operation, otherwise observer(s) won't be notified!

Member Functions Documentation

AddObserverL(MLmkListProviderObserver &)

IMPORT_C voidAddObserverL(MLmkListProviderObserver &aObserver)

Add observer

Parameters

MLmkListProviderObserver & aObserver

BaseConstructL()

voidBaseConstructL()[protected]

Symbian 2nd phase constructor

InitializeL()

voidInitializeL()[pure virtual]

Asynchronous initialization.

ItemAtL(TInt)

CLmkUiItemBase *ItemAtL(TIntaIndex)[pure virtual]

Return item at the specified position within the array.

Parameters

TInt aIndex

ItemCount()

TInt ItemCount()const [pure virtual]

Returns the number of elements held in the array.

NotifyError(TInt)

voidNotifyError(TIntaError)[protected]

Notify errors to observer

Parameters

TInt aError

NotifyObservers(TLmkListProviderEventType)

voidNotifyObservers(TLmkListProviderEventTypeaEvent)[protected]

Notify observer

Parameters

TLmkListProviderEventType aEvent

RemoveObserver(MLmkListProviderObserver &)

IMPORT_C TIntRemoveObserver(MLmkListProviderObserver &aObserver)

Remove observer

Parameters

MLmkListProviderObserver & aObserver

SetIconMgrL(MLmkSelectorIconMgr &)

IMPORT_C voidSetIconMgrL(MLmkSelectorIconMgr &aIconMgr)

Must be called in order to have icons available. Can be called repeatedly to take new icon mgr into use.

Parameters

MLmkSelectorIconMgr & aIconMgr

StartSearchingLandmarksL(const TDesC &, TBool)

TBool StartSearchingLandmarksL(const TDesC &aSearchPattern,
TBoolaSearchOnlyInPreviousMatches
)[pure virtual]

Parameters

const TDesC & aSearchPattern
TBool aSearchOnlyInPreviousMatches

Member Data Documentation

MLmkSelectorIconMgr * iIconMgr

MLmkSelectorIconMgr *iIconMgr[protected]

RPointerArray< MLmkListProviderObserver > iObservers

RPointerArray< MLmkListProviderObserver >iObservers[private]