47
|
1 |
/*
|
|
2 |
* Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies).
|
|
3 |
* All rights reserved.
|
|
4 |
* This component and the accompanying materials are made available
|
|
5 |
* under the terms of "Eclipse Public License v1.0"
|
|
6 |
* which accompanies this distribution, and is available
|
|
7 |
* at the URL "http://www.eclipse.org/legal/epl-v10.html".
|
|
8 |
*
|
|
9 |
* Initial Contributors:
|
|
10 |
* Nokia Corporation - initial contribution.
|
|
11 |
*
|
|
12 |
* Contributors:
|
|
13 |
*
|
74
|
14 |
* Description: Handles the populating of default settings for pop and imap mailboxes
|
47
|
15 |
*
|
|
16 |
*/
|
|
17 |
|
|
18 |
#ifndef NMAPIPOPIMAPSETTINGSMANAGER_H
|
|
19 |
#define NMAPIPOPIMAPSETTINGSMANAGER_H
|
|
20 |
|
|
21 |
|
|
22 |
namespace EmailClientApi {
|
74
|
23 |
class NmApiMailboxSettingsData;
|
47
|
24 |
class NmApiPopImapSettingsManager
|
|
25 |
{
|
74
|
26 |
public:
|
47
|
27 |
NmApiPopImapSettingsManager();
|
74
|
28 |
~NmApiPopImapSettingsManager();
|
47
|
29 |
bool populateDefaults(const QString &mailboxType, NmApiMailboxSettingsData &data);
|
|
30 |
|
|
31 |
private:
|
74
|
32 |
void populateImapDefaultsL(NmApiMailboxSettingsData &data);
|
|
33 |
void populatePopDefaultsL(NmApiMailboxSettingsData &data);
|
|
34 |
void populateSmtpDefaultsL(NmApiMailboxSettingsData &data);
|
|
35 |
void populateCenrepDefaults(NmApiMailboxSettingsData &data);
|
47
|
36 |
|
|
37 |
};
|
|
38 |
}//namespace
|
|
39 |
|
|
40 |
#endif // NMAPIPOPIMAPSETTINGSMANAGER_H
|