equal
deleted
inserted
replaced
|
1 // Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies). |
|
2 // All rights reserved. |
|
3 // This component and the accompanying materials are made available |
|
4 // under the terms of "Eclipse Public License v1.0" |
|
5 // which accompanies this distribution, and is available |
|
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
7 // |
|
8 // Initial Contributors: |
|
9 // Nokia Corporation - initial contribution. |
|
10 // |
|
11 // Contributors: |
|
12 // |
|
13 // Description: |
|
14 // |
|
15 |
|
16 |
|
17 #ifndef __CANSWERINCOMINGCALL_H__ |
|
18 #define __CANSWERINCOMINGCALL_H__ |
|
19 |
|
20 #include <e32base.h> |
|
21 #include <e32cons.h> |
|
22 #include <e32def.h> |
|
23 #include <etel3rdparty.h> |
|
24 |
|
25 #include "CISVAPIAsync.h" |
|
26 |
|
27 #include "CMainMenu.h" |
|
28 |
|
29 /** |
|
30 Answer the incoming call. |
|
31 */ |
|
32 class CAnswerIncomingCall : public CISVAPIAsync |
|
33 { |
|
34 // Methods |
|
35 public: |
|
36 static CAnswerIncomingCall* NewL(MExecAsync* aController); |
|
37 ~CAnswerIncomingCall(); |
|
38 |
|
39 void DoStartRequestL(); |
|
40 |
|
41 private: |
|
42 CAnswerIncomingCall(MExecAsync* aController); |
|
43 void ConstructL(); |
|
44 |
|
45 void RunL(); |
|
46 void DoCancel(); |
|
47 |
|
48 // Data |
|
49 public: |
|
50 /** |
|
51 Stores details of the incoming call. |
|
52 */ |
|
53 CTelephony::TCallId iCallId; |
|
54 /** |
|
55 Stores the status of the incoming call. |
|
56 */ |
|
57 CTelephony::TCallStatusV1 iCallStatusV1; |
|
58 |
|
59 private: |
|
60 /** |
|
61 Packages iCallStatusV1. |
|
62 */ |
|
63 CTelephony::TCallStatusV1Pckg iCallStatusV1Pckg; |
|
64 }; |
|
65 |
|
66 #endif // __CANSWERINCOMINGCALL_H__ |