phoneengine/phoneservices/tsrc/shared/mock_mpecallsettersif.h
changeset 46 bc5a64e5bc3c
equal deleted inserted replaced
45:6b911d05207e 46:bc5a64e5bc3c
       
     1 /*
       
     2 * Copyright (c) 2007-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:  This file contains the interface for setters needed needed for dialling a phone call.
       
    15 *
       
    16 */
       
    17 
       
    18 #ifndef CPECALLSETTERSIFMOCK_H
       
    19 #define CPECALLSETTERSIFMOCK_H
       
    20 
       
    21 // INCLUDES
       
    22 #include <pevirtualengine.h>
       
    23 #include "mpecallsettersif.h"
       
    24 
       
    25 // CLASS DECLARATION
       
    26 
       
    27 /**
       
    28 *  Call for setting needed parameters before making a phone call.
       
    29 * 
       
    30 *  @lib phoneengine.lib
       
    31 *  @since S60_10.1
       
    32 */
       
    33 NONSHARABLE_CLASS( CPECallSettersIFMock ) : public CBase, public MPECallSettersIF
       
    34 {
       
    35     public:    //New functions
       
    36 
       
    37         /**
       
    38         * Sets key code value to TPEBasicInfo-structure
       
    39         * @param aKeyCode is the key code value.
       
    40         * @return None.
       
    41         */
       
    42         void SetKeyCode( const TChar& aKeyCode ); 
       
    43 
       
    44         /**
       
    45         * Sets phone number to TPECallCommandInfo-structure
       
    46         * @param aPhoneNumber is the phone number
       
    47         * @return None.
       
    48         */
       
    49         void SetPhoneNumber( const TPEPhoneNumber& aPhoneNumber );
       
    50 
       
    51         /**
       
    52         * Sets call type information for following command message
       
    53         * Used for specifying the call type of the next attempted call
       
    54         * @param aCallType is the call type of the next attempted call
       
    55         */
       
    56         void SetCallTypeCommand( const TPECallType& aCallType );
       
    57         
       
    58         /**
       
    59         * Sets call Phonebook contact identifier.
       
    60         * @param aContactId is the contact identifier for a call
       
    61         */
       
    62         void SetContactId2( const TInt aContactId );
       
    63         
       
    64         /**
       
    65         * Sets service identifier.
       
    66         * @param aServiceId service id
       
    67         */
       
    68         void SetServiceIdCommand( TUint32 aServiceId );
       
    69 
       
    70     };
       
    71 
       
    72 #endif // CPECALLSETTERSIFMOCK_H
       
    73 
       
    74 // End of File