photosgallery/inc/glxlistdefs.h
changeset 0 4e91876724a2
equal deleted inserted replaced
-1:000000000000 0:4e91876724a2
       
     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 
       
    21 #ifndef __GLXLISTDEFS_H__
       
    22 #define __GLXLISTDEFS_H__
       
    23 
       
    24 #include <e32std.h>
       
    25 
       
    26 /**
       
    27  * Namespace for list-related definitions
       
    28  */
       
    29 namespace NGlxListDefs 
       
    30     {
       
    31     /// Focus change type
       
    32     enum TFocusChangeType
       
    33         {
       
    34         EUnknown,
       
    35         EForward,
       
    36         EBackward
       
    37         };
       
    38 
       
    39     /**
       
    40      * Indicates absolute or relative change to focus
       
    41      */
       
    42     enum TFocusSetType
       
    43         {
       
    44         EAbsolute,
       
    45         ERelative
       
    46         };
       
    47 
       
    48     enum TCountType
       
    49         {
       
    50         ECountAll,
       
    51         ECountNonStatic,
       
    52         ECountAllStatic,
       
    53         ECountPreStatic,
       
    54         ECountPostStatic
       
    55         };
       
    56     
       
    57     enum TInsertionPosition
       
    58         {
       
    59         EInsertFirst,
       
    60         EInsertLast
       
    61         };
       
    62 
       
    63     /// Indicates components to be populated in a path
       
    64     enum TPathType
       
    65         {
       
    66         EPathAllOrSelection,
       
    67         EPathFocusOrSelection,
       
    68         EPathParent
       
    69         };
       
    70 
       
    71     /// Indicates initial focus position when populated
       
    72     enum TFocusInitialPosition
       
    73         {
       
    74         EFocusFirst,
       
    75         EFocusLast
       
    76         };
       
    77     }
       
    78 
       
    79 #endif // __GLXLISTDEFS_H__
       
    80