TSortPluginViewParamsRev1 Class Reference

class TSortPluginViewParamsRev1

Information block holding the sort plug-in's parameters. This is passed to the plug-in instance from the contact view via TSortPluginParams::iViewSortParams.

It has an inline constructor to initialise the data members.

Constructor & Destructor Documentation

TSortPluginViewParamsRev1()

TSortPluginViewParamsRev1()[inline]

Empty default constructor.

TSortPluginViewParamsRev1(TContactViewPreferences, TInt(*)(const CViewContact &aFirst, const CViewContact &aSecond), TBool(*)(const CViewContact &aViewContact))

TSortPluginViewParamsRev1(TContactViewPreferencesaViewPreferences,
TInt(*)(const CViewContact &aFirst, const CViewContact &aSecond)aCompareViewContactsL,
TBool(*)(const CViewContact &aViewContact)aIsSortable
)[inline]

Inline constructor, initialises all data members.

Parameters

TContactViewPreferences aViewPreferencesThe view's view preferences.
TInt(*)(const CViewContact &aFirst, const CViewContact &aSecond) aCompareViewContactsLA pointer to a default function that is used to compare two contact items. The plug-in may call this function from its implementation of SortCompareViewContactsL().
TBool(*)(const CViewContact &aViewContact) aIsSortableA pointer to a default function that is used to test whether a CViewContact is sortable. The plug-in may call this function from its implementation of ViewContactIsSortable().

Member Data Documentation

TInt(* iCompareViewContactsL

TInt(*iCompareViewContactsL

A pointer to a default function that is used to compare two contact items. The plug-in may call this function from its implementation of SortCompareViewContactsL().

TBool(* iIsSortable

TBool(*iIsSortable

A pointer to a default function that is used to test whether a contact item is sortable. The plug-in may call this function from its implementation of ViewContactIsSortable().

TContactViewPreferences iViewPreferences

TContactViewPreferences iViewPreferences

The view's view preferences.