|
1 /* |
|
2 * Copyright (c) 2007-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: subscribers interface |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #ifndef M_PENINPUTHWRFSCNPROPERTYSUBSCRIBER_H |
|
20 #define M_PENINPUTHWRFSCNPROPERTYSUBSCRIBER_H |
|
21 |
|
22 /** |
|
23 * Class MPeninputHwrfscnPropertySubscriber |
|
24 * Interface for get property |
|
25 * |
|
26 * @lib peninputhwrfscn.lib |
|
27 * @since S60 v5.0 |
|
28 */ |
|
29 class MPeninputHwrfscnPropertySubscriber |
|
30 { |
|
31 |
|
32 public: |
|
33 |
|
34 /** |
|
35 * TPeninputHwrfscnProperty defines the property names of datasotre |
|
36 */ |
|
37 enum TPeninputHwrfscnProperty |
|
38 { |
|
39 EPeninputHwrfscnPropertyCase, |
|
40 EPeninputHwrfscnPropertyRange, |
|
41 EPeninputHwrfscnPropertyPermittedRange, |
|
42 EPeninputHwrfscnPropertyLanguageChanged, |
|
43 EPeninputHwrfscnPropertyWriteSpeed, |
|
44 EPeninputHwrfscnPropertyPenSize, |
|
45 EPeninputHwrfscnPropertyPenColor, |
|
46 EPeninputHwrfscnPropertyCandidates, |
|
47 EPeninputHwrfscnPropertyHomephonicCandidates, |
|
48 EPeninputHwrfscnPropertyPredictives, |
|
49 EPeninputHwrfscnPropertyStrokeEndMark, |
|
50 EPeninputHwrfscnPropertyPermittedCases, |
|
51 EPeninputHwrfscnPropertyAddPredictives, |
|
52 EPeninputHwrfscnPropertyNumberMode |
|
53 }; |
|
54 /** |
|
55 * Check if the property could be changed before changing it. |
|
56 * |
|
57 * @since S60 v5.0 |
|
58 * @param aProperty One of @see TPeninputHwrfscnProperty changed |
|
59 * @return TBool ETrue if the property needed to be changed, EFalse otherwise |
|
60 */ |
|
61 virtual TBool BeforePropertyChangedL(TPeninputHwrfscnProperty aProperty) = 0; |
|
62 |
|
63 /** |
|
64 * Notify the property subscriber the property changed. |
|
65 * |
|
66 * @since S60 v5.0 |
|
67 * @param aProperty One of @see TPeninputHwrfscnProperty changed |
|
68 */ |
|
69 virtual void PropertyChangedL(TPeninputHwrfscnProperty aProperty) = 0; |
|
70 |
|
71 }; |
|
72 |
|
73 #endif //M_PeninputHwrfscnPROPERTYSUBSCRIBER_H |
|
74 |
|
75 // End Of File |