271 @internalComponent |
271 @internalComponent |
272 @param aStatus The status of the entry. |
272 @param aStatus The status of the entry. |
273 */ |
273 */ |
274 { |
274 { |
275 __ASSERT_DEBUG( (aStatus == CCalEntry::ETentative) |
275 __ASSERT_DEBUG( (aStatus == CCalEntry::ETentative) |
276 |(aStatus == CCalEntry::EConfirmed) |
276 |(aStatus == CCalEntry::EConfirmed) |
277 |(aStatus == CCalEntry::ECancelled) |
277 |(aStatus == CCalEntry::ECancelled) |
278 |(aStatus == CCalEntry::ETodoNeedsAction) |
278 |(aStatus == CCalEntry::ETodoNeedsAction) |
279 |(aStatus == CCalEntry::ETodoCompleted) |
279 |(aStatus == CCalEntry::ETodoCompleted) |
280 |(aStatus == CCalEntry::ETodoInProcess) |
280 |(aStatus == CCalEntry::ETodoInProcess) |
281 |(aStatus == CCalEntry::ENullStatus) |
281 |(aStatus == CCalEntry::ENullStatus) |
282 |(aStatus == CCalEntry::EVCalAccepted) |
282 |(aStatus == CCalEntry::EVCalAccepted) |
283 |(aStatus == CCalEntry::EVCalNeedsAction) |
283 |(aStatus == CCalEntry::EVCalNeedsAction) |
284 |(aStatus == CCalEntry::EVCalSent) |
284 |(aStatus == CCalEntry::EVCalSent) |
285 |(aStatus == CCalEntry::EVCalDeclined) |
285 |(aStatus == CCalEntry::EVCalDeclined) |
286 |(aStatus == CCalEntry::EVCalDelegated), |
286 |(aStatus == CCalEntry::EVCalDelegated), |
287 Panic(EAgmErrInvalidStatus)); |
287 Panic(EAgmErrInvalidStatus)); |
288 |
288 |
289 iStatus = aStatus; |
289 iStatus = aStatus; |
290 } |
290 } |
291 |
291 |
757 |
757 |
758 @param aUserInt The new value of the user integer. |
758 @param aUserInt The new value of the user integer. |
759 @internalComponent |
759 @internalComponent |
760 */ |
760 */ |
761 EXPORT_C void CAgnSimpleEntry::SetUserInt( TUint32 aUserInt ) |
761 EXPORT_C void CAgnSimpleEntry::SetUserInt( TUint32 aUserInt ) |
762 { |
762 { |
763 iUserInt = aUserInt; |
763 iUserInt = aUserInt; |
764 } |
764 } |
765 |
765 |
766 /** |
766 /** |
767 Gets the user integer of this entry. |
767 Gets the user integer of this entry. |
768 |
768 |
769 @return The user integer. |
769 @return The user integer. |
770 @internalComponent |
770 @internalComponent |
771 */ |
771 */ |
772 EXPORT_C TUint32 CAgnSimpleEntry::UserInt() const |
772 EXPORT_C TUint32 CAgnSimpleEntry::UserInt() const |
773 { |
773 { |
774 return iUserInt; |
774 return iUserInt; |
775 } |
775 } |
776 |
776 |