equal
deleted
inserted
replaced
|
1 /* |
|
2 * Copyright (c) 2002-2005 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: Trigger string |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #ifndef C_PENINPUTHWRTRIGGERSTR_H |
|
20 #define C_PENINPUTHWRTRIGGERSTR_H |
|
21 |
|
22 // INCLUDES |
|
23 #include <e32base.h> |
|
24 |
|
25 const TInt KMaxTriggerStrLen = 128; |
|
26 |
|
27 /** |
|
28 * Trigger string |
|
29 * |
|
30 * @lib peninputhwrfscn.lib |
|
31 * @since S60 v3.2 |
|
32 */ |
|
33 class CAknFepHwrTriggerStr : public CBase |
|
34 { |
|
35 public: |
|
36 |
|
37 /** |
|
38 * destructor |
|
39 * |
|
40 * @since S60 v3.2 |
|
41 * @return None |
|
42 */ |
|
43 virtual ~CAknFepHwrTriggerStr(); |
|
44 |
|
45 /** |
|
46 * Append the char code to trigger string |
|
47 * |
|
48 * @since S60 v3.2 |
|
49 * @param aChar The char code. |
|
50 * @return None |
|
51 */ |
|
52 void Append(const TDesC& aChar); |
|
53 |
|
54 /** |
|
55 * Set the char code to trigger string |
|
56 * |
|
57 * @since S60 v3.2 |
|
58 * @param aChar The char code. |
|
59 * @return None |
|
60 */ |
|
61 void Set( const TDesC& aChar ); |
|
62 |
|
63 /** |
|
64 * Using the last char code as trigger string |
|
65 * |
|
66 * @since S60 v3.2 |
|
67 * @return None |
|
68 */ |
|
69 void SetLast(); |
|
70 |
|
71 /** |
|
72 * Get trigger string |
|
73 * |
|
74 * @since S60 v3.2 |
|
75 * @param aString Carry trigger string on return |
|
76 * @return None |
|
77 */ |
|
78 TDesC& GetString(); |
|
79 |
|
80 private://data |
|
81 |
|
82 /** |
|
83 * trigger string |
|
84 */ |
|
85 TBuf<KMaxTriggerStrLen> iString; |
|
86 |
|
87 }; |
|
88 |
|
89 #endif // C_PENINPUTHWRTRIGGERSTR_H |
|
90 |
|
91 // End Of File |