phoneapp/phoneuiutils/inc/tphonecmdparamboolean.h
changeset 36 2eacb6118286
parent 30 ebdbd102c78a
child 37 ba76fc04e6c2
equal deleted inserted replaced
30:ebdbd102c78a 36:2eacb6118286
     1 /*
       
     2 * Copyright (c) 2002 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: Definition of TPhoneCmdParamBoolean class.
       
    15 *     
       
    16 *
       
    17 */
       
    18 
       
    19 
       
    20 #ifndef TPHONECMDPARAMBOOLEAN_H
       
    21 #define TPHONECMDPARAMBOOLEAN_H
       
    22 
       
    23 //  INCLUDES
       
    24 #include "tphonecommandparam.h"
       
    25 
       
    26 // CLASS DECLARATION
       
    27 
       
    28 /**
       
    29 *  A concrete parameter class for passing a TBool around. This
       
    30 *  is used for various purposes where TBool is useful. 
       
    31 */
       
    32 class TPhoneCmdParamBoolean : public TPhoneUICommandParam
       
    33     {
       
    34     public:  
       
    35         
       
    36         /**
       
    37         * C++ default constructor.
       
    38         */
       
    39         IMPORT_C TPhoneCmdParamBoolean();
       
    40 
       
    41     public: 
       
    42         
       
    43         /**
       
    44         * Sets the Boolean boolean value.
       
    45         * @param aBoolean is the Boolean value.
       
    46         */
       
    47         IMPORT_C void SetBoolean( TBool aBoolean );
       
    48 
       
    49         /**
       
    50         * Returns the Boolean.
       
    51         * @return Returns the Boolean
       
    52         */
       
    53         IMPORT_C TBool Boolean() const;
       
    54 
       
    55     private:    
       
    56         
       
    57         /**
       
    58         * Boolean value
       
    59         */
       
    60         TBool iBoolean;
       
    61 
       
    62     };
       
    63 
       
    64 #endif      // TPhoneCmdParamBoolean_H 
       
    65             
       
    66 // End of File