|
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 the License "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: Declares container control for application.* |
|
15 */ |
|
16 |
|
17 |
|
18 // Version : %version: 2 % |
|
19 |
|
20 |
|
21 |
|
22 #ifndef MPSETTINGSPROXYCONTAINER_H |
|
23 #define MPSETTINGSPROXYCONTAINER_H |
|
24 |
|
25 // INCLUDES |
|
26 #include "MPSettingsBaseContainer.h" |
|
27 |
|
28 // FORWARD DECLARATIONS |
|
29 class CMPSettingsProxySettingItemList; |
|
30 class CMPSettingsModelForROP; |
|
31 |
|
32 |
|
33 // CLASS DECLARATION |
|
34 |
|
35 /** |
|
36 * CMPSettingsProxyContainer container control class. |
|
37 * |
|
38 * @lib MediaSettings.app |
|
39 * @since 2.0 |
|
40 */ |
|
41 class CMPSettingsProxyContainer : public CMPSettingsBaseContainer |
|
42 { |
|
43 public: // Constructors and destructor |
|
44 |
|
45 /** |
|
46 * C++ default constructor. |
|
47 */ |
|
48 CMPSettingsProxyContainer(CMPSettingsModelForROP* aModel); |
|
49 |
|
50 /** |
|
51 * Destructor. |
|
52 */ |
|
53 virtual ~CMPSettingsProxyContainer(); |
|
54 |
|
55 public: // New |
|
56 |
|
57 /** |
|
58 * Edits current setting item. |
|
59 * @since 2.0 |
|
60 */ |
|
61 void EditCurrentItemFromMenuL(TBool iMenuOption); |
|
62 |
|
63 public: // Functions from base classes |
|
64 |
|
65 /** |
|
66 * From CoeControl |
|
67 */ |
|
68 void GetHelpContext(TCoeHelpContext& aContext) const; |
|
69 void FocusChanged(TDrawNow /*aDrawNow*/); |
|
70 void SizeChanged(); |
|
71 void HandleResourceChange(TInt aType); |
|
72 |
|
73 protected: // Functions from base classes |
|
74 |
|
75 /** |
|
76 * From CMPSettingsBaseContainer |
|
77 */ |
|
78 void ConstructComponentControlsL(); |
|
79 |
|
80 private: // Functions from base classes |
|
81 |
|
82 /** |
|
83 * From CMPSettingsBaseContainer |
|
84 */ |
|
85 TInt TitleResourceId(); |
|
86 |
|
87 private: |
|
88 CMPSettingsProxySettingItemList* iSettingList; |
|
89 CMPSettingsModelForROP* iModel; |
|
90 }; |
|
91 |
|
92 #endif // MPSETTINGSPROXYCONTAINER_H |
|
93 |
|
94 // End of File |