#include <app/cntviewsortplugin.h>
class TSortPluginViewParamsRev1 |
Public Attributes | |
---|---|
TInt(* | iCompareViewContactsL |
TBool(* | iIsSortable |
TContactViewPreferences | iViewPreferences |
Public Member Functions | |
---|---|
TSortPluginViewParamsRev1() | |
TSortPluginViewParamsRev1(TContactViewPreferences, TInt(*)(const CViewContact &aFirst, const CViewContact &aSecond), TBool(*)(const CViewContact &aViewContact)) |
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.
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 |
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().
TSortPluginViewParamsRev1 | ( | TContactViewPreferences | aViewPreferences, |
TInt(*)(const CViewContact &aFirst, const CViewContact &aSecond) | aCompareViewContactsL, | ||
TBool(*)(const CViewContact &aViewContact) | aIsSortable | ||
) | [inline] |
Inline constructor, initialises all data members.
Parameters | |
---|---|
aViewPreferences | The view's view preferences. |
aCompareViewContactsL | 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(). |
aIsSortable | A 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(). |