phoneapp/phoneuiutils/inc/tphonecmdparamcallstatedata.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: 
       
    15 *   See class description.
       
    16 *
       
    17 */
       
    18 
       
    19 
       
    20 #ifndef __TPHONECMDPARAMCALLSTATEDATA_H
       
    21 #define __TPHONECMDPARAMCALLSTATEDATA_H
       
    22 
       
    23 //  INCLUDES
       
    24 
       
    25 #include <w32std.h>
       
    26 #include "tphonecommandparam.h"
       
    27 
       
    28 // DATA TYPES
       
    29 
       
    30 // CLASS DECLARATION
       
    31 
       
    32 /**
       
    33 *  A parameter class for call header information.
       
    34 */
       
    35 class TPhoneCmdParamCallStateData : public TPhoneUICommandParam
       
    36     {   
       
    37     public:  
       
    38         
       
    39         /**
       
    40         * C++ default constructor.
       
    41         */
       
    42         IMPORT_C TPhoneCmdParamCallStateData();
       
    43 
       
    44     public: 
       
    45         
       
    46         /**
       
    47         * Sets the call header call state.
       
    48         * @param aCallState is the call state
       
    49         */
       
    50         IMPORT_C void SetCallState( TInt aCallState );
       
    51         
       
    52         /**
       
    53         * Sets the call id.
       
    54         * @param aCallId is the call id
       
    55         */
       
    56         IMPORT_C void SetCallId( TInt aCallId );
       
    57 
       
    58         /**
       
    59         * Returns the call header call state.
       
    60         * @return Returns the call state
       
    61         */
       
    62         IMPORT_C TInt CallState() const;
       
    63         
       
    64         /**
       
    65         * Returns the call id.
       
    66         * @return Returns the call id
       
    67         */
       
    68         IMPORT_C TInt CallId() const;   
       
    69 
       
    70     private:    
       
    71 
       
    72         /**
       
    73         * Call header call state
       
    74         */
       
    75         TInt iCallState;
       
    76 
       
    77         /**
       
    78         * Call id
       
    79         */
       
    80         TInt iCallId;
       
    81 
       
    82     };
       
    83 
       
    84 #endif // _TPHONECMDPARAMCALLSTATEDATA_H  
       
    85             
       
    86 // End of File