equal
deleted
inserted
replaced
1 // Copyright (c) 2008-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 @file |
|
18 @internalTechnology |
|
19 @prototype |
|
20 */ |
|
21 |
|
22 #ifndef ILIFBASE_INL |
|
23 #define ILIFBASE_INL |
|
24 |
|
25 inline |
|
26 TILEvent::TILEvent() |
|
27 : |
|
28 iEvent(EEventMax), |
|
29 iData1(0), |
|
30 iData2(0), |
|
31 iExtraData(0) |
|
32 { |
|
33 } |
|
34 |
|
35 inline |
|
36 TILEvent::TILEvent( |
|
37 TILEventTypes aEvent, |
|
38 TUint32 aData1, |
|
39 TUint32 aData2, |
|
40 TAny* aExtraData |
|
41 ) |
|
42 : |
|
43 iEvent(aEvent), |
|
44 iData1(aData1), |
|
45 iData2(aData2), |
|
46 iExtraData(aExtraData) |
|
47 { |
|
48 } |
|
49 |
|
50 inline |
|
51 TILCommand::TILCommand() |
|
52 : |
|
53 iCmd(ECommandInvalid), |
|
54 iData1(0), |
|
55 iExtraData(0) |
|
56 { |
|
57 } |
|
58 |
|
59 inline |
|
60 TILCommand::TILCommand( |
|
61 TILCommandTypes aCmd, |
|
62 TUint32 aData1, |
|
63 TAny* aExtraData |
|
64 ) |
|
65 : |
|
66 iCmd(aCmd), |
|
67 iData1(aData1), |
|
68 iExtraData(aExtraData) |
|
69 { |
|
70 } |
|
71 |
|
72 inline TILVersion::TILVersion() |
|
73 : |
|
74 iMajor(0), |
|
75 iMinor(0), |
|
76 iRev(0), |
|
77 iStep(0) |
|
78 { |
|
79 } |
|
80 |
|
81 inline TILVersion::TILVersion( |
|
82 TUint8 aMajor, |
|
83 TUint8 aMinor, |
|
84 TUint8 aRev, |
|
85 TUint8 aStep |
|
86 ) |
|
87 : |
|
88 iMajor(aMajor), |
|
89 iMinor(aMinor), |
|
90 iRev(aRev), |
|
91 iStep(aStep) |
|
92 { |
|
93 } |
|
94 |
|
95 inline TBool TILVersion::operator==(TILVersion aVersion) |
|
96 { |
|
97 return (!(operator!=(aVersion))); |
|
98 } |
|
99 |
|
100 inline TBool TILVersion::operator!=(TILVersion aVersion) |
|
101 { |
|
102 return ((aVersion.iMajor != iMajor) || (aVersion.iMinor != iMinor) || (aVersion.iRev != iRev) || (aVersion.iStep != iStep)); |
|
103 } |
|
104 |
|
105 inline TILComponentVersion::TILComponentVersion( |
|
106 TPtr8& aPtr |
|
107 ) |
|
108 : |
|
109 iComponentName(aPtr), |
|
110 iComponentVersion(), |
|
111 iSpecVersion(), |
|
112 iComponentUniqueID(0) |
|
113 { |
|
114 } |
|
115 |
|
116 |
|
117 #endif // ILIFBASE_INL |
|