|
1 /* |
|
2 * Copyright (c) 2005-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: Starts VCommand modules at start up. |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 // INCLUDE FILES |
|
20 #include <e32std.h> |
|
21 #include <NssVasCContactHandler.h> |
|
22 #include <eikstart.h> |
|
23 #include "nssvoiceuipluginhandler.h" |
|
24 #include "vcmanagerapp.h" |
|
25 #include "vcmanagerdocument.h" |
|
26 |
|
27 |
|
28 // ================= MEMBER FUNCTIONS ======================= |
|
29 |
|
30 // --------------------------------------------------------- |
|
31 // CVCommandManagerApp::AppDllUid |
|
32 // Returns application UID |
|
33 // --------------------------------------------------------- |
|
34 // |
|
35 TUid CVCommandManagerApp::AppDllUid() const |
|
36 { |
|
37 return KUidVcManager; |
|
38 } |
|
39 |
|
40 |
|
41 // --------------------------------------------------------- |
|
42 // CVCommandManagerApp::CreateDocumentL |
|
43 // Creates document object |
|
44 // --------------------------------------------------------- |
|
45 // |
|
46 CApaDocument* CVCommandManagerApp::CreateDocumentL() |
|
47 { |
|
48 return CVCommandManagerDocument::NewL( *this ); |
|
49 } |
|
50 |
|
51 |
|
52 // ================= OTHER EXPORTED FUNCTIONS ============== |
|
53 |
|
54 // --------------------------------------------------------- |
|
55 // NewApplication |
|
56 // Creates CVCommandManagerApp object |
|
57 // --------------------------------------------------------- |
|
58 // |
|
59 LOCAL_C CApaApplication* NewApplication() |
|
60 { |
|
61 return new CVCommandManagerApp; |
|
62 } |
|
63 |
|
64 // --------------------------------------------------------- |
|
65 // E32Main |
|
66 // Main |
|
67 // --------------------------------------------------------- |
|
68 // |
|
69 GLDEF_C TInt E32Main() |
|
70 { |
|
71 return EikStart::RunApplication( NewApplication ); |
|
72 } |
|
73 |
|
74 // End of File |