classicui_pub/hierarchical_lists_api/inc/akntreelistconstants.h
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Tue, 11 May 2010 16:27:42 +0300
branchRCL_3
changeset 10 3d340a0166ff
parent 0 2f259fa3e83a
permissions -rw-r--r--
Revision: 201017 Kit: 201019

/*
* Copyright (c) 2006, 2007 Nokia Corporation and/or its subsidiary(-ies).
* All rights reserved.
* This component and the accompanying materials are made available
* under the terms of "Eclipse Public License v1.0"
* which accompanies this distribution, and is available
* at the URL "http://www.eclipse.org/legal/epl-v10.html".
*
* Initial Contributors:
* Nokia Corporation - initial contribution.
*
* Contributors:
*
* Description:  Constants for hierarchical list.
*
*/


#ifndef AKNTREELISTCONSTANTS_H
#define AKNTREELISTCONSTANTS_H


#include <e32def.h>


/** Item ID for hierarchical list items. */
typedef TInt TAknTreeItemID;

/** Constant Item ID for non-existent hierarchical list item. */
const TAknTreeItemID KAknTreeIIDNone = 0;

/** Constant Item ID for the hierarchical list root node. */
const TAknTreeItemID KAknTreeIIDRoot = 1;


/** Namespace for pre-defined tree list icon IDs. */
namespace AknTreeListIconID
    {
    /** Constant indicating that default icon is to be used. */
    const TInt KDefault = -1;

    /** No icon. */
    const TInt KNone = 0;

    /** Tree structure line with branch. */
    const TInt KLineBranchIndication = 1;

    /** Tree structure end line. */
    const TInt KLineEndIndication = 2;

    /** Tree structure straight line indication. */
    const TInt KLineStraightIndication = 3;

    /** Default file indication. */
    const TInt KDefaultFileIndication = 4;

    /** Closed folder indication. */
    const TInt KClosedFolderIndication = 5;

    /** Open folder indication. */
    const TInt KOpenFolderIndication = 6;

    /** Collapse function indication, superimposed. */
    const TInt KCollapseFunctionIndication = 7;

    /** Expand function indication, superimposed. */
    const TInt KExpandFunctionIndication = 8;

    /** Item marked indication. */
    const TInt KMarkedIndication = 9;

    /** Highlighted item marked indication. */
    const TInt KHighlightedMarkedIndication = 10;
    }


#endif // AKNTREELISTCONSTANTS_H