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