1 /* |
|
2 * Copyright (c) 2003-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: Source file for class CCMApplication |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 |
|
20 // INCLUDE FILES |
|
21 #include "CCMApplication.h" |
|
22 #include "CCMDocument.h" |
|
23 #include "OnlineSupportLogger.h" |
|
24 |
|
25 // EXTERNAL DATA STRUCTURES |
|
26 // None |
|
27 |
|
28 // EXTERNAL FUNCTION PROTOTYPES |
|
29 // None |
|
30 |
|
31 // CONSTANTS |
|
32 // None |
|
33 |
|
34 // MACROS |
|
35 // None |
|
36 |
|
37 // LOCAL CONSTANTS AND MACROS |
|
38 // None |
|
39 |
|
40 // MODULE DATA STRUCTURES |
|
41 // None |
|
42 |
|
43 // LOCAL FUNCTION PROTOTYPES |
|
44 // None |
|
45 |
|
46 // FORWARD DECLARATIONS |
|
47 // None |
|
48 |
|
49 // EXTERNAL FUNCTION PROTOTYPES |
|
50 // None |
|
51 |
|
52 // LOCAL CONSTANTS AND MACROS |
|
53 // None |
|
54 |
|
55 // MODULE DATA STRUCTURES |
|
56 // None |
|
57 |
|
58 // LOCAL FUNCTION PROTOTYPES |
|
59 // None |
|
60 |
|
61 |
|
62 // ============================= LOCAL FUNCTIONS =============================== |
|
63 // None |
|
64 |
|
65 |
|
66 // ============================ MEMBER FUNCTIONS =============================== |
|
67 |
|
68 |
|
69 |
|
70 #include <eikstart.h> |
|
71 |
|
72 LOCAL_C CApaApplication* NewApplication() |
|
73 { |
|
74 return new CCMApplication; |
|
75 } |
|
76 |
|
77 GLDEF_C TInt E32Main() |
|
78 { |
|
79 return EikStart::RunApplication(NewApplication); |
|
80 } |
|
81 |
|
82 |
|
83 // ----------------------------------------------------------------------------- |
|
84 // CCMApplication::CreateDocumentL |
|
85 // Creates CCMDocument object |
|
86 // (other items were commented in a header). |
|
87 // ----------------------------------------------------------------------------- |
|
88 // |
|
89 CApaDocument* CCMApplication::CreateDocumentL() |
|
90 { |
|
91 CCMDocument* self = new CCMDocument( *this ); |
|
92 return self; |
|
93 } |
|
94 |
|
95 |
|
96 // ----------------------------------------------------------------------------- |
|
97 // CCMApplication::AppDllUid() |
|
98 // Returns application UID |
|
99 // (other items were commented in a header). |
|
100 // ----------------------------------------------------------------------------- |
|
101 TUid CCMApplication::AppDllUid() const |
|
102 { |
|
103 return KUidConfigurationManager; |
|
104 } |
|
105 |
|
106 // ========================== OTHER EXPORTED FUNCTIONS ========================= |
|
107 |
|
108 |
|
109 |
|
110 // End of File |
|
111 |
|