|
1 /* |
|
2 * Copyright (c) 2007 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: Definition of the class CPbkxRclSettingsEngine. |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #ifndef CPBKXRCLSETTINGSENGINE_H |
|
20 #define CPBKXRCLSETTINGSENGINE_H |
|
21 |
|
22 #include "mpbkxremotecontactlookupsettingsui.h" |
|
23 |
|
24 /** |
|
25 * Provides functionality to store and retrieve settings. |
|
26 * |
|
27 * @lib pbkxrclengine.lib |
|
28 * @since S60 3.1 |
|
29 */ |
|
30 class CPbkxRclSettingsEngine : public CBase, public MPbkxRemoteContactLookupSettingsUi |
|
31 { |
|
32 |
|
33 public: // Constructors and destructor |
|
34 |
|
35 /** |
|
36 * Two-phased constructor. |
|
37 * |
|
38 * @return instance |
|
39 */ |
|
40 IMPORT_C static CPbkxRclSettingsEngine* NewL(); |
|
41 |
|
42 /** |
|
43 * Two-phased constructor. |
|
44 * |
|
45 * Leaves a pointer to the created object on the cleanupstack. |
|
46 * |
|
47 * @return instance |
|
48 */ |
|
49 IMPORT_C static CPbkxRclSettingsEngine* NewLC(); |
|
50 |
|
51 /** |
|
52 * Destructor. |
|
53 */ |
|
54 virtual ~CPbkxRclSettingsEngine(); |
|
55 |
|
56 private: // from MPbkxRemoteContactLookupSettingsUi |
|
57 |
|
58 /** |
|
59 * Creates new protocol account selector setting item. |
|
60 * |
|
61 * @return Created setting item. |
|
62 */ |
|
63 CAknSettingItem* NewDefaultProtocolAccountSelectorSettingItemL() const; |
|
64 |
|
65 private: // constructors |
|
66 |
|
67 /** |
|
68 * Constructor. |
|
69 */ |
|
70 CPbkxRclSettingsEngine(); |
|
71 |
|
72 /** |
|
73 * Second-phase constructor. |
|
74 */ |
|
75 void ConstructL(); |
|
76 |
|
77 }; |
|
78 |
|
79 #endif // CPBKXRCLSETTINGSENGINE_H |