67 /** |
68 /** |
68 * By default Symbian 2nd phase constructor is private. |
69 * By default Symbian 2nd phase constructor is private. |
69 */ |
70 */ |
70 void ConstructL( ); |
71 void ConstructL( ); |
71 |
72 |
72 private: |
|
73 /** |
|
74 * Get localization rows and updates database |
|
75 */ |
|
76 void UpdateLocalNamesL( ); |
|
77 |
|
78 /** |
73 /** |
79 * Gets localization rows from database as table of CCaLocalizationEntries |
74 * Gets localization rows from database as table of CCaLocalizationEntries |
80 * @param aLocals pointers to localization entries |
75 * @param aLocals pointers to localization entries |
81 */ |
76 */ |
82 void GetLocalizationRowsL( RPointerArray<CCaLocalizationEntry>& aLocals ); |
77 void GetLocalizationRowsL( RPointerArray<CCaLocalizationEntry>& aLocals ); |
83 |
78 |
|
79 /** |
|
80 * Gets localized names from translation files |
|
81 * @param aLocEntry localization entry |
|
82 * @return localized name |
|
83 */ |
|
84 HBufC* GetLocalizedNameLC( const CCaLocalizationEntry* aLocEntry ); |
|
85 |
|
86 /** |
|
87 * Gets entry text from the storage |
|
88 * @param aEntries array containing entries |
|
89 * @param aId entry id |
|
90 * @return entry text |
|
91 */ |
84 const TDesC& GetEntryText( |
92 const TDesC& GetEntryText( |
85 RPointerArray<CCaInnerEntry> aEntries, TInt aId ); |
93 const RPointerArray<CCaInnerEntry>& aEntries, TInt aId ); |
|
94 |
|
95 private: |
|
96 |
86 /* |
97 /* |
87 * Not own |
98 * Not own |
88 */ |
99 */ |
89 CCaStorageProxy* iStorageProxy; |
100 CCaStorageProxy* iStorageProxy; |
90 |
101 |
91 /* |
102 /* |
92 * Owned |
103 * Recent translation file name |
93 */ |
104 */ |
94 HbTextResolverSymbian* iResolver; |
105 RBuf iRecentQmFile; |
95 |
|
96 }; |
106 }; |
97 |
107 |
98 #endif // CALOCALSCANNERPROXY_H |
108 #endif // CALOCALSCANNERPROXY_H |