cbs/cbsui/UiInc/CCbsUiListQueryDialog.h
branchRCL_3
changeset 20 987c9837762f
parent 0 ff3b6d0fd310
equal deleted inserted replaced
19:7d48bed6ce0c 20:987c9837762f
       
     1 /*
       
     2 * Copyright (c) 2002 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: 
       
    15 *     This is a dialog which is used to shows different language options in the
       
    16 *     settings view
       
    17 *
       
    18 *
       
    19 */
       
    20 
       
    21 
       
    22 #ifndef __CCbsUiListQueryDialog_h
       
    23 #define __CCbsUiListQueryDialog_h
       
    24 
       
    25 //  INCLUDES
       
    26 #include <aknlistquerydialog.h>
       
    27 
       
    28 
       
    29 // CLASS DECLARATION
       
    30 
       
    31 /**
       
    32 * This is a dialog, which can be initialized with selected items.
       
    33 */
       
    34 class CCbsUiListQueryDialog : public CAknListQueryDialog
       
    35     {
       
    36     public:  // Constructors and destructor
       
    37         
       
    38         /**
       
    39         * C++ constructor.
       
    40         *
       
    41         * @param aIndexArray Sets selection indexes and will contain
       
    42         *                    user changed indexes.
       
    43         */
       
    44         CCbsUiListQueryDialog( CArrayFix<TInt>& aIndexArray );
       
    45 
       
    46     private: // From CEikDialog
       
    47         
       
    48         /**
       
    49         * Sets selection indexes to list box.
       
    50         */
       
    51         void PostLayoutDynInitL();
       
    52 
       
    53         /**
       
    54         * If the user has pushed Ok, the dialog Stores the selected 
       
    55         * values in to the server.
       
    56         *
       
    57         * @param aKeyCode key code
       
    58         * @return ETrue if dialog is closed
       
    59         */
       
    60         TBool OkToExitL( TInt aKeycode );
       
    61 
       
    62     private: // Data
       
    63 
       
    64         // contains selected indexes
       
    65         CArrayFix<TInt>& iIndexArray;
       
    66 
       
    67     };
       
    68 
       
    69 #endif      // __CCbsUiListQueryDialog_h
       
    70             
       
    71 // End of File