diff -r c6838af47512 -r 52d61119153d mobilemessaging/unieditor/application/inc/UniEditorDocument.inl --- a/mobilemessaging/unieditor/application/inc/UniEditorDocument.inl Wed Mar 31 21:25:02 2010 +0300 +++ b/mobilemessaging/unieditor/application/inc/UniEditorDocument.inl Wed Apr 14 15:53:21 2010 +0300 @@ -422,4 +422,32 @@ return iSmsSizeWarningBytes; } +// --------------------------------------------------------- +// CUniEditorDocument:: SetLaunchFromCvAttachment +// Set/Reset the attachment Flag +// --------------------------------------------------------- + +inline void CUniEditorDocument::SetLaunchFromCvAttachment(TBool aVal) + { + if(aVal) + { + iFlags |= ELaunchFromCvAttachment; + } + else + { + iFlags &= ~ELaunchFromCvAttachment; + } + } + +// --------------------------------------------------------- +// CUniEditorDocument:: IsLaunchFromCvAttachment +// Verify is attachment Flag set and reset it. +//--------------------------------------------------------- + + inline TBool CUniEditorDocument::IsLaunchFromCvAttachment() + { + TBool x =iFlags & ELaunchFromCvAttachment; + iFlags &= ~ELaunchFromCvAttachment; + return(x); + } // End of file