phoneapp/phoneuiutils/inc/tphonecmdparaminteger.h
changeset 0 5f000ab63145
equal deleted inserted replaced
-1:000000000000 0:5f000ab63145
       
     1 /*
       
     2 * Copyright (c) 2005 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:  Parameter class for TInt.
       
    15 *
       
    16 */
       
    17 
       
    18 #ifndef TPHONECMDPARAMINTEGER_H
       
    19 #define TPHONECMDPARAMINTEGER_H
       
    20 
       
    21 //  INCLUDES
       
    22 #include "tphonecommandparam.h"
       
    23 
       
    24 // CLASS DECLARATION
       
    25 
       
    26 /**
       
    27 *  A concrete parameter class for one integer value.
       
    28 *  
       
    29 */
       
    30 class TPhoneCmdParamInteger : public TPhoneUICommandParam
       
    31     {
       
    32     public:  
       
    33         
       
    34         /**
       
    35         * C++ default constructor.
       
    36         */
       
    37         IMPORT_C TPhoneCmdParamInteger();
       
    38 
       
    39     public: 
       
    40         
       
    41         /**
       
    42         * Sets the integer value
       
    43         * @param aInteger is integer value
       
    44         */
       
    45         IMPORT_C void SetInteger( TInt aInteger );
       
    46 
       
    47         /**
       
    48         * Returns the integer.
       
    49         * @return Returns the carried integer
       
    50         */
       
    51         IMPORT_C TInt Integer() const;
       
    52 
       
    53     private:   
       
    54 
       
    55         /**
       
    56         * The integer
       
    57         */
       
    58         TInt iInteger;
       
    59     };
       
    60 
       
    61 #endif      // TPHONECMDPARAMINTEGER_H   
       
    62             
       
    63 // End of File