|
1 /* |
|
2 * Copyright (c) 2006 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: Settings list for Mail editor. |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #ifndef __MSGMAILEDITORSETTINGSLIST_H__ |
|
20 #define __MSGMAILEDITORSETTINGSLIST_H__ |
|
21 |
|
22 // INCLUDES |
|
23 #include <aknsettingitemlist.h> |
|
24 #include <msvapi.h> |
|
25 |
|
26 // FORWARD DECLARATIONS |
|
27 class CMsgMailEditorDocument; |
|
28 // CLASS DECLARATION |
|
29 |
|
30 /** |
|
31 * Mail editor Settings list. |
|
32 */ |
|
33 class CMailEditorSettingList |
|
34 : public CAknSettingItemList |
|
35 { |
|
36 public: // Constructors and destructors |
|
37 |
|
38 /** |
|
39 * Creates a new instance of this class. |
|
40 * @param aDocument Mail editor document |
|
41 * @param aResourceId Array id |
|
42 */ |
|
43 static CMailEditorSettingList* NewL( |
|
44 CMsgMailEditorDocument& aDocument, |
|
45 TInt aResourceId ); |
|
46 |
|
47 /** |
|
48 * Destructor. |
|
49 */ |
|
50 ~CMailEditorSettingList(); |
|
51 |
|
52 public: // From CAknSettingItemList |
|
53 |
|
54 CAknSettingItem* CreateSettingItemL( TInt aSettingId ); |
|
55 void SizeChanged(); |
|
56 |
|
57 private: // Constructors and destructors |
|
58 |
|
59 CMailEditorSettingList( CMsgMailEditorDocument& aDocument ); |
|
60 void ConstructL( TInt aResourceId ); |
|
61 |
|
62 private: // data |
|
63 // Ref to mail document |
|
64 CMsgMailEditorDocument& iDocument; |
|
65 |
|
66 }; |
|
67 |
|
68 #endif // __MSGMAILEDITORSETTINGSLIST_H__ |
|
69 |
|
70 // End of File |