equal
deleted
inserted
replaced
|
1 // Copyright (c) 2007-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 #include "tetelrequeststatus.h" |
|
18 |
|
19 /** |
|
20 */ |
|
21 void TEtelRequestBase::DoCleanup(TAny* aPtr) |
|
22 { |
|
23 TEtelRequestBase* me = static_cast<TEtelRequestBase*>(aPtr); |
|
24 me->Cleanup(); |
|
25 } |
|
26 |
|
27 /** |
|
28 */ |
|
29 void TExtEtelRequestStatus::Cancel() |
|
30 { |
|
31 iSubSess.CancelAsyncRequest(iCancelIpc); |
|
32 User::WaitForRequest(iReqStatus); |
|
33 } |
|
34 |
|
35 |
|
36 /* |
|
37 TExtEtelRequest phoneInitrequest(phone, 123); |
|
38 phone.Initialise(phoneInitrequest); |
|
39 err = WaitForRequestWithTimout(phoneInitrequest,K1s); |
|
40 |
|
41 |
|
42 TExtEtelRequest phoneInitrequest(phone, 123); |
|
43 CleanupStack::PushL(phoneInitrequest); |
|
44 phone.Initialise(phoneInitrequest); |
|
45 DoSomethingThatLeaveL(); |
|
46 */ |
|
47 |
|
48 void TConsoleReadRequestStatus::Cancel() |
|
49 { |
|
50 iSubSess.ReadCancel(); |
|
51 User::WaitForRequest(iReqStatus); |
|
52 } |
|
53 |