|
1 // Copyright (c) 1999-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 |
|
18 /** |
|
19 |
|
20 |
|
21 Gets the entry's ID. |
|
22 |
|
23 @return The entry's ID. |
|
24 */ |
|
25 |
|
26 inline const TMsvId CMsvScheduledEntry::Id() const |
|
27 { |
|
28 return iEntry.Id(); |
|
29 } |
|
30 |
|
31 |
|
32 /** |
|
33 Gets the entry's OffPeak() flag. |
|
34 |
|
35 @return The entry's OffPeak() flag. |
|
36 */ |
|
37 |
|
38 inline const TBool CMsvScheduledEntry::OffPeak() const |
|
39 { |
|
40 return iEntry.OffPeak(); |
|
41 } |
|
42 |
|
43 |
|
44 /** |
|
45 Gets the entry's iMtm data member. |
|
46 |
|
47 @return The entry's iMtm data member. |
|
48 */ |
|
49 |
|
50 inline const TUid CMsvScheduledEntry::Mtm() const |
|
51 { |
|
52 return iEntry.iMtm; |
|
53 } |
|
54 |
|
55 |
|
56 /** |
|
57 Gets the entry's iDate member. |
|
58 |
|
59 @return Entry's iDate member. |
|
60 */ |
|
61 |
|
62 inline const TTime& CMsvScheduledEntry::ScheduleDate() const |
|
63 { |
|
64 return iEntry.iDate; |
|
65 } |
|
66 |
|
67 |
|
68 /** |
|
69 Sets the entry's iDate member. |
|
70 |
|
71 @param aDate Entry's iDate member. |
|
72 */ |
|
73 |
|
74 inline void CMsvScheduledEntry::SetScheduleDate(const TTime& aDate) |
|
75 { |
|
76 iEntry.iDate = aDate; |
|
77 } |
|
78 |
|
79 |
|
80 /** |
|
81 Gets the entry's Scheduled() flag. |
|
82 |
|
83 @return The entry's Scheduled() flag. |
|
84 */ |
|
85 |
|
86 inline const TBool CMsvScheduledEntry::Scheduled() const |
|
87 { |
|
88 return iEntry.Scheduled(); |
|
89 } |
|
90 |
|
91 |
|
92 /** |
|
93 Sets the entry's Scheduled() flag. |
|
94 |
|
95 @param aScheduled The entry's Scheduled() flag. |
|
96 */ |
|
97 |
|
98 inline void CMsvScheduledEntry::SetScheduled(const TBool aScheduled) |
|
99 { |
|
100 iEntry.SetScheduled(aScheduled); |
|
101 } |
|
102 |
|
103 |
|
104 /** |
|
105 Gets the entry's iError data member. |
|
106 |
|
107 @return The entry's iError data member. |
|
108 */ |
|
109 |
|
110 inline const TInt CMsvScheduledEntry::Error() const |
|
111 { |
|
112 return iEntry.iError; |
|
113 } |
|
114 |
|
115 |
|
116 /** |
|
117 Gets the entry's SendingState() flag. |
|
118 |
|
119 @return The entry's SendingState() flag. |
|
120 */ |
|
121 |
|
122 inline const TInt CMsvScheduledEntry::SendingState() const |
|
123 { |
|
124 return iEntry.SendingState(); |
|
125 } |
|
126 |
|
127 |
|
128 /** |
|
129 Sets the entry's SendingState() flag. |
|
130 |
|
131 @param aState |
|
132 The entry's SendingState() flag. |
|
133 */ |
|
134 |
|
135 inline void CMsvScheduledEntry::SetSendingState(TInt aState) |
|
136 { |
|
137 iEntry.SetSendingState(aState); |
|
138 } |
|
139 |
|
140 |
|
141 /** |
|
142 Sets the entry's Failed() flag. |
|
143 |
|
144 @param aFail |
|
145 The entry's Failed() flag. |
|
146 */ |
|
147 |
|
148 inline void CMsvScheduledEntry::SetFailed(const TBool aFail) |
|
149 { |
|
150 iEntry.SetFailed(aFail); |
|
151 } |
|
152 |
|
153 |
|
154 /** |
|
155 Gets the entry's Failed() flag. |
|
156 |
|
157 @return The entry's Failed() flag. |
|
158 */ |
|
159 |
|
160 inline const TBool CMsvScheduledEntry::Failed() const |
|
161 { |
|
162 return iEntry.Failed(); |
|
163 } |