|
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: Document class required by AVKON application framework.* |
|
15 */ |
|
16 |
|
17 |
|
18 // Version : %version: 3 % |
|
19 |
|
20 |
|
21 |
|
22 #ifndef MPSETTINGSDOCUMENT_H |
|
23 #define MPSETTINGSDOCUMENT_H |
|
24 |
|
25 // INCLUDES |
|
26 #include <AknDoc.h> |
|
27 |
|
28 // CONSTANTS |
|
29 |
|
30 // FORWARD DECLARATIONS |
|
31 class CEikAppUi; |
|
32 class CMPSettingsModel; |
|
33 class CMPMediaPlayerSettings; |
|
34 |
|
35 // CLASS DECLARATION |
|
36 |
|
37 /** |
|
38 * CMPSettingsDocument application class. |
|
39 * |
|
40 * @lib MediaSettings.app |
|
41 * @since 2.0 |
|
42 */ |
|
43 class CMPSettingsDocument : public CAknDocument |
|
44 { |
|
45 public: // Constructors and destructor |
|
46 /** |
|
47 * Two-phased constructor. |
|
48 */ |
|
49 static CMPSettingsDocument* NewL(CEikApplication& aApp); |
|
50 |
|
51 /** |
|
52 * Destructor. |
|
53 */ |
|
54 virtual ~CMPSettingsDocument(); |
|
55 |
|
56 public: // New functions |
|
57 |
|
58 /** |
|
59 * Returns a MMF controller specific settings model. |
|
60 * @since 2.0 |
|
61 * @return MMF controller specific settings model. |
|
62 */ |
|
63 CMPSettingsModel* SettingsModel(); |
|
64 |
|
65 |
|
66 private: |
|
67 |
|
68 /** |
|
69 * C++ default constructor. |
|
70 */ |
|
71 CMPSettingsDocument(CEikApplication& aApp); |
|
72 |
|
73 /** |
|
74 * Symbian 2nd phase constructor. |
|
75 */ |
|
76 void ConstructL(); |
|
77 |
|
78 private: |
|
79 |
|
80 /** |
|
81 * From CEikDocument, create CMPSettingsAppUi "App UI" object. |
|
82 */ |
|
83 CEikAppUi* CreateAppUiL(); |
|
84 |
|
85 private: // Data |
|
86 CMPSettingsModel* iRopSettingsModel; |
|
87 |
|
88 }; |
|
89 |
|
90 #endif |
|
91 |
|
92 // End of File |
|
93 |