equal
deleted
inserted
replaced
34 |
34 |
35 // default presentation resource file |
35 // default presentation resource file |
36 _LIT( KPbk2PresentationResFile, "Pbk2Presentation.rsc" ); |
36 _LIT( KPbk2PresentationResFile, "Pbk2Presentation.rsc" ); |
37 // Chinese presentation resource file |
37 // Chinese presentation resource file |
38 _LIT( KPbk2PresentationResFileChinese, "Pbk2PresentationChinese.rsc" ); |
38 _LIT( KPbk2PresentationResFileChinese, "Pbk2PresentationChinese.rsc" ); |
|
39 // UnSync Chinese presentation resource file |
|
40 _LIT( KPbk2PresentationResFileChineseUnSync, "Pbk2PresentationChineseUnSync.rsc" ); |
39 |
41 |
40 // ================= LOCAL FUNCTIONS ======================= |
42 // ================= LOCAL FUNCTIONS ======================= |
41 #ifdef _DEBUG |
43 #ifdef _DEBUG |
42 void Panic(TPanicCode aReason) |
44 void Panic(TPanicCode aReason) |
43 { |
45 { |
220 // |
222 // |
221 EXPORT_C const TDesC& Pbk2PresentationUtils::PresentationResourceFile() |
223 EXPORT_C const TDesC& Pbk2PresentationUtils::PresentationResourceFile() |
222 { |
224 { |
223 if (FeatureManager::FeatureSupported(KFeatureIdChinese)) |
225 if (FeatureManager::FeatureSupported(KFeatureIdChinese)) |
224 { |
226 { |
225 return KPbk2PresentationResFileChinese; |
227 if ( FeatureManager::FeatureSupported(KFeatureIdFfTdUnSyncabPbfieldsInd) ) |
|
228 { |
|
229 // The resource which can't be synchronized with a server. |
|
230 return KPbk2PresentationResFileChineseUnSync; |
|
231 } |
|
232 else |
|
233 { |
|
234 return KPbk2PresentationResFileChinese; |
|
235 } |
226 } |
236 } |
227 return KPbk2PresentationResFile; |
237 return KPbk2PresentationResFile; |
228 } |
238 } |
229 |
239 |
230 |
240 |