75 */ |
76 */ |
76 void StoreMessageL( |
77 void StoreMessageL( |
77 TFSMailMsgId aMailBoxId, |
78 TFSMailMsgId aMailBoxId, |
78 CFSMailMessage& aMessage ); |
79 CFSMailMessage& aMessage ); |
79 |
80 |
|
81 // <qmail> removing unused functions |
|
82 // CreateNewSmtpMessageL |
|
83 // CreateForwardSmtpMessageL |
|
84 // CreateReplySmtpMessageL |
|
85 // </qmail> |
|
86 |
|
87 // <qmail> moved for public access |
80 /** |
88 /** |
81 * Creates new email message to message store |
89 * Creates proper fs message object and set flags |
|
90 * to correspond orginal message flags |
82 * |
91 * |
83 * @param aMailBoxId msv entry id to mailbox which setting are used |
|
84 * @param aSession Msv Session |
|
85 * @since FS 1.0 |
92 * @since FS 1.0 |
86 * @return pointer created fs message object |
93 * @param aMessageId id of created message |
|
94 * @param aOrginalMsgId id of orginal message |
|
95 * @param aMailboxId mailbox id |
|
96 * @param aCopyOriginalMsgProperties Copy properties from original message |
|
97 * @return TMscId |
87 */ |
98 */ |
88 CFSMailMessage* CreateNewSmtpMessageL( |
99 CFSMailMessage* CreateFSMessageAndSetFlagsL( |
89 const TFSMailMsgId& aMailBoxId ); |
100 TMsvId aMessageId, |
|
101 TMsvId aOriginalMsgId, |
|
102 TMsvId aMailboxId, |
|
103 TBool aCopyOriginalMsgProperties = EFalse ); |
90 |
104 |
91 CFSMailMessage* CreateForwardSmtpMessageL( |
105 /** |
92 const TFSMailMsgId& aMailBoxId, |
106 * Changes messages service id |
93 const TFSMailMsgId& aOriginalMessageId ); |
107 * |
94 |
108 * @since FS 1.0 |
95 CFSMailMessage* CreateReplySmtpMessageL( |
109 * @param aEntry Original message entry |
96 const TFSMailMsgId& aMailBoxId, |
110 * @return None |
97 const TFSMailMsgId& aOriginalMessageId, |
111 */ |
98 TBool aReplyToAll ); |
112 void ChangeServiceIdL( TMsvEntry& aEntry ); |
|
113 |
|
114 /** |
|
115 * Changes messages service id to the given id |
|
116 * |
|
117 * @param aEntry message entry |
|
118 * @param aServiceId new service id |
|
119 * @return None |
|
120 */ |
|
121 void ChangeServiceIdL( TMsvEntry& aEntry, TMsvId aServiceId ); |
|
122 // </qmail> |
99 |
123 |
100 protected: |
124 protected: |
101 |
125 |
102 /** |
126 /** |
103 * Class constructor |
127 * Class constructor |
128 * @return result of combination |
152 * @return result of combination |
129 */ |
153 */ |
130 HBufC* CreateDisplayStringLC( const TDesC& aDisplayName, |
154 HBufC* CreateDisplayStringLC( const TDesC& aDisplayName, |
131 const TDesC& aEmailName ); |
155 const TDesC& aEmailName ); |
132 |
156 |
133 /** |
|
134 * Changes messages service id |
|
135 * |
|
136 * @since FS 1.0 |
|
137 * @param aEntry Original message entry |
|
138 * @return None |
|
139 */ |
|
140 void ChangeServiceIdL( TMsvEntry& aEntry ); |
|
141 |
|
142 /** |
|
143 * Changes messages service id to the given id |
|
144 * |
|
145 * @param aEntry message entry |
|
146 * @param aServiceId new service id |
|
147 * @return None |
|
148 */ |
|
149 void ChangeServiceIdL( TMsvEntry& aEntry, TMsvId aServiceId ); |
|
150 |
|
151 /** |
|
152 * Creates proper fs message object and set flags |
|
153 * to correspond orginal message flags |
|
154 * |
|
155 * @since FS 1.0 |
|
156 * @param aMessageId id of created message |
|
157 * @param aOrginalMsgId id of orginal message |
|
158 * @param aMailboxId mailbox id |
|
159 * @return TMscId |
|
160 */ |
|
161 CFSMailMessage* CreateFSMessageAndSetFlagsL( |
|
162 TMsvId aMessageId, TMsvId aOriginalMsgId, TMsvId aMailboxId ); |
|
163 |
|
164 /** |
157 /** |
165 * Gets MsvId from msv operations final progress |
158 * Gets MsvId from msv operations final progress |
166 * descriptor, leaves if msvId is null entry |
159 * descriptor, leaves if msvId is null entry |
167 * |
160 * |
168 * @since FS 1.0 |
161 * @since FS 1.0 |