1 /* |
|
2 * Copyright (c) 2007 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: Class definition of DiagFwInternal::CEventTestProgress |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 // CLASS DECLARATION |
|
20 #include "diagengineeventtestprogress.h" |
|
21 |
|
22 // SYSTEM INCLUDE FILES |
|
23 |
|
24 // USER INCLUDE FILES |
|
25 |
|
26 using namespace DiagFwInternal; |
|
27 |
|
28 // ======== LOCAL FUNCTIONS ======== |
|
29 |
|
30 |
|
31 // ======== MEMBER FUNCTIONS ======== |
|
32 |
|
33 // --------------------------------------------------------------------------- |
|
34 // CEventTestProgress::CEventTestProgress() |
|
35 // --------------------------------------------------------------------------- |
|
36 // |
|
37 CEventTestProgress::CEventTestProgress( |
|
38 const MDiagPlugin& aSender, TUint aCurrStep, TUint aTotalSteps ) |
|
39 : CEventBasic( EEventTestProgress ), |
|
40 iSender( aSender ), |
|
41 iCurrStep( aCurrStep ), |
|
42 iTotalSteps( aTotalSteps ) |
|
43 { |
|
44 } |
|
45 |
|
46 // --------------------------------------------------------------------------- |
|
47 // CEventTestProgress::Sender() |
|
48 // --------------------------------------------------------------------------- |
|
49 // |
|
50 const MDiagPlugin& CEventTestProgress::Sender() const |
|
51 { |
|
52 return iSender; |
|
53 } |
|
54 |
|
55 // --------------------------------------------------------------------------- |
|
56 // CEventTestProgress::CurrStep() |
|
57 // --------------------------------------------------------------------------- |
|
58 // |
|
59 TUint CEventTestProgress::CurrStep() const |
|
60 { |
|
61 return iCurrStep; |
|
62 } |
|
63 |
|
64 // --------------------------------------------------------------------------- |
|
65 // CEventTestProgress::TotalSteps() |
|
66 // --------------------------------------------------------------------------- |
|
67 // |
|
68 TUint CEventTestProgress::TotalSteps() const |
|
69 { |
|
70 return iTotalSteps; |
|
71 } |
|
72 |
|
73 // End of File |
|
74 |
|