|
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 view for application.* |
|
15 */ |
|
16 |
|
17 |
|
18 // Version : %version: 3 % |
|
19 |
|
20 |
|
21 |
|
22 #ifndef MPSETTINGSVIDEOVIEW_H |
|
23 #define MPSETTINGSVIDEOVIEW_H |
|
24 |
|
25 // INCLUDES |
|
26 #include "MPSettingsBaseView.h" |
|
27 |
|
28 // FORWARD DECLARATIONS |
|
29 class CMPSettingsModelForROP; |
|
30 |
|
31 // CLASS DECLARATION |
|
32 |
|
33 /** |
|
34 * CMPSettingsVideoView view class. |
|
35 * |
|
36 * @lib MediaSettings.app |
|
37 * @since 2.0 |
|
38 */ |
|
39 class CMPSettingsVideoView : public CMPSettingsBaseView |
|
40 { |
|
41 public: // Constructors and destructor |
|
42 |
|
43 /** |
|
44 * Two-phased constructor. |
|
45 */ |
|
46 static CMPSettingsVideoView* NewLC(CMPSettingsModelForROP* aModel ); |
|
47 |
|
48 /** |
|
49 * Destructor. |
|
50 */ |
|
51 virtual ~CMPSettingsVideoView(); |
|
52 |
|
53 public: // Functions from base classes |
|
54 |
|
55 /** |
|
56 * From CAknView |
|
57 */ |
|
58 TUid Id() const; |
|
59 |
|
60 /** |
|
61 * From MEikMenuObserver |
|
62 */ |
|
63 void HandleCommandL(TInt aCommand); |
|
64 |
|
65 /** |
|
66 * From MEikMenuObserver |
|
67 */ |
|
68 void DynInitMenuPaneL( TInt aResourceId, CEikMenuPane* aMenuPane ); |
|
69 |
|
70 protected: // From CMPSettingsBaseView |
|
71 |
|
72 /** |
|
73 * Called at the end of DoActivateL. |
|
74 */ |
|
75 void DynInitContainerL(); |
|
76 |
|
77 /** |
|
78 * Creates new view specific container class. |
|
79 */ |
|
80 CMPSettingsBaseContainer* NewContainerL(); |
|
81 |
|
82 private: |
|
83 |
|
84 /** |
|
85 * C++ default constructor. |
|
86 */ |
|
87 CMPSettingsVideoView(CMPSettingsModelForROP* aModel); |
|
88 |
|
89 /** |
|
90 * Symbian 2nd phase constructor. |
|
91 */ |
|
92 void ConstructL(); |
|
93 |
|
94 private: //data |
|
95 |
|
96 CMPSettingsModelForROP* iModel; |
|
97 |
|
98 }; |
|
99 |
|
100 #endif // MPSETTINGSVIDEOVIEW_H |
|
101 |
|
102 // End of File |