diff -r 21239b3bcd78 -r 9711e452b5e9 calendarui/commonutils/src/calenattachmentmodel.cpp --- a/calendarui/commonutils/src/calenattachmentmodel.cpp Wed Apr 14 15:55:57 2010 +0300 +++ b/calendarui/commonutils/src/calenattachmentmodel.cpp Tue Apr 27 16:36:22 2010 +0300 @@ -95,6 +95,7 @@ { TRACE_ENTRY_POINT; isAttachmentModelCleared = ETrue; + iEmbeddedFileOpened = EFalse; TRACE_EXIT_POINT; } @@ -612,8 +613,29 @@ } } - TRACE_EXIT_POINT; - + TRACE_EXIT_POINT; } +// ---------------------------------------------------------------------------- +// CCalenAttachmentModel::AttachmentOpen +// Set the flag if the attachment(Photo, audio and vedio files) is open. +// ---------------------------------------------------------------------------- +// +EXPORT_C void CCalenAttachmentModel::AttachmentOpen(TBool& aEmbeddedFileOpened) + { + TRACE_ENTRY_POINT + iEmbeddedFileOpened = aEmbeddedFileOpened; + TRACE_EXIT_POINT + } +// ---------------------------------------------------------------------------- +// CCalenAttachmentModel::IsAttachmentOpen +// return True if the atacchment is opened. +// ---------------------------------------------------------------------------- +// +EXPORT_C TBool CCalenAttachmentModel::IsAttachmentOpen() + { + TRACE_ENTRY_POINT + TRACE_EXIT_POINT + return iEmbeddedFileOpened; + } // End of file --Don't remove this.