systemsettings/GSAccessoryPlugin/inc/gsacctextphonecontainer.h
changeset 0 2e3d3ce01487
equal deleted inserted replaced
-1:000000000000 0:2e3d3ce01487
       
     1 /*
       
     2 * Copyright (c) 2005-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:  Declaration of CGSAccTextPhoneContainer class
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef GSACCTEXTPHONECONTAINER_H
       
    20 #define GSACCTEXTPHONECONTAINER_H
       
    21 
       
    22 #include "gsaccbasecontainer.h"
       
    23 
       
    24 /**
       
    25 *  CGSAccTextPhoneContainer container class
       
    26 *
       
    27 *  Container class for Text phone view
       
    28 */
       
    29 class CGSAccTextPhoneContainer : public CGSAccBaseContainer
       
    30     {
       
    31 
       
    32 public: // Constructors and destructor
       
    33 
       
    34     /**
       
    35     * First phase constructor.
       
    36     *
       
    37     * @param aModel Data model for reading and writing settings.
       
    38     */
       
    39     CGSAccTextPhoneContainer( CGSAccessoryPluginModel& aModel );
       
    40 
       
    41     /**
       
    42     * Destructor.
       
    43     */
       
    44     virtual ~CGSAccTextPhoneContainer();
       
    45 
       
    46 public: // From CGSAccBaseContainer
       
    47 
       
    48     /**
       
    49     * @see class CGSAccBaseContainer.
       
    50     */
       
    51     void UpdateListBoxL( TInt aFeatureId );
       
    52 
       
    53 private: // From CGSBaseContainer
       
    54 
       
    55     /**
       
    56     * @see class CGSBaseContainer.
       
    57     */
       
    58     void ConstructL( const TRect& aRect );
       
    59 
       
    60     /**
       
    61     * @see class CGSBaseContainer.
       
    62     */
       
    63     void ConstructListBoxL( TInt aResLbxId );
       
    64 
       
    65 private: // From CCoeControl
       
    66 
       
    67     /**
       
    68     * @see class CCoeControl.
       
    69     */
       
    70     void GetHelpContext( TCoeHelpContext& aContext ) const;
       
    71 
       
    72 private:
       
    73 
       
    74     /**
       
    75     * Read default profile from model and update it to the listbox item.
       
    76     */
       
    77     void RefreshDefaultProfileL();
       
    78 
       
    79     };
       
    80 
       
    81 #endif // GSACCTEXTPHONECONTAINER_H