|
1 /** |
|
2 * ==================================================================== |
|
3 * asynccallhandler.h |
|
4 * |
|
5 * Copyright (c) 2006 Nokia Corporation |
|
6 * |
|
7 * Licensed under the Apache License, Version 2.0 (the "License"); |
|
8 * you may not use this file except in compliance with the License. |
|
9 * You may obtain a copy of the License at |
|
10 * |
|
11 * http://www.apache.org/licenses/LICENSE-2.0 |
|
12 * |
|
13 * Unless required by applicable law or agreed to in writing, software |
|
14 * distributed under the License is distributed on an "AS IS" BASIS, |
|
15 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
|
16 * See the License for the specific language governing permissions and |
|
17 * limitations under the License. |
|
18 * ==================================================================== |
|
19 */ |
|
20 |
|
21 #ifndef __ASYNCCALLHANDLER_H__ |
|
22 #define __ASYNCCALLHANDLER_H__ |
|
23 |
|
24 |
|
25 #include <e32base.h> |
|
26 #include <etel.h> |
|
27 #include <etel3rdparty.h> |
|
28 |
|
29 #ifndef EKA2 |
|
30 class CAsyncCallHandler:public CActive |
|
31 #else |
|
32 NONSHARABLE_CLASS (CAsyncCallHandler):public CActive |
|
33 #endif |
|
34 { |
|
35 public: |
|
36 void MakeAsyncCall(CTelephony::TNetworkInfoV1Pckg& networkInfo,TRequestStatus& status); |
|
37 void RunL(); |
|
38 void DoCancel(); |
|
39 static CAsyncCallHandler* NewL(CTelephony& telephony); |
|
40 virtual ~CAsyncCallHandler(); |
|
41 private: |
|
42 CActiveSchedulerWait* iWait; |
|
43 CTelephony& iTelephony; |
|
44 CAsyncCallHandler(CTelephony& telephony); |
|
45 void ConstructL(); |
|
46 }; |
|
47 |
|
48 #endif /* __ASYNCCALLHANDLER_H__ */ |
|
49 |
|
50 |
|
51 |
|
52 |
|
53 |
|
54 |
|
55 |
|
56 |
|
57 |
|
58 |