|
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: Declaration of core part of CAknJapaneseReading class. |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #ifndef __AKNJAPANESEREADING__H__ |
|
20 #define __AKNJAPANESEREADING__H__ |
|
21 |
|
22 // INCLUDES |
|
23 #include <e32base.h> |
|
24 #include <coemain.h> |
|
25 #include <badesca.h> |
|
26 |
|
27 // CONSTANTS |
|
28 const TUid KAknJapaneseReadingStaticId = { 0x101F861C }; |
|
29 |
|
30 // MACROS |
|
31 |
|
32 // DATA TYPES |
|
33 |
|
34 // FUNCTION PROTOTYPES |
|
35 |
|
36 // FORWARD DECLARATIONS |
|
37 class CPtiEngine; |
|
38 |
|
39 // CLASS DECLARATION |
|
40 |
|
41 /** |
|
42 * CAknJapaneseReading is a part of Japanese FEP. |
|
43 * If the application needs to get Reading Text, use to this class. |
|
44 * |
|
45 * @lib AknJapaneseReading.lib |
|
46 * @see CAknJapaneseReading, other application |
|
47 */ |
|
48 NONSHARABLE_CLASS(CAknJapaneseReading) : public CCoeStatic |
|
49 { |
|
50 public: // Constructors and destructor |
|
51 |
|
52 /** |
|
53 * Destructor. |
|
54 */ |
|
55 virtual ~CAknJapaneseReading(); |
|
56 |
|
57 public: // New functions |
|
58 |
|
59 /** |
|
60 * Create this class. |
|
61 */ |
|
62 IMPORT_C static void CreateL(CPtiEngine* aPtiEngine); |
|
63 |
|
64 /** |
|
65 * Return Reading Text when completed string. |
|
66 * |
|
67 * @return reading string, (NULL if it cannot get Reading text from Engine) |
|
68 */ |
|
69 IMPORT_C static TPtrC ReadingTextL(); |
|
70 |
|
71 public: // Functions from CCoeStatic |
|
72 |
|
73 private: // Constructors and destructor |
|
74 |
|
75 /** |
|
76 * private c++ constructor. |
|
77 */ |
|
78 CAknJapaneseReading(); |
|
79 |
|
80 private: // New functions |
|
81 |
|
82 /** |
|
83 * Return this object. |
|
84 * |
|
85 * @return constructed CAknJapaneseReading object. |
|
86 */ |
|
87 inline static CAknJapaneseReading* Static(); |
|
88 |
|
89 private: |
|
90 CPtiEngine* iPtiEngine; // not own |
|
91 }; |
|
92 |
|
93 #include "AknJapaneseReading.inl" |
|
94 |
|
95 #endif // __AKNJAPANESEREADING__H__ |
|
96 // End of file |