|
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 pending state |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #ifndef SVPTRANSFERPENDINGSTATE_H |
|
20 #define SVPTRANSFERPENDINGSTATE_H |
|
21 |
|
22 #include "svptransferstatebase.h" |
|
23 #include "svputdefs.h" |
|
24 |
|
25 /** |
|
26 * Transfer pending state |
|
27 * |
|
28 * Handles logic concerning pending state |
|
29 * |
|
30 * @lib svp.dll |
|
31 * @since S60 3.2 |
|
32 */ |
|
33 class CSVPTransferPendingState : public CSVPTransferStateBase |
|
34 { |
|
35 |
|
36 public: |
|
37 |
|
38 /** |
|
39 * Two-phased constructor. |
|
40 */ |
|
41 static CSVPTransferPendingState* NewLC(); |
|
42 |
|
43 /** |
|
44 * Destructor. |
|
45 */ |
|
46 virtual ~CSVPTransferPendingState(); |
|
47 |
|
48 protected: |
|
49 |
|
50 // from base class CSVPTransferStateBase |
|
51 |
|
52 /** |
|
53 * From CSVPTransferStateBase. Apply concrete state. |
|
54 */ |
|
55 void DoApplyL( CSVPTransferStateContext& aContext ); |
|
56 |
|
57 /** |
|
58 * From CSVPTransferStateBase. Called when the state is entered. |
|
59 */ |
|
60 void DoEnter( CSVPTransferStateContext& aContext ); |
|
61 |
|
62 |
|
63 private: |
|
64 |
|
65 /** |
|
66 * C++ default constructor. |
|
67 */ |
|
68 CSVPTransferPendingState(); |
|
69 |
|
70 |
|
71 private: |
|
72 |
|
73 // For testing |
|
74 SVP_UT_DEFS |
|
75 |
|
76 }; |
|
77 |
|
78 #endif // SVPTRANSFERPENDINGSTATE_H |