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 |
|
76
|
22 |
namespace EmailClientApi
|
|
23 |
{
|
74
|
24 |
class NmApiMailboxSettingsData;
|
47
|
25 |
class NmApiPopImapSettingsManager
|
|
26 |
{
|
74
|
27 |
public:
|
47
|
28 |
NmApiPopImapSettingsManager();
|
76
|
29 |
virtual ~NmApiPopImapSettingsManager();
|
47
|
30 |
bool populateDefaults(const QString &mailboxType, NmApiMailboxSettingsData &data);
|
|
31 |
|
|
32 |
private:
|
74
|
33 |
void populateImapDefaultsL(NmApiMailboxSettingsData &data);
|
|
34 |
void populatePopDefaultsL(NmApiMailboxSettingsData &data);
|
|
35 |
void populateSmtpDefaultsL(NmApiMailboxSettingsData &data);
|
|
36 |
void populateCenrepDefaults(NmApiMailboxSettingsData &data);
|
47
|
37 |
|
|
38 |
};
|
|
39 |
}//namespace
|
|
40 |
|
|
41 |
#endif // NMAPIPOPIMAPSETTINGSMANAGER_H
|