|
1 /* |
|
2 * Copyright (c) 2002 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 * Offers utility functions. |
|
16 * |
|
17 */ |
|
18 |
|
19 |
|
20 |
|
21 #ifndef MCESETTINGSUTILS_H |
|
22 #define MCESETTINGSUTILS_H |
|
23 |
|
24 // INCLUDES |
|
25 |
|
26 #include <msvstd.h> // TMsvId |
|
27 #include <msvstd.hrh> // KMsvNullIndexEntryIdValue |
|
28 #include <msvreg.h> // THumanReadableName |
|
29 #include <ImumInHealthServices.h> |
|
30 |
|
31 // CLASS DECLARATION |
|
32 |
|
33 /** |
|
34 * Helper class |
|
35 * Includes static functions. |
|
36 */ |
|
37 class MceSettingsUtils |
|
38 { |
|
39 public: |
|
40 |
|
41 /** |
|
42 * Returns ETrue if 'Memory in use' option is enabled in mce/settings |
|
43 */ |
|
44 static TBool MemoryInUseOptionL( ); |
|
45 |
|
46 /** |
|
47 * Returns ETrue if new mail indicator setting supported |
|
48 */ |
|
49 static TBool NewMailIndicatorL( ); |
|
50 |
|
51 /** |
|
52 * Checks if csp is supported |
|
53 */ |
|
54 static TBool CspBitsL( ); |
|
55 |
|
56 /** |
|
57 * Gets the list of valid mailboxes |
|
58 */ |
|
59 static TInt GetHealthyMailboxListL( |
|
60 const MImumInHealthServices& aHealthServices, |
|
61 MImumInHealthServices::RMailboxIdArray& aMailboxIdArray, |
|
62 TBool aGetImap4, |
|
63 TBool aGetPop3, |
|
64 TBool aGetSyncML, |
|
65 TBool aGetOther ); |
|
66 }; |
|
67 |
|
68 |
|
69 #endif |
|
70 |
|
71 // End of file |