1 /* |
|
2 * Copyright (c) 2009 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: |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 // INCLUDE FILES |
|
20 #include "loadgen_loadbase.h" |
|
21 #include "loadgen.hrh" |
|
22 #include <loadgen.rsg> |
|
23 |
|
24 // ===================================== MEMBER FUNCTIONS ===================================== |
|
25 |
|
26 CLoadBase::CLoadBase() |
|
27 { |
|
28 } |
|
29 |
|
30 // -------------------------------------------------------------------------------------------- |
|
31 |
|
32 void CLoadBase::ConstructL() |
|
33 { |
|
34 iState = ELoadStateInvalid; |
|
35 } |
|
36 |
|
37 // -------------------------------------------------------------------------------------------- |
|
38 |
|
39 void CLoadBase::Resume() |
|
40 { |
|
41 iState = ELoadStateRunning; |
|
42 } |
|
43 |
|
44 // -------------------------------------------------------------------------------------------- |
|
45 |
|
46 void CLoadBase::Suspend() |
|
47 { |
|
48 iState = ELoadStateSuspended; |
|
49 } |
|
50 |
|
51 // -------------------------------------------------------------------------------------------- |
|
52 |
|
53 void CLoadBase::SetPriority() |
|
54 { |
|
55 } |
|
56 |
|
57 // -------------------------------------------------------------------------------------------- |
|
58 |
|
59 void CLoadBase::Close() |
|
60 { |
|
61 iState = ELoadStateClosed; |
|
62 } |
|
63 |
|
64 // -------------------------------------------------------------------------------------------- |
|
65 |
|
66 TPtrC CLoadBase::Description() |
|
67 { |
|
68 return TPtrC(KNullDesC); |
|
69 } |
|
70 |
|
71 // -------------------------------------------------------------------------------------------- |
|
72 |
|
73 // End of File |
|