|
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: Application class required by AVKON application framework.* |
|
15 */ |
|
16 |
|
17 |
|
18 // Version : %version: 2 % |
|
19 |
|
20 |
|
21 |
|
22 // INCLUDE FILES |
|
23 #include "MPSettingsApp.h" |
|
24 #include "MPSettingsDocument.h" |
|
25 #include "mpxlog.h" |
|
26 |
|
27 // ================= MEMBER FUNCTIONS ======================= |
|
28 |
|
29 // --------------------------------------------------------- |
|
30 // CMPSettingsApp::AppDllUid |
|
31 // Returns application UID |
|
32 // --------------------------------------------------------- |
|
33 // |
|
34 TUid CMPSettingsApp::AppDllUid() const |
|
35 { |
|
36 MPX_DEBUG1(_L("#MS# CMPSettingsApp::AppDllUid()")); |
|
37 return KUidMediaSettings; |
|
38 } |
|
39 |
|
40 |
|
41 // --------------------------------------------------------- |
|
42 // CMPSettingsApp::CreateDocumentL |
|
43 // Creates CMPSettingsDocument object |
|
44 // --------------------------------------------------------- |
|
45 // |
|
46 CApaDocument* CMPSettingsApp::CreateDocumentL() |
|
47 { |
|
48 MPX_DEBUG1(_L("#MS# CMPSettingsApp::CreateDocumentL()")); |
|
49 return CMPSettingsDocument::NewL(*this); |
|
50 } |
|
51 |
|
52 // ================= OTHER EXPORTED FUNCTIONS ============== |
|
53 |
|
54 #include <eikstart.h> |
|
55 |
|
56 LOCAL_C CApaApplication* NewApplication() |
|
57 { |
|
58 return new CMPSettingsApp; |
|
59 } |
|
60 |
|
61 GLDEF_C TInt E32Main() |
|
62 { |
|
63 return EikStart::RunApplication(NewApplication); |
|
64 } |
|
65 |
|
66 // End of File |
|
67 |