|
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 MPECALLSETTERSIF_H |
|
19 #define MPECALLSETTERSIF_H |
|
20 |
|
21 // INCLUDES |
|
22 #include <pevirtualengine.h> |
|
23 |
|
24 // CLASS DECLARATION |
|
25 |
|
26 /** |
|
27 * Call for setting needed parameters before making a phone call. |
|
28 * |
|
29 * @lib phoneengine.lib |
|
30 * @since S60_10.1 |
|
31 */ |
|
32 NONSHARABLE_CLASS( MPECallSettersIF ) |
|
33 { |
|
34 public: //New functions |
|
35 |
|
36 /** |
|
37 * Sets key code value to TPEBasicInfo-structure |
|
38 * @param aKeyCode is the key code value. |
|
39 * @return None. |
|
40 */ |
|
41 virtual void SetKeyCode( const TChar& aKeyCode ) = 0; |
|
42 |
|
43 /** |
|
44 * Sets phone number to TPECallCommandInfo-structure |
|
45 * @param aPhoneNumber is the phone number |
|
46 * @return None. |
|
47 */ |
|
48 virtual void SetPhoneNumber( const TPEPhoneNumber& aPhoneNumber ) = 0; |
|
49 |
|
50 /** |
|
51 * Sets call type information for following command message |
|
52 * Used for specifying the call type of the next attempted call |
|
53 * @param aCallType is the call type of the next attempted call |
|
54 */ |
|
55 virtual void SetCallTypeCommand( const TPECallType& aCallType ) = 0; |
|
56 |
|
57 /** |
|
58 * Sets call Phonebook contact identifier. |
|
59 * @param aContactId is the contact identifier for a call |
|
60 */ |
|
61 virtual void SetContactId2( const TInt aContactId ) = 0; |
|
62 |
|
63 /** |
|
64 * Sets service identifier. |
|
65 * @param aServiceId service id |
|
66 */ |
|
67 virtual void SetServiceIdCommand( TUint32 aServiceId ) = 0; |
|
68 |
|
69 }; |
|
70 |
|
71 #endif // MPECALLSETTERSIF_H |
|
72 |
|
73 // End of File |