|
1 /* |
|
2 * Copyright (c) 2007 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: This file contains classes of Peninput server client side. |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #ifndef C_BCRPENINPUTSERVEROBSERVER_H |
|
20 #define C_BCRPENINPUTSERVEROBSERVER_H |
|
21 |
|
22 class MPenUiActivationHandler; |
|
23 class MPeninputServerEventHandler; |
|
24 class RPeninputServer; |
|
25 |
|
26 #include <ecom/ecom.h> |
|
27 |
|
28 /** |
|
29 * inherit from CHwrRecognizer, it's only for test protected api. |
|
30 */ |
|
31 class CBCTestDomHwrRecognizer : public CHwrRecognizer |
|
32 { |
|
33 public: |
|
34 static CBCTestDomHwrRecognizer* NewL( TInt aImpId ); |
|
35 |
|
36 /** |
|
37 * protected api |
|
38 */ |
|
39 TBool IsSupportUdm(); |
|
40 |
|
41 /** |
|
42 * protected api |
|
43 */ |
|
44 void LoadUdmL( TUdmType aType ); |
|
45 |
|
46 /** |
|
47 * protected api |
|
48 */ |
|
49 void UnLoadUdmL( TUdmType aType ); |
|
50 |
|
51 /** |
|
52 * protected api |
|
53 */ |
|
54 void GetModelIndexListL( TUdmType aType, |
|
55 RArray<TInt>& aList, |
|
56 const THwrUdmRange& aRange ); |
|
57 |
|
58 /** |
|
59 * protected api |
|
60 */ |
|
61 void GetSymbolModelL( TUdmType aType, |
|
62 TInt aIndex, |
|
63 TPtrC& aSymbolName, |
|
64 RArray<TPoint>& aModel, |
|
65 TInt& aHelpLine, TInt& aBaseLine ); |
|
66 |
|
67 }; |
|
68 |
|
69 /** |
|
70 * inherit from CPtiCore, it's only for release memory. |
|
71 */ |
|
72 |
|
73 class CBCTestDomPtiCore: public CPtiCore |
|
74 { |
|
75 public: |
|
76 void Descecom( TInt dtorId ) |
|
77 { |
|
78 REComSession::DestroyedImplementation(TUid::Uid(dtorId)); |
|
79 } |
|
80 ~CBCTestDomPtiCore() |
|
81 { |
|
82 |
|
83 } |
|
84 }; |
|
85 |
|
86 #endif |
|
87 |
|
88 |