MAknCustomTreeOrdering Class Reference

Link against: aknhlist.lib


#include <
akncustomtreeordering.h>

Detailed Description

Interface class for implementing custom ordering for hierarchical list.

Implementation of this interface class can be set to hierarchical list to define the ordering of items in the list. Hierarchical list then uses the implementation of MAknCustomTreeOrdering::Compare method in sorting the items within each node of the list.

Since:
S60 v3.2

Public Member Functions

virtual TInt Compare (TAknTreeItemID aFirst, TAknTreeItemID aSecond)=0
 Compares two tree list items.

Member Function Documentation

virtual TInt MAknCustomTreeOrdering::Compare TAknTreeItemID  aFirst,
TAknTreeItemID  aSecond
[pure virtual]
 

Compares two tree list items.

Parameters:
aFirst Item ID of the first compared hierarchical list item.
aSecond Item ID of the second compared hierarchical list item.
Returns:
Positive, if the first item is greater than the second item; negative, if the first item is less than the second item; and zero, if the items are equal.

The documentation for this class was generated from the following file:

Copyright © Nokia Corporation 2001-2007
Back to top