RContactRemoteView Class Reference

class RContactRemoteView : public RSubSessionBase

This class is used internally by remote contact views as the handle to the server side view object.

CContactRemoteViewBase

Inherits from

Public Member Functions
HBufC *AllFieldsLC(TInt, const TDesC &)
TContactItemId AtL(TInt)
TInt CancelRequestViewEvent()
voidChangeSortOrderL(const RContactViewSortOrder &)
voidClose()
CViewContact *ContactAtL(TInt)
TContactViewPreferences ContactViewPreferencesL()
voidContactsMatchingCriteriaL(const MDesCArray &, RPointerArray< CViewContact > &, TBool, TUid)
TInt CountL()
TInt FindL(TContactItemId)
voidGetContactIdsL(const CArrayFix< TInt > &, CContactIdArray &)
voidGetContactsMatchingFilterL(TInt, RArray< TContactIdWithMapping > &)
voidGetSortOrderL(RContactViewSortOrder &)
TUid GetViewSortPluginImplUidL()
voidOpenL(const CContactDatabase &, const RContactViewSortOrder &, TContactViewPreferences, const TUid &, const TDesC8 &)
voidOpenL(const CContactDatabase &, const TDesC &, const RContactViewSortOrder &, TContactViewPreferences, const TUid &, const TDesC8 &)
voidRequestViewEvent(TPckgBuf< TContactViewEvent > &, TRequestStatus &)
const RContactViewSortOrder &SortOrderL()
Private Member Functions
HBufC8 *PackageSortOrderAndPluginDetailsLC(const RContactViewSortOrder &, TContactViewPreferences, const TUid &, const TDesC8 &)
HBufC8 *PackageSortOrderLC(const RContactViewSortOrder &, TContactViewPreferences)
Inherited Functions
RSubSessionBase::CloseSubSession(TInt)
RSubSessionBase::CreateAutoCloseSubSession(RSessionBase &,TInt,const TIpcArgs &)
RSubSessionBase::CreateSubSession(const RSessionBase &,TInt)
RSubSessionBase::CreateSubSession(const RSessionBase &,TInt,const TIpcArgs &)
RSubSessionBase::RSubSessionBase()
RSubSessionBase::Send(TInt)const
RSubSessionBase::Send(TInt,const TIpcArgs &)const
RSubSessionBase::SendReceive(TInt)const
RSubSessionBase::SendReceive(TInt,TRequestStatus &)const
RSubSessionBase::SendReceive(TInt,const TIpcArgs &)const
RSubSessionBase::SendReceive(TInt,const TIpcArgs &,TRequestStatus &)const
RSubSessionBase::Session()const
RSubSessionBase::SubSessionHandle()const
Private Attributes
CViewContact *iContact
RContactViewSortOrder iSortOrder

Member Functions Documentation

AllFieldsLC(TInt, const TDesC &)

HBufC *AllFieldsLC(TIntaIndex,
const TDesC &aSeparator
)const

Parameters

TInt aIndex
const TDesC & aSeparator

AtL(TInt)

TContactItemId AtL(TIntaIndex)const

Parameters

TInt aIndex

CancelRequestViewEvent()

TInt CancelRequestViewEvent()

ChangeSortOrderL(const RContactViewSortOrder &)

voidChangeSortOrderL(const RContactViewSortOrder &aSortOrder)

Parameters

const RContactViewSortOrder & aSortOrder

Close()

voidClose()

ContactAtL(TInt)

CViewContact *ContactAtL(TIntaIndex)

Parameters

TInt aIndex

ContactViewPreferencesL()

TContactViewPreferences ContactViewPreferencesL()

ContactsMatchingCriteriaL(const MDesCArray &, RPointerArray< CViewContact > &, TBool, TUid)

voidContactsMatchingCriteriaL(const MDesCArray &aFindWords,
RPointerArray< CViewContact > &aMatchedContacts,
TBoolaPrefixSearch,
TUidaUid
)

Parameters

const MDesCArray & aFindWords
RPointerArray< CViewContact > & aMatchedContacts
TBool aPrefixSearch
TUid aUid

CountL()

TInt CountL()const

FindL(TContactItemId)

TInt FindL(TContactItemIdaId)const

Parameters

TContactItemId aId

GetContactIdsL(const CArrayFix< TInt > &, CContactIdArray &)

voidGetContactIdsL(const CArrayFix< TInt > &aIndexes,
CContactIdArray &aContactIds
)

Parameters

const CArrayFix< TInt > & aIndexes
CContactIdArray & aContactIds

GetContactsMatchingFilterL(TInt, RArray< TContactIdWithMapping > &)

voidGetContactsMatchingFilterL(TIntaFilter,
RArray< TContactIdWithMapping > &aMatchingContacts
)

Parameters

TInt aFilter
RArray< TContactIdWithMapping > & aMatchingContacts

GetSortOrderL(RContactViewSortOrder &)

voidGetSortOrderL(RContactViewSortOrder &aSortOrder)

Parameters

RContactViewSortOrder & aSortOrder

GetViewSortPluginImplUidL()

TUid GetViewSortPluginImplUidL()const

OpenL(const CContactDatabase &, const RContactViewSortOrder &, TContactViewPreferences, const TUid &, const TDesC8 &)

voidOpenL(const CContactDatabase &aDb,
const RContactViewSortOrder &aSortOrder,
TContactViewPreferencesaContactTypes,
const TUid &aSortPluginImplUid,
const TDesC8 &aSortPluginName
)

Parameters

const CContactDatabase & aDb
const RContactViewSortOrder & aSortOrder
TContactViewPreferences aContactTypes
const TUid & aSortPluginImplUid
const TDesC8 & aSortPluginName

OpenL(const CContactDatabase &, const TDesC &, const RContactViewSortOrder &, TContactViewPreferences, const TUid &, const TDesC8 &)

voidOpenL(const CContactDatabase &aDb,
const TDesC &aName,
const RContactViewSortOrder &aSortOrder,
TContactViewPreferencesaContactTypes,
const TUid &aSortPluginImplUid,
const TDesC8 &aSortPluginName
)

Parameters

const CContactDatabase & aDb
const TDesC & aName
const RContactViewSortOrder & aSortOrder
TContactViewPreferences aContactTypes
const TUid & aSortPluginImplUid
const TDesC8 & aSortPluginName

PackageSortOrderAndPluginDetailsLC(const RContactViewSortOrder &, TContactViewPreferences, const TUid &, const TDesC8 &)

HBufC8 *PackageSortOrderAndPluginDetailsLC(const RContactViewSortOrder &aSortOrder,
TContactViewPreferencesaContactTypes,
const TUid &aSortPluginImplUid,
const TDesC8 &aSortPluginName
)const [private]

Parameters

const RContactViewSortOrder & aSortOrder
TContactViewPreferences aContactTypes
const TUid & aSortPluginImplUid
const TDesC8 & aSortPluginName

PackageSortOrderLC(const RContactViewSortOrder &, TContactViewPreferences)

HBufC8 *PackageSortOrderLC(const RContactViewSortOrder &aSortOrder,
TContactViewPreferencesaContactTypes
)const [private]

Parameters

const RContactViewSortOrder & aSortOrder
TContactViewPreferences aContactTypes

RequestViewEvent(TPckgBuf< TContactViewEvent > &, TRequestStatus &)

voidRequestViewEvent(TPckgBuf< TContactViewEvent > &aEvent,
TRequestStatus &aStatus
)

Parameters

TPckgBuf< TContactViewEvent > & aEvent
TRequestStatus & aStatus

SortOrderL()

const RContactViewSortOrder &SortOrderL()

Member Data Documentation

CViewContact * iContact

CViewContact *iContact[private]

RContactViewSortOrder iSortOrder

RContactViewSortOrder iSortOrder[private]