|
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: It is the client side remote class of call subsession object. |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #ifndef RPHCLTEXTCALL_H |
|
20 #define RPHCLTEXTCALL_H |
|
21 |
|
22 // INCLUDES |
|
23 #include <e32std.h> |
|
24 #include "PhCltTypes.h" |
|
25 #include "RPhCltServer.h" |
|
26 |
|
27 // FORWARD DECLARATIONS |
|
28 class CPhCltExtPhoneDialData; |
|
29 |
|
30 // CLASS DECLARATION |
|
31 |
|
32 /** |
|
33 * It is the client side remote class of call subsession object. |
|
34 * |
|
35 * @lib phoneclient.lib |
|
36 * @since 1.0 |
|
37 */ |
|
38 class RPhCltExtCall : public RSubSessionBase |
|
39 { |
|
40 public: // Constructors and destructor |
|
41 |
|
42 /** |
|
43 * C++ default constructor. |
|
44 */ |
|
45 RPhCltExtCall(); |
|
46 |
|
47 |
|
48 public: // New functions |
|
49 |
|
50 /** |
|
51 * Opens the subsession. |
|
52 * |
|
53 * @param aServer It is the session of which subsession this is. |
|
54 * @return Returns error code. |
|
55 */ |
|
56 TInt Open( RPhCltServer& aServer ); |
|
57 |
|
58 /** |
|
59 * Closes the subsession. |
|
60 */ |
|
61 void Close(); |
|
62 |
|
63 /** |
|
64 * Makes a call (asynchronous). |
|
65 * |
|
66 * @param aStatus It is used to notify the completion of the request. |
|
67 * Then it indicates the success/failure of the operation. |
|
68 * @param aData The object containing the dial parameters |
|
69 * @param aLength dial data package length |
|
70 */ |
|
71 void Dial( |
|
72 TRequestStatus& aStatus, |
|
73 TDesC8& aData, TInt aLength ); |
|
74 |
|
75 /** |
|
76 * Cancels the dialling request. |
|
77 */ |
|
78 void CancelDial() const; |
|
79 |
|
80 private: |
|
81 |
|
82 // By default, prohibit copy constructor |
|
83 RPhCltExtCall( const RPhCltExtCall& ); |
|
84 // Prohibit assigment operator |
|
85 RPhCltExtCall& operator= ( const RPhCltExtCall& ); |
|
86 |
|
87 |
|
88 |
|
89 |
|
90 |
|
91 private: // Data |
|
92 |
|
93 |
|
94 |
|
95 }; |
|
96 #endif // RPHCLTEXTCALL_H |
|
97 |
|
98 // End of File |