pimappservices/calendar/shared/src/agmsimpleentry.cpp
branchRCL_3
changeset 65 12af337248b1
parent 30 d68a4b5d5885
child 66 bd7edf625bdd
equal deleted inserted replaced
60:96907930389d 65:12af337248b1
   275 @internalComponent
   275 @internalComponent
   276 @param aStatus The status of the entry. 
   276 @param aStatus The status of the entry. 
   277 */
   277 */
   278 	{
   278 	{
   279 	__ASSERT_DEBUG( (aStatus == CCalEntry::ETentative)
   279 	__ASSERT_DEBUG( (aStatus == CCalEntry::ETentative)
   280 	    			|(aStatus == CCalEntry::EConfirmed)
   280 					|(aStatus == CCalEntry::EConfirmed)
   281 	    			|(aStatus == CCalEntry::ECancelled)
   281 					|(aStatus == CCalEntry::ECancelled)
   282 	    			|(aStatus == CCalEntry::ETodoNeedsAction)
   282 					|(aStatus == CCalEntry::ETodoNeedsAction)
   283 	    			|(aStatus == CCalEntry::ETodoCompleted)
   283 					|(aStatus == CCalEntry::ETodoCompleted)
   284 	    			|(aStatus == CCalEntry::ETodoInProcess)
   284 					|(aStatus == CCalEntry::ETodoInProcess)
   285 	    			|(aStatus == CCalEntry::ENullStatus)
   285 					|(aStatus == CCalEntry::ENullStatus)
   286 	    			|(aStatus == CCalEntry::EVCalAccepted)
   286 					|(aStatus == CCalEntry::EVCalAccepted)
   287 	    			|(aStatus == CCalEntry::EVCalNeedsAction)
   287 					|(aStatus == CCalEntry::EVCalNeedsAction)
   288 	    			|(aStatus == CCalEntry::EVCalSent)
   288 					|(aStatus == CCalEntry::EVCalSent)
   289 	    			|(aStatus == CCalEntry::EVCalDeclined)
   289 					|(aStatus == CCalEntry::EVCalDeclined)
   290 	    			|(aStatus == CCalEntry::EVCalDelegated),
   290 					|(aStatus == CCalEntry::EVCalDelegated),
   291 					Panic(EAgmErrInvalidStatus));
   291 					Panic(EAgmErrInvalidStatus));
   292 	
   292 	
   293 	iStatus = aStatus;
   293 	iStatus = aStatus;
   294 	}
   294 	}
   295 
   295 
   768 
   768 
   769 @param aUserInt The new value of the user integer. 
   769 @param aUserInt The new value of the user integer. 
   770 @internalComponent
   770 @internalComponent
   771 */
   771 */
   772 EXPORT_C void CAgnSimpleEntry::SetUserInt( TUint32 aUserInt )
   772 EXPORT_C void CAgnSimpleEntry::SetUserInt( TUint32 aUserInt )
   773     {
   773 	{
   774     iUserInt = aUserInt;
   774 	iUserInt = aUserInt;
   775     }
   775 	}
   776 
   776 
   777 /**
   777 /**
   778 Gets the user integer of this entry.
   778 Gets the user integer of this entry.
   779 
   779 
   780 @return The user integer.
   780 @return The user integer.
   781 @internalComponent
   781 @internalComponent
   782 */
   782 */
   783 EXPORT_C TUint32 CAgnSimpleEntry::UserInt() const
   783 EXPORT_C TUint32 CAgnSimpleEntry::UserInt() const
   784     {
   784 	{
   785     return iUserInt;
   785 	return iUserInt;
   786     }
   786 	}
   787 
   787