gssettingsuis/Gs/GSDataCallPlugin/Inc/GSDataCallPluginContainer.h
branchRCL_3
changeset 25 7e0eff37aedb
parent 0 8c5d936e5675
equal deleted inserted replaced
24:8ee96d21d9bf 25:7e0eff37aedb
       
     1 /*
       
     2 * Copyright (c) 2002, 2003 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:  Container for Data call settings view.
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef GSDATACALLPLUGINCONTAINER_H
       
    20 #define GSDATACALLPLUGINCONTAINER_H
       
    21 
       
    22 // INCLUDES
       
    23 #include <bldvariant.hrh>
       
    24 #include <gsbasecontainer.h>
       
    25 
       
    26 #include "gssettingid.h"
       
    27 
       
    28 // FORWARD DECLARATION
       
    29 class CGSListBoxItemTextArray;
       
    30 
       
    31 // CLASS DECLARATION
       
    32 
       
    33 /**
       
    34 *  CGSDataCallPluginContainer container class
       
    35 *  @since Series 60_3.1
       
    36 * 
       
    37 */
       
    38 class CGSDataCallPluginContainer : public CGSBaseContainer
       
    39     {
       
    40     public: // Constructors and destructor
       
    41         
       
    42         /**
       
    43         * Symbian OS constructor.
       
    44         * @param aRect Listbox's rect.
       
    45         * 
       
    46         */
       
    47         void ConstructL( const TRect& aRect );
       
    48 
       
    49         /**
       
    50         * Destructor.
       
    51         */
       
    52         ~CGSDataCallPluginContainer();
       
    53 
       
    54     public: //new
       
    55 
       
    56         /**
       
    57         * Updates listbox's item's value.
       
    58         * @param aFeatureId An item which is updated.
       
    59         * 
       
    60         */
       
    61         void UpdateListBoxL( TInt aFeatureId );
       
    62 
       
    63         /**
       
    64         * Retrieves the currently selected listbox feature id
       
    65         * @return feature id.
       
    66         */
       
    67         TInt CurrentFeatureId() const;
       
    68 
       
    69     protected: // from CGSBaseContainer
       
    70         void ConstructListBoxL( TInt aResLbxId );
       
    71 
       
    72     private: // new
       
    73         void CreateListBoxItemsL();
       
    74         void MakeAutodisconItemL();
       
    75     
       
    76     private:
       
    77         /**
       
    78         * Required for help.
       
    79         * 
       
    80         */
       
    81         void GetHelpContext( TCoeHelpContext& aContext ) const;
       
    82     
       
    83     private: // data
       
    84         //Auto disconnect list item
       
    85         CDesCArrayFlat* iAutodisconValue;
       
    86         //Listbox item array model
       
    87         CGSListBoxItemTextArray* iListboxItemArray;
       
    88         
       
    89     };
       
    90 
       
    91 #endif //GSDATACALLPLUGINCONTAINER_H
       
    92 
       
    93 // End of File