48 |
48 |
49 _LIT(KHwrImeName, "Generic HWR"); |
49 _LIT(KHwrImeName, "Generic HWR"); |
50 _LIT(KVkbImeName, "Generic VKB"); |
50 _LIT(KVkbImeName, "Generic VKB"); |
51 _LIT(KFSQImeName, "Generic FSQ"); |
51 _LIT(KFSQImeName, "Generic FSQ"); |
52 _LIT(KSSQImeName, "Split View Qwerty"); |
52 _LIT(KSSQImeName, "Split View Qwerty"); |
53 |
53 _LIT(KFingerHwrImeName, "Generic Fingerhwr"); |
54 _LIT(KHwrResourceFormatPattern, "peninputhwrwindowconfiginfo_*.rsc"); |
54 _LIT(KHwrResourceFormatPattern, "peninputhwrwindowconfiginfo_*.rsc"); |
55 _LIT(KVkbResourceFormatPattern, "peninputvkbwindowconfiginfo_*.rsc"); |
55 _LIT(KVkbResourceFormatPattern, "peninputvkbwindowconfiginfo_*.rsc"); |
56 _LIT(KSsqResourceFormatPattern, "peninputssqwinconfiginfo_*.rsc"); |
56 _LIT(KSsqResourceFormatPattern, "peninputssqwinconfiginfo_*.rsc"); |
57 |
57 |
58 _LIT(KPluginResourcePath, "z:\\RESOURCE\\Plugins\\"); |
58 _LIT(KPluginResourcePath, "z:\\RESOURCE\\Plugins\\"); |
450 id.iUid = KHwrLayoutInterfaceId; |
464 id.iUid = KHwrLayoutInterfaceId; |
451 TBool hwr = EFalse; |
465 TBool hwr = EFalse; |
452 TBool vkb = EFalse; |
466 TBool vkb = EFalse; |
453 TBool fsq = EFalse; |
467 TBool fsq = EFalse; |
454 TBool ssq = EFalse; |
468 TBool ssq = EFalse; |
455 |
469 TBool fingerhwr = EFalse; |
456 CleanupStack::PushL( TCleanupItem( Cleanup, &infoArray ) ); |
470 CleanupStack::PushL( TCleanupItem( Cleanup, &infoArray ) ); |
457 REComSession::ListImplementationsL(id, infoArray); |
471 REComSession::ListImplementationsL(id, infoArray); |
458 |
472 |
459 for (TInt i = 0; i < infoArray.Count(); ++i) |
473 for (TInt i = 0; i < infoArray.Count(); ++i) |
460 { |
474 { |
478 if (infoArray[i]->ImplementationUid().iUid == KSsqUiId |
492 if (infoArray[i]->ImplementationUid().iUid == KSsqUiId |
479 && FeatureManager::FeatureSupported(KFeatureIdVirtualFullscrQwertyInput)) |
493 && FeatureManager::FeatureSupported(KFeatureIdVirtualFullscrQwertyInput)) |
480 { |
494 { |
481 ssq = ETrue; |
495 ssq = ETrue; |
482 } |
496 } |
|
497 if (infoArray[i]->ImplementationUid().iUid == KFingerHwrUiId ) |
|
498 { |
|
499 fingerhwr = ETrue; |
|
500 } |
483 } |
501 } |
484 |
502 |
485 TImePlguinImplDetail detail; |
503 TImePlguinImplDetail detail; |
486 |
504 |
487 detail.iImplementationId = KInputMethodImplementationId; |
505 detail.iImplementationId = KInputMethodImplementationId; |
733 delete iPluginUiManager; |
759 delete iPluginUiManager; |
734 iPluginUiManager = NULL; |
760 iPluginUiManager = NULL; |
735 |
761 |
736 switch ( aMode ) |
762 switch ( aMode ) |
737 { |
763 { |
|
764 case EPluginInputModeFingerHwr: |
738 case EPluginInputModeHwr: |
765 case EPluginInputModeHwr: |
739 { |
766 { |
740 return iPluginUiManager = CPluginFepManagerHwr::NewL(*this, iPenInputServer); |
767 return iPluginUiManager = CPluginFepManagerHwr::NewL(*this, iPenInputServer); |
741 } |
768 } |
742 case EPluginInputModeVkb: |
769 case EPluginInputModeVkb: |