inc/glxlistdefs.h
changeset 23 74c9f037fd5d
equal deleted inserted replaced
5:f7f0874bfe7d 23:74c9f037fd5d
       
     1 /*
       
     2 * Copyright (c) 2008-2009 Nokia Corporation and/or its subsidiary(-ies).
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description:   List definitions
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 #ifndef __GLXLISTDEFS_H__
       
    21 #define __GLXLISTDEFS_H__
       
    22 
       
    23 #include <e32std.h>
       
    24 
       
    25 /**
       
    26  * Namespace for list-related definitions
       
    27  */
       
    28 namespace NGlxListDefs 
       
    29     {
       
    30     /// Focus change type
       
    31     enum TFocusChangeType
       
    32         {
       
    33         EUnknown,
       
    34         EForward,
       
    35         EBackward
       
    36         };
       
    37 
       
    38     /**
       
    39      * Indicates absolute or relative change to focus
       
    40      */
       
    41     enum TFocusSetType
       
    42         {
       
    43         EAbsolute,
       
    44         ERelative
       
    45         };
       
    46 
       
    47     enum TCountType
       
    48         {
       
    49         ECountAll,
       
    50         ECountNonStatic,
       
    51         ECountAllStatic,
       
    52         ECountPreStatic,
       
    53         ECountPostStatic
       
    54         };
       
    55     
       
    56     enum TInsertionPosition
       
    57         {
       
    58         EInsertFirst,
       
    59         EInsertLast
       
    60         };
       
    61 
       
    62     /// Indicates components to be populated in a path
       
    63     enum TPathType
       
    64         {
       
    65         EPathAllOrSelection,
       
    66         EPathFocusOrSelection,
       
    67         EPathParent
       
    68         };
       
    69 
       
    70     /// Indicates initial focus position when populated
       
    71     enum TFocusInitialPosition
       
    72         {
       
    73         EFocusFirst,
       
    74         EFocusLast
       
    75         };
       
    76     }
       
    77 
       
    78 #endif // __GLXLISTDEFS_H__
       
    79