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.

Public Member Functions
TSortPluginViewParamsRev1 ()
TSortPluginViewParamsRev1 ( TContactViewPreferences , TInt (*)(const CViewContact &aFirst, const CViewContact &aSecond), TBool (*)(const CViewContact &aViewContact))
Public Attributes
TInt (* iCompareViewContactsL
TBool (* iIsSortable
TContactViewPreferences iViewPreferences

Constructor & Destructor Documentation

TSortPluginViewParamsRev1()

TSortPluginViewParamsRev1 ( ) [inline]

Empty default constructor.

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

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

Inline constructor, initialises all data members.

Parameters

TContactViewPreferences aViewPreferences The view's view preferences.
TInt (*)(const CViewContact &aFirst, const CViewContact &aSecond) 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().
TBool (*)(const CViewContact &aViewContact) 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().

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.