1 // Copyright (c) 1998-2009 Nokia Corporation and/or its subsidiary(-ies). |
1 // Copyright (c) 1998-2009 Nokia Corporation and/or its subsidiary(-ies). |
2 // All rights reserved. |
2 // All rights reserved. |
3 // This component and the accompanying materials are made available |
3 // This component and the accompanying materials are made available |
4 // under the terms of the License "Symbian Foundation License v1.0" to Symbian Foundation members and "Symbian Foundation End User License Agreement v1.0" to non-members |
4 // under the terms of "Eclipse Public License v1.0" |
5 // which accompanies this distribution, and is available |
5 // which accompanies this distribution, and is available |
6 // at the URL "http://www.symbianfoundation.org/legal/licencesv10.html". |
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html". |
7 // |
7 // |
8 // Initial Contributors: |
8 // Initial Contributors: |
9 // Nokia Corporation - initial contribution. |
9 // Nokia Corporation - initial contribution. |
10 // |
10 // |
11 // Contributors: |
11 // Contributors: |
240 IMPORT_C void SetInboxSynchronisationLimit(const TInt32 aInboxSyncLimit); |
240 IMPORT_C void SetInboxSynchronisationLimit(const TInt32 aInboxSyncLimit); |
241 IMPORT_C TInt32 PopulationLimit() const; |
241 IMPORT_C TInt32 PopulationLimit() const; |
242 IMPORT_C void SetPopulationLimitL(const TInt32 aPopulationLimit); |
242 IMPORT_C void SetPopulationLimitL(const TInt32 aPopulationLimit); |
243 IMPORT_C void SetTlsSslDomainL(const TDesC8& aDomainName); |
243 IMPORT_C void SetTlsSslDomainL(const TDesC8& aDomainName); |
244 IMPORT_C TPtrC8 TlsSslDomain() const; |
244 IMPORT_C TPtrC8 TlsSslDomain() const; |
|
245 #if (defined SYMBIAN_EMAIL_CAPABILITY_SUPPORT) |
|
246 IMPORT_C void SetPOP3Auth(TBool aFlag); |
|
247 IMPORT_C TBool POP3Auth() const; |
|
248 IMPORT_C void SetFallBack(TBool aFlag); |
|
249 IMPORT_C TBool FallBack() const; |
|
250 #endif |
245 |
251 |
246 private: |
252 private: |
247 class TImPop3SettingsExtension |
253 class TImPop3SettingsExtension |
248 { |
254 { |
249 public: |
255 public: |
264 KPop3ApopFlag = KPop3BaseEmailSettingsLastUsedFlag << 1, //0x00000004 |
270 KPop3ApopFlag = KPop3BaseEmailSettingsLastUsedFlag << 1, //0x00000004 |
265 KPop3AutoSendFlag = KPop3ApopFlag << 1, //0x00000008 |
271 KPop3AutoSendFlag = KPop3ApopFlag << 1, //0x00000008 |
266 KPop3DisconnectedModeFlag = KPop3AutoSendFlag << 1, //0x00000010 |
272 KPop3DisconnectedModeFlag = KPop3AutoSendFlag << 1, //0x00000010 |
267 KPop3DeleteEmailsWhenDisconnectingFlag = KPop3DisconnectedModeFlag << 1, //0x00000020 |
273 KPop3DeleteEmailsWhenDisconnectingFlag = KPop3DisconnectedModeFlag << 1, //0x00000020 |
268 KPop3AcknowledgeReceipts = KPop3DeleteEmailsWhenDisconnectingFlag << 1, //0x00000040 |
274 KPop3AcknowledgeReceipts = KPop3DeleteEmailsWhenDisconnectingFlag << 1, //0x00000040 |
|
275 #if (defined SYMBIAN_EMAIL_CAPABILITY_SUPPORT) |
|
276 KPop3AuthFlag = KPop3AcknowledgeReceipts << 1, //0x00000080 |
|
277 KPop3FallbackFlag = KPop3AuthFlag << 1, //0x00000100 |
|
278 KPop3EmailSettingsLastUsedFlag = KPop3FallbackFlag //0x00000100 |
|
279 #else |
269 KPop3EmailSettingsLastUsedFlag = KPop3AcknowledgeReceipts //0x00000040 |
280 KPop3EmailSettingsLastUsedFlag = KPop3AcknowledgeReceipts //0x00000040 |
|
281 #endif |
270 }; |
282 }; |
271 |
283 |
272 TImPop3SettingsExtension* iExtension; // renamed iReceiptAddress |
284 TImPop3SettingsExtension* iExtension; // renamed iReceiptAddress |
273 TInt32 iInboxSyncLimit; |
285 TInt32 iInboxSyncLimit; |
274 TInt32 iMaxEmailSize; |
286 TInt32 iMaxEmailSize; |