1 /* |
|
2 * Copyright (c) 2006-2008 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: Transfer state representing the terminating state |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #include "svptransferterminatingstate.h" |
|
20 #include "svptransferstatecontext.h" |
|
21 #include "svplogger.h" |
|
22 |
|
23 // --------------------------------------------------------------------------- |
|
24 // CSVPTransferTerminatingState::CSVPTransferTerminatingState |
|
25 // --------------------------------------------------------------------------- |
|
26 // |
|
27 CSVPTransferTerminatingState::CSVPTransferTerminatingState() |
|
28 { |
|
29 } |
|
30 |
|
31 // --------------------------------------------------------------------------- |
|
32 // CSVPTransferTerminatingState::NewLC |
|
33 // --------------------------------------------------------------------------- |
|
34 // |
|
35 CSVPTransferTerminatingState* CSVPTransferTerminatingState::NewLC() |
|
36 { |
|
37 CSVPTransferTerminatingState* self = |
|
38 new( ELeave ) CSVPTransferTerminatingState; |
|
39 CleanupStack::PushL( self ); |
|
40 return self; |
|
41 } |
|
42 |
|
43 // --------------------------------------------------------------------------- |
|
44 // CSVPTransferTerminatingState::~CSVPTransferTerminatingState |
|
45 // --------------------------------------------------------------------------- |
|
46 // |
|
47 CSVPTransferTerminatingState::~CSVPTransferTerminatingState() |
|
48 { |
|
49 } |
|
50 |
|
51 // --------------------------------------------------------------------------- |
|
52 // CSVPTransferTerminatingState::DoApplyL |
|
53 // --------------------------------------------------------------------------- |
|
54 // |
|
55 void CSVPTransferTerminatingState::DoApplyL( |
|
56 CSVPTransferStateContext& aContext ) |
|
57 { |
|
58 SVPDEBUG1( "CSVPTransferTerminatingState::DoApplyL In" ) |
|
59 |
|
60 // Set next state - terminated |
|
61 aContext.SetCurrentStateL( KSVPTransferTerminatedStateIndex ); |
|
62 aContext.ApplyCurrentStateL(); |
|
63 |
|
64 SVPDEBUG1( "CSVPTransferTerminatingState::DoApplyL Out" ) |
|
65 } |
|
66 |
|
67 // --------------------------------------------------------------------------- |
|
68 // CSVPTransferTerminatingState::DoEnter |
|
69 // --------------------------------------------------------------------------- |
|
70 // |
|
71 void CSVPTransferTerminatingState::DoEnter( |
|
72 CSVPTransferStateContext& /*aContext*/ ) |
|
73 { |
|
74 } |
|
75 |
|