equal
deleted
inserted
replaced
|
1 /* |
|
2 * Copyright (c) 2010 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: Main handler for incoming requests |
|
15 * |
|
16 */ |
|
17 |
|
18 #include "atcmdasyncbase.h" |
|
19 |
|
20 #include "debug.h" |
|
21 |
|
22 |
|
23 CATCmdAsyncBase::CATCmdAsyncBase(MATMiscCmdPlugin* aCallback, TAtCommandParser& aATCmdParser, RMobilePhone& aPhone) : |
|
24 CActive(CActive::EPriorityStandard), |
|
25 iATCmdParser(aATCmdParser), |
|
26 iPhone(aPhone) |
|
27 { |
|
28 TRACE_FUNC_ENTRY |
|
29 iCallback = aCallback; |
|
30 CActiveScheduler::Add(this); |
|
31 TRACE_FUNC_EXIT |
|
32 } |
|
33 |
|
34 void CATCmdAsyncBase::HandleCommandCancel() |
|
35 { |
|
36 TRACE_FUNC_ENTRY |
|
37 Cancel(); |
|
38 TRACE_FUNC_EXIT |
|
39 } |