calendarui/commonutils/src/calenattachmentmodel.cpp
branchRCL_3
changeset 21 9711e452b5e9
parent 12 38571fd2a704
child 60 96907930389d
equal deleted inserted replaced
20:21239b3bcd78 21:9711e452b5e9
    93 //
    93 //
    94 CCalenAttachmentModel::CCalenAttachmentModel()
    94 CCalenAttachmentModel::CCalenAttachmentModel()
    95     {
    95     {
    96     TRACE_ENTRY_POINT;
    96     TRACE_ENTRY_POINT;
    97     isAttachmentModelCleared = ETrue;
    97     isAttachmentModelCleared = ETrue;
       
    98     iEmbeddedFileOpened = EFalse;
    98     TRACE_EXIT_POINT;
    99     TRACE_EXIT_POINT;
    99     }
   100     }
   100 
   101 
   101 // ----------------------------------------------------------------------------
   102 // ----------------------------------------------------------------------------
   102 // CCalenAttachmentModel::ConstructL
   103 // CCalenAttachmentModel::ConstructL
   610 					}
   611 					}
   611 				}
   612 				}
   612 			}
   613 			}
   613 		}
   614 		}
   614 
   615 
   615 	TRACE_EXIT_POINT;
   616 	TRACE_EXIT_POINT;	
   616 	
       
   617 	}
   617 	}
   618 
   618 
       
   619 // ----------------------------------------------------------------------------
       
   620 // CCalenAttachmentModel::AttachmentOpen
       
   621 // Set the flag if the attachment(Photo, audio and vedio files) is open.
       
   622 // ----------------------------------------------------------------------------
       
   623 //
       
   624 EXPORT_C void CCalenAttachmentModel::AttachmentOpen(TBool& aEmbeddedFileOpened)
       
   625     {
       
   626     TRACE_ENTRY_POINT
       
   627     iEmbeddedFileOpened = aEmbeddedFileOpened;
       
   628     TRACE_EXIT_POINT
       
   629     }
       
   630 // ----------------------------------------------------------------------------
       
   631 // CCalenAttachmentModel::IsAttachmentOpen
       
   632 // return True if the atacchment is opened.
       
   633 // ----------------------------------------------------------------------------
       
   634 //
       
   635 EXPORT_C TBool CCalenAttachmentModel::IsAttachmentOpen()
       
   636     {
       
   637     TRACE_ENTRY_POINT
       
   638     TRACE_EXIT_POINT
       
   639     return iEmbeddedFileOpened;    
       
   640     }
   619 // End of file	--Don't remove this.
   641 // End of file	--Don't remove this.