equal
deleted
inserted
replaced
66 public MComposerFetchLogicCallback, |
66 public MComposerFetchLogicCallback, |
67 public MProgressDialogCallback, |
67 public MProgressDialogCallback, |
68 public MAknServerAppExitObserver |
68 public MAknServerAppExitObserver |
69 { |
69 { |
70 |
70 |
|
71 private: |
|
72 |
|
73 /** |
|
74 * Type of commit |
|
75 */ |
|
76 enum TCommitType |
|
77 { |
|
78 // This is transient commit, message may get further modifications |
|
79 ETransient, |
|
80 // This is final commit, no more incoming changes |
|
81 EFinal |
|
82 }; |
|
83 |
71 public: // constructors and destructor |
84 public: // constructors and destructor |
72 |
85 |
73 /** |
86 /** |
74 * NewL. |
87 * NewL. |
75 * Two-phased constructor. |
88 * Two-phased constructor. |
178 * Commits changes to message. This method sets the field contents from |
191 * Commits changes to message. This method sets the field contents from |
179 * the UI to the message object, but does not save the message unless |
192 * the UI to the message object, but does not save the message unless |
180 * explicitely requested. |
193 * explicitely requested. |
181 */ |
194 */ |
182 void CommitL( TBool aParseAddresses = ETrue, |
195 void CommitL( TBool aParseAddresses = ETrue, |
183 TFieldToCommit aFieldToCommit = EAllFields, TBool aSaveNow = EFalse ); |
196 TFieldToCommit aFieldToCommit = EAllFields, |
|
197 TBool aSaveNow = EFalse, |
|
198 TCommitType aType = ETransient ); |
184 |
199 |
185 /** |
200 /** |
186 * Saves the message content, if it has been changed since the last save. |
201 * Saves the message content, if it has been changed since the last save. |
187 */ |
202 */ |
188 TInt SaveMessage(); |
203 TInt SaveMessage(); |