mobilemessaging/unieditor/application/inc/UniEditorDocument.inl
branchRCL_3
changeset 22 52d61119153d
parent 0 72b543305e3a
equal deleted inserted replaced
21:c6838af47512 22:52d61119153d
   420 inline TInt CUniEditorDocument::SmsSizeWarningBytes()
   420 inline TInt CUniEditorDocument::SmsSizeWarningBytes()
   421     {
   421     {
   422     return iSmsSizeWarningBytes;
   422     return iSmsSizeWarningBytes;
   423     }
   423     }
   424 
   424 
       
   425 // ---------------------------------------------------------
       
   426 // CUniEditorDocument:: SetLaunchFromCvAttachment
       
   427 // Set/Reset the  attachment Flag 
       
   428 //  ---------------------------------------------------------
       
   429 
       
   430 inline void  CUniEditorDocument::SetLaunchFromCvAttachment(TBool aVal)
       
   431     {
       
   432     if(aVal)
       
   433         {
       
   434         iFlags |=  ELaunchFromCvAttachment;
       
   435         }
       
   436     else
       
   437         {
       
   438         iFlags &= ~ELaunchFromCvAttachment;
       
   439         }
       
   440     }
       
   441 
       
   442 // ---------------------------------------------------------
       
   443 // CUniEditorDocument:: IsLaunchFromCvAttachment
       
   444 // Verify is attachment Flag set and reset it.
       
   445 //---------------------------------------------------------
       
   446      
       
   447  inline TBool CUniEditorDocument::IsLaunchFromCvAttachment()
       
   448    {
       
   449    TBool x =iFlags & ELaunchFromCvAttachment;
       
   450    iFlags &= ~ELaunchFromCvAttachment;
       
   451    return(x);
       
   452    }
   425 // End of file
   453 // End of file