|
1 /* |
|
2 * Copyright (c) 2006 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: CCP CS call class |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #ifndef MCCPCSCALL_H |
|
20 #define MCCPCSCALL_H |
|
21 |
|
22 // INCLUDES |
|
23 #include <e32base.h> |
|
24 #include <mccpcall.h> |
|
25 |
|
26 /** |
|
27 * Methods used only with CS Call. |
|
28 * |
|
29 * @since S60 3.2 |
|
30 */ |
|
31 class MCCPCSCall : public MCCPCall |
|
32 |
|
33 { |
|
34 public: |
|
35 |
|
36 /** |
|
37 * Starts dialing to recipient |
|
38 * @since S60 3.2 |
|
39 * @param aCallParams The call parameters used by the TSY (a TCallParamsPckg object) |
|
40 * @return KErrNone if request was started succesfully. |
|
41 * @return KErrNotReady if call is not in idle state. |
|
42 * @return KErrNotSupported If call is not mobile originated. |
|
43 * @pre Call state is MCCPCallObserver::ECCPStateIdle and call type is MO. |
|
44 * @since S60 3.2 |
|
45 */ |
|
46 virtual TInt Dial( const TDesC8& aCallParams ) = 0; |
|
47 |
|
48 /** |
|
49 * Instruct to do no FDN checking when dialling. |
|
50 * Needs to be called before every dial for each call separately. |
|
51 * If this method is not called at all default is to use FDN. |
|
52 * Value will be reset to default when call goes back to disconnected state. |
|
53 * @since S60 v3.2 |
|
54 * @param none |
|
55 * @return none |
|
56 */ |
|
57 virtual void NoFDNCheck() = 0; |
|
58 |
|
59 /** |
|
60 * Returns call information |
|
61 * @since S60 3.2 |
|
62 * @param aCallInfo TMobileCallInfoV3 |
|
63 * @return KErrNone if succesfull, otherwise another system wide error code |
|
64 */ |
|
65 virtual TInt GetMobileCallInfo( TDes8& aCallInfo ) const = 0; |
|
66 |
|
67 /** |
|
68 * Switch in the alternating call mode of an alternating call |
|
69 * @since S60 3.2 |
|
70 * @param None |
|
71 * @return KErrNone or system error code. |
|
72 */ |
|
73 virtual TInt SwitchAlternatingCall() = 0; |
|
74 |
|
75 /** |
|
76 * Gets the calls data call capabilities |
|
77 * @since S60 3.2 |
|
78 * @param aCaps TMobileCallDataCapsV1 |
|
79 * @return KErrNone if the function member was successful, |
|
80 * @return KErrNotSupported if call does not support circuit switched data, |
|
81 * @return KErrNotFound if this call is not a data call |
|
82 */ |
|
83 virtual TInt GetMobileDataCallCaps( TDes8& aCaps ) const = 0; |
|
84 |
|
85 /** |
|
86 * Log dialed number. SAT related, check if dialed number is to be logged or not. |
|
87 * @since S60 3.2 |
|
88 * @param None |
|
89 * @return Log dialed number or not. |
|
90 */ |
|
91 virtual TBool LogDialedNumber() const = 0; |
|
92 }; |
|
93 |
|
94 |
|
95 #endif // CCPCSCALL_H |