cmmanager/gsconnsettingsplugin/inc/gsconnsettingsselectiondlg.h
branchRCL_3
changeset 58 83ca720e2b9a
equal deleted inserted replaced
57:05bc53fe583b 58:83ca720e2b9a
       
     1 /*
       
     2 * Copyright (c) 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:    Header file for CGSConnSettingsSelectionDlg class
       
    15 *
       
    16 */
       
    17 
       
    18 #ifndef GSCONNSETTINGSSELECTIONDLG_H
       
    19 #define GSCONNSETTINGSSELECTIONDLG_H
       
    20 
       
    21 #include <aknradiobuttonsettingpage.h>
       
    22 
       
    23 class CGSConnSettingsSelectionDlg : public CAknRadioButtonSettingPage
       
    24     {
       
    25     
       
    26 public:
       
    27     
       
    28     /**
       
    29      * Symbian OS two-phased constructor
       
    30      * 
       
    31      * @param aResourceID               Text at top of setting pane
       
    32      * @param aCurrentSelectionIndex    Current slected item
       
    33      * @param aItemArray                Pointer to array of loaded resource texts for radio buttons
       
    34      * @return 
       
    35      * 
       
    36     */
       
    37     static CGSConnSettingsSelectionDlg* NewL(TInt aResourceID, 
       
    38             TInt& aCurrentSelectionIndex, 
       
    39             const MDesCArray* aItemArray );
       
    40     
       
    41     /**
       
    42      * C++ default constructor.
       
    43      *
       
    44      * @param aResourceID               Text at top of setting pane
       
    45      * @param aCurrentSelectionIndex    Current slected item
       
    46      * @param aItemArray                Pointer to array of loaded resource texts for radio buttons
       
    47     */
       
    48     CGSConnSettingsSelectionDlg( 
       
    49             TInt aResourceID, 
       
    50             TInt& aCurrentSelectionIndex, 
       
    51             const MDesCArray* aItemArray );
       
    52 			
       
    53     /**
       
    54      * Destructor.
       
    55      */
       
    56     virtual ~CGSConnSettingsSelectionDlg();
       
    57     
       
    58 private:
       
    59 
       
    60     //From CAknListBoxSettingPage
       
    61     void HandleListBoxEventL(CEikListBox* aListBox, TListBoxEvent aEventType);
       
    62     
       
    63     //From CAknSettingPage
       
    64     TKeyResponse OfferKeyEventL( const TKeyEvent& aKeyEvent, TEventCode aType);
       
    65 
       
    66     };
       
    67 #endif // GSCONNSETTINGSSELECTIONDLG_H