presencesettingsui/inc/psuiintegersettingitem.h
branchRCL_3
changeset 17 2669f8761a99
parent 16 2580314736af
child 18 fbd2e7cec7ef
equal deleted inserted replaced
16:2580314736af 17:2669f8761a99
     1 /*
       
     2 * Copyright (c) 2006 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:    Setting item for integer values
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 
       
    21 #ifndef PSUIINTEGERSETTINGITEM_H
       
    22 #define PSUIINTEGERSETTINGITEM_H
       
    23 
       
    24 // INCLUDES
       
    25 #include <aknsettingitemlist.h>
       
    26 
       
    27 // FORWARD DECLARATIONS
       
    28 
       
    29 // CLASS DECLARATION
       
    30 
       
    31 /**
       
    32 * CPSUIIntegerSettingItem setting class. Needed to be able to
       
    33 * keep default values invisible.
       
    34 * @since Series60_3.2
       
    35 */
       
    36 class CPSUIIntegerSettingItem : public CAknIntegerEdwinSettingItem
       
    37     {
       
    38     public : // Constructors and destructor
       
    39     
       
    40         /*
       
    41         * C++ default constructor.
       
    42         */
       
    43         CPSUIIntegerSettingItem( TInt aIdentifier, TInt& aValue );
       
    44 
       
    45         /**
       
    46         * Destructor
       
    47         */         
       
    48         ~CPSUIIntegerSettingItem();
       
    49     
       
    50     private: // Functions from base classes
       
    51     
       
    52         /**
       
    53         * From CAknSettingItem
       
    54         * See base class.
       
    55         */
       
    56         virtual const TDesC& SettingTextL();
       
    57 
       
    58         /**
       
    59         * From CAknSettingItem
       
    60         * See base class.
       
    61         */
       
    62         virtual void CompleteConstructionL();
       
    63 
       
    64     private: // Data
       
    65         
       
    66         // since no access to base classes descriptors,
       
    67         // here are similar ones        
       
    68         HBufC* iPSUIInternalText;
       
    69         TPtr iPSUIInternalTextPtr;
       
    70     };
       
    71 
       
    72 #endif //PSUIINTEGERSETTINGITEM_H   
       
    73 // End of File