equal
deleted
inserted
replaced
|
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 * |
|
14 * Description: |
|
15 * |
|
16 */ |
|
17 |
|
18 #ifndef NMIPSPOP3SETTINGSMANAGER_H |
|
19 #define NMIPSPOP3SETTINGSMANAGER_H |
|
20 |
|
21 #include "nmipssettingsmanagerbase.h" |
|
22 #include "cemailaccounts.h" |
|
23 |
|
24 class QVariant; |
|
25 class CImPop3Settings; |
|
26 class CEmailAccounts; |
|
27 class TImapAccount; |
|
28 class NmId; |
|
29 |
|
30 class NmIpsPop3SettingsManager : public NmIpsSettingsManagerBase |
|
31 { |
|
32 public: |
|
33 |
|
34 NmIpsPop3SettingsManager(const NmId &mailboxId, CEmailAccounts *account, TPopAccount popAccount); |
|
35 |
|
36 virtual ~NmIpsPop3SettingsManager(); |
|
37 |
|
38 bool readSetting(IpsServices::SettingItem settingItem, QVariant &value); |
|
39 bool writeSetting(IpsServices::SettingItem settingItem, const QVariant &settingValue); |
|
40 |
|
41 int deleteMailbox(); |
|
42 |
|
43 private: |
|
44 |
|
45 bool saveSettings(); |
|
46 |
|
47 private: |
|
48 |
|
49 CImPop3Settings *mPop3Settings; // Owned. |
|
50 |
|
51 TPopAccount mPop3Account; |
|
52 }; |
|
53 |
|
54 #endif // NMIPSPOP3SETTINGSMANAGER_H |