gssettingsuis/Gs/GSCallDivertPlugin/Inc/GSRestrictedDivertContainer.h
branchRCL_3
changeset 54 7e0eff37aedb
parent 0 8c5d936e5675
equal deleted inserted replaced
53:8ee96d21d9bf 54:7e0eff37aedb
       
     1 /*
       
     2 * Copyright (c) 2003-2008 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 Restricted Call Divert view.
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef GSDIVERTRESTRICTEDCONTAINER_H
       
    20 #define GSDIVERTRESTRICTEDCONTAINER_H
       
    21 
       
    22 // INCLUDES
       
    23 #include "gsbasecontainer.h"
       
    24 
       
    25 // CLASS DECLARATION
       
    26 class CGSListBoxItemTextArray;
       
    27 
       
    28 // CLASS DECLARATION
       
    29 /**
       
    30 *  CGSRestrictedDivertContainer container class
       
    31 */
       
    32 class CGSRestrictedDivertContainer : public CGSBaseContainer
       
    33     {
       
    34     public: // Constructors and destructor
       
    35 
       
    36         /**
       
    37         * Symbian OS default constructor.
       
    38         *
       
    39         * @param aRect gives the size of container
       
    40         */
       
    41         void ConstructL( const TRect& aRect );
       
    42 
       
    43         /* Destructor */
       
    44         ~CGSRestrictedDivertContainer();
       
    45 
       
    46     private:
       
    47 
       
    48         void GetHelpContext( TCoeHelpContext& aContext ) const;
       
    49 
       
    50     public:
       
    51         /**
       
    52         * Updates the listbox items
       
    53         * @param aFeatureId: selected listbox item ID
       
    54         */
       
    55         void UpdateListBoxL( TInt aFeatureId );
       
    56 
       
    57         /**
       
    58         * Retrieves the feature id for the selected item in the listbox
       
    59         * @return listbox item array's current feature.
       
    60         */
       
    61         TInt CurrentFeatureId() const;
       
    62 
       
    63 
       
    64     protected:
       
    65         /* Creates listbox
       
    66         *   @param aResLbxId
       
    67         */
       
    68         void ConstructListBoxL( TInt aResLbxId );
       
    69 
       
    70     private:
       
    71         void CreateListBoxItemsL();
       
    72         void MakeRestrictedDivertItemL();
       
    73 
       
    74 	private:
       
    75 		CGSListBoxItemTextArray* iListboxItemArray;
       
    76 
       
    77     };
       
    78 
       
    79 #endif //GSDIVERTRESTRICTEDCONTAINER_H
       
    80 
       
    81 // End of File