|
1 /* |
|
2 * Copyright (c) 2005-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: Freestyle Email header file |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #ifndef GLOBALSETTINGSSETTINGITEMLISTSETTINGS_H |
|
20 #define GLOBALSETTINGSSETTINGITEMLISTSETTINGS_H |
|
21 |
|
22 // SYSTEM INCLUDES |
|
23 #include <e32std.h> |
|
24 |
|
25 // CLASS DECLARATION |
|
26 // <cmail> CBase inheritance |
|
27 class CFsEmailUiGlobalSettingsData : public CBase |
|
28 // </cmail> |
|
29 { |
|
30 public: |
|
31 // construct and destroy |
|
32 static CFsEmailUiGlobalSettingsData* NewL(); |
|
33 |
|
34 |
|
35 private: |
|
36 void ConstructL(); |
|
37 // constructor |
|
38 CFsEmailUiGlobalSettingsData(); |
|
39 |
|
40 public: |
|
41 TBool& WarnBeforeDelete(); |
|
42 void SetWarnBeforeDelete( const TBool& aValue ); |
|
43 TBool& MessageHeader(); |
|
44 void SetMessageHeader( const TBool& aValue ); |
|
45 TBool& MessageListLayout(); |
|
46 void SetMessageListLayout( const TBool& aValue ); |
|
47 TBool& BodyPreview(); |
|
48 void SetBodyPreview( const TBool& aValue ); |
|
49 TBool& TitleDividers(); |
|
50 void SetTitleDividers( const TBool& aValue ); |
|
51 TBool& DownloadNotifications(); |
|
52 void SetDownloadNotifications( const TBool& aValue ); |
|
53 TInt& ActiveIdle(); |
|
54 void SetActiveIdle( const TInt& aValue ); |
|
55 TBool& DownloadHTMLImages(); |
|
56 void SetDownloadHTMLImages( const TBool& aValue ); |
|
57 |
|
58 private: |
|
59 TBool iWarnBeforeDelete; |
|
60 TBool iMessageHeader; |
|
61 TBool iMessageListLayout; |
|
62 TBool iBodyPreview; |
|
63 TBool iTitleDividers; |
|
64 TBool iDownloadNotifications; |
|
65 TBool iDownloadHTMLImages; |
|
66 TInt iActiveIdle; |
|
67 |
|
68 }; |
|
69 #endif // GLOBALSETTINGSSETTINGITEMLISTSETTINGS_H |