|
1 /* |
|
2 * Copyright (c) 2002-2004 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: Japanese user dictionary Application class. |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 |
|
20 |
|
21 |
|
22 |
|
23 // INCLUDE FILES |
|
24 #include "UdictApp.h" |
|
25 #include "UdictDocument.h" |
|
26 #include <ecom.h> |
|
27 #include <implementationproxy.h> |
|
28 |
|
29 // ============================ MEMBER FUNCTIONS =============================== |
|
30 |
|
31 // ----------------------------------------------------------------------------- |
|
32 // CUserDictApp::AppDllUid |
|
33 // Returns application UID |
|
34 // ----------------------------------------------------------------------------- |
|
35 // |
|
36 TUid CUserDictApp::AppDllUid() const |
|
37 { |
|
38 return KUidUserDict; |
|
39 } |
|
40 |
|
41 // ----------------------------------------------------------------------------- |
|
42 // CUserDictApp::CreateDocumentL |
|
43 // Creates CUserDictDocument object |
|
44 // ----------------------------------------------------------------------------- |
|
45 // |
|
46 CApaDocument* CUserDictApp::CreateDocumentL() |
|
47 { |
|
48 return CUserDictDocument::NewL(*this); |
|
49 } |
|
50 |
|
51 // ========================== OTHER EXPORTED FUNCTIONS ========================= |
|
52 |
|
53 // ----------------------------------------------------------------------------- |
|
54 // NewApplication |
|
55 // Constructs CUserDictApp |
|
56 // ----------------------------------------------------------------------------- |
|
57 // |
|
58 LOCAL_C CApaApplication* NewApplication() |
|
59 { |
|
60 return new CUserDictApp; |
|
61 } |
|
62 |
|
63 // ----------------------------------------------------------------------------- |
|
64 // E32Dll |
|
65 // Entry point function for SymbianOS ECom plugin |
|
66 // Returns: KErrNone: No error |
|
67 // ----------------------------------------------------------------------------- |
|
68 // |
|
69 #ifndef EKA2 |
|
70 GLDEF_C TInt E32Dll() |
|
71 { |
|
72 return KErrNone; |
|
73 } |
|
74 #endif |
|
75 |
|
76 LOCAL_D const TImplementationProxy ImplementationTable[]= |
|
77 { |
|
78 IMPLEMENTATION_PROXY_ENTRY(0x101F8645, NewApplication) |
|
79 }; |
|
80 |
|
81 EXPORT_C const TImplementationProxy* ImplementationGroupProxy(TInt& aTableCount) |
|
82 { |
|
83 aTableCount=sizeof(ImplementationTable)/sizeof(ImplementationTable[0]); |
|
84 return ImplementationTable; |
|
85 } |
|
86 |
|
87 |
|
88 // End of File |