TSortPluginViewParamsRev1 Class Reference

#include <app/cntviewsortplugin.h>

class TSortPluginViewParamsRev1

Detailed Description

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.

Member Attribute Documentation

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().

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().

iViewPreferences

TContactViewPreferences iViewPreferences

The view's view preferences.

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
aViewPreferencesThe view's view preferences.
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().
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().