equal
deleted
inserted
replaced
119 * @return max recipient count |
119 * @return max recipient count |
120 */ |
120 */ |
121 TInt MaxMmsRecipientsL(); |
121 TInt MaxMmsRecipientsL(); |
122 |
122 |
123 /** |
123 /** |
124 * Checks if a given address string is a valid email address |
|
125 * @param addr address string |
|
126 * @return ETrue if addr is valid email address |
|
127 */ |
|
128 TBool IsValidEmailAddress( QString addr ); |
|
129 |
|
130 /** |
|
131 * Calculates the size of the given message |
124 * Calculates the size of the given message |
132 * @param msg ConvergedMessage |
125 * @param msg ConvergedMessage |
133 * @return size of the converged message |
126 * @return size of the converged message |
134 */ |
127 */ |
135 TInt CalculateMsgSize(ConvergedMessage& msg); |
128 TInt CalculateMsgSize(ConvergedMessage& msg); |
185 * @param aCharacters A set of characters to remove |
178 * @param aCharacters A set of characters to remove |
186 * @param aReplacement A character used as replacement |
179 * @param aReplacement A character used as replacement |
187 */ |
180 */ |
188 void ReplaceCharacters(TDes &aDes, const TDesC &aChars, TChar aReplacement); |
181 void ReplaceCharacters(TDes &aDes, const TDesC &aChars, TChar aReplacement); |
189 |
182 |
|
183 /** |
|
184 * Checks if a given address string is a valid email address |
|
185 * @param addr address string |
|
186 * @return ETrue if addr is valid email address |
|
187 */ |
|
188 TBool IsValidEmailAddress( const TDesC& aAddress ); |
|
189 |
190 private: |
190 private: |
191 /** |
191 /** |
192 * get sms character limits from feature manager |
192 * get sms character limits from feature manager |
193 * @param singlePartLength length of one part |
193 * @param singlePartLength length of one part |
194 * @param concatenatedPartLength total length over all parts |
194 * @param concatenatedPartLength total length over all parts |
211 * using feature manager |
211 * using feature manager |
212 * @return sms character limit |
212 * @return sms character limit |
213 */ |
213 */ |
214 int absoluteMaxSmsCharactersL(); |
214 int absoluteMaxSmsCharactersL(); |
215 |
215 |
|
216 /** |
|
217 * validate the domain portion of an email address |
|
218 */ |
|
219 TBool IsValidDomain ( const TDesC& aDomain ); |
|
220 |
216 private: //data |
221 private: //data |
217 /** |
222 /** |
218 * Read only once for optimization purpose |
223 * Read only once for optimization purpose |
219 * Max number of parts allowed for sms msgs |
224 * Max number of parts allowed for sms msgs |
220 */ |
225 */ |