gssettingsuis/Gs/GSCallDivertPlugin/Inc/GSCallDivertPluginContainer.h
branchRCL_3
changeset 24 8ee96d21d9bf
parent 23 8bda91a87a00
child 25 7e0eff37aedb
equal deleted inserted replaced
23:8bda91a87a00 24:8ee96d21d9bf
     1 /*
       
     2 * Copyright (c) 2002-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 Call Divert Plugin.
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef GSDIVERTPLUGINCONTAINER_H
       
    20 #define GSDIVERTPLUGINCONTAINER_H
       
    21 
       
    22 // INCLUDES
       
    23 #include "gsbasecontainer.h"
       
    24 
       
    25 // CLASS DECLARATION
       
    26 class CGSListBoxItemTextArray;
       
    27 
       
    28 // CLASS DECLARATION
       
    29 /**
       
    30 *  CGSCallDivertPluginContainer container class
       
    31 */
       
    32 class CGSCallDivertPluginContainer : 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         ~CGSCallDivertPluginContainer();
       
    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         TGSCallDivertServiceGroups CurrentFeatureId() const;
       
    62 
       
    63 
       
    64     protected:
       
    65         /* Creates listbox
       
    66         *   @param aResLbxId
       
    67         */
       
    68         void ConstructListBoxL( TInt aResLbxId );
       
    69 
       
    70     private: // Functions
       
    71         void MakeVoiceDivertsItemL();
       
    72         void MakeVideoDivertsItemL();
       
    73 
       
    74     private: // Member variables
       
    75 		CGSListBoxItemTextArray* iListboxItemArray;
       
    76 
       
    77     };
       
    78 
       
    79 #endif // GSDIVERTPLUGINCONTAINER_H
       
    80 
       
    81 // End of File