williamr@2: /* williamr@2: * Copyright (c) 2006, 2007 Nokia Corporation and/or its subsidiary(-ies). williamr@2: * All rights reserved. williamr@2: * This component and the accompanying materials are made available williamr@4: * under the terms of "Eclipse Public License v1.0" williamr@2: * which accompanies this distribution, and is available williamr@4: * at the URL "http://www.eclipse.org/legal/epl-v10.html". williamr@2: * williamr@2: * Initial Contributors: williamr@2: * Nokia Corporation - initial contribution. williamr@2: * williamr@2: * Contributors: williamr@2: * williamr@2: * Description: Constants for hierarchical list. williamr@2: * williamr@2: */ williamr@2: williamr@2: williamr@2: #ifndef AKNTREELISTCONSTANTS_H williamr@2: #define AKNTREELISTCONSTANTS_H williamr@2: williamr@2: williamr@2: #include williamr@2: williamr@2: williamr@2: /** Item ID for hierarchical list items. */ williamr@2: typedef TInt TAknTreeItemID; williamr@2: williamr@2: /** Constant Item ID for non-existent hierarchical list item. */ williamr@2: const TAknTreeItemID KAknTreeIIDNone = 0; williamr@2: williamr@2: /** Constant Item ID for the hierarchical list root node. */ williamr@2: const TAknTreeItemID KAknTreeIIDRoot = 1; williamr@2: williamr@2: williamr@2: /** Namespace for pre-defined tree list icon IDs. */ williamr@2: namespace AknTreeListIconID williamr@2: { williamr@2: /** Constant indicating that default icon is to be used. */ williamr@2: const TInt KDefault = -1; williamr@2: williamr@2: /** No icon. */ williamr@2: const TInt KNone = 0; williamr@2: williamr@2: /** Tree structure line with branch. */ williamr@2: const TInt KLineBranchIndication = 1; williamr@2: williamr@2: /** Tree structure end line. */ williamr@2: const TInt KLineEndIndication = 2; williamr@2: williamr@2: /** Tree structure straight line indication. */ williamr@2: const TInt KLineStraightIndication = 3; williamr@2: williamr@2: /** Default file indication. */ williamr@2: const TInt KDefaultFileIndication = 4; williamr@2: williamr@2: /** Closed folder indication. */ williamr@2: const TInt KClosedFolderIndication = 5; williamr@2: williamr@2: /** Open folder indication. */ williamr@2: const TInt KOpenFolderIndication = 6; williamr@2: williamr@2: /** Collapse function indication, superimposed. */ williamr@2: const TInt KCollapseFunctionIndication = 7; williamr@2: williamr@2: /** Expand function indication, superimposed. */ williamr@2: const TInt KExpandFunctionIndication = 8; williamr@2: williamr@2: /** Item marked indication. */ williamr@2: const TInt KMarkedIndication = 9; williamr@2: williamr@2: /** Highlighted item marked indication. */ williamr@2: const TInt KHighlightedMarkedIndication = 10; williamr@2: } williamr@2: williamr@2: williamr@2: #endif // AKNTREELISTCONSTANTS_H