diff -r 07e82e2b738b -r 51372538e3d3 notepad/notepad1/inc/NpdDialogBase.h --- a/notepad/notepad1/inc/NpdDialogBase.h Sun Jun 20 22:50:42 2010 +0200 +++ b/notepad/notepad1/inc/NpdDialogBase.h Sun Jun 20 22:55:39 2010 +0200 @@ -186,6 +186,20 @@ * @return ETrue if this is a modeless dialog, otherwize EFalse. */ inline TBool IsModeless(); + + /** + * Check whether this dialog is for Notepad application ListDialog. + * + * @return ETrue if this is for for Notepad application ListDialog, otherwize EFalse. + */ + inline TBool IsNoteListDialog() const; + + /** + * Check whether this dialog is for Template List. + * + * @return ETrue if this is for for Template List, otherwize EFalse. + */ + inline TBool IsTemplateListDialog() const; /** * Set iTitle text to title pane. @@ -386,7 +400,14 @@ void DialogDismissedL( TInt aButtonId ); void RunL(); void DoCancel(); - private: // data + + private: + /** + * release memory allocated in the phase of appending Notes to Messaging. + */ + void ReleaseMemory(); + + private: // data CSendUi& iSendAppUi; TInt iCommandId; CNotepadModel& iModel;