equal
deleted
inserted
replaced
71 delete iAknFepLocaleRepositoryWatcher; |
71 delete iAknFepLocaleRepositoryWatcher; |
72 delete iAknFepRepository; |
72 delete iAknFepRepository; |
73 delete iGsPenSettings; |
73 delete iGsPenSettings; |
74 delete iLocaleRepository; |
74 delete iLocaleRepository; |
75 delete iSensorRepository; |
75 delete iSensorRepository; |
|
76 delete iThemeEffectsRepository; |
76 |
77 |
77 if (iQwertyModeStatusSubscriber) |
78 if (iQwertyModeStatusSubscriber) |
78 { |
79 { |
79 iQwertyModeStatusSubscriber->StopSubscribe(); |
80 iQwertyModeStatusSubscriber->StopSubscribe(); |
80 } |
81 } |
523 } |
524 } |
524 |
525 |
525 TRAP(ret, iGsPenSettings = CRepository::NewL(KCRUidPersonalizationSettings)); |
526 TRAP(ret, iGsPenSettings = CRepository::NewL(KCRUidPersonalizationSettings)); |
526 |
527 |
527 TRAP(ret, iSensorRepository = CRepository::NewL( KCRUidSensorSettings ) ); |
528 TRAP(ret, iSensorRepository = CRepository::NewL( KCRUidSensorSettings ) ); |
|
529 |
|
530 TRAP(ret, iThemeEffectsRepository = CRepository::NewL( KCRUidThemes )); |
528 } |
531 } |
529 |
532 |
530 TInt CAknFepSharedDataInterface::HashKeySelectionNotification(TAny* aObj) |
533 TInt CAknFepSharedDataInterface::HashKeySelectionNotification(TAny* aObj) |
531 { |
534 { |
532 if (aObj) |
535 if (aObj) |
1750 return ETrue; |
1753 return ETrue; |
1751 } |
1754 } |
1752 } |
1755 } |
1753 |
1756 |
1754 return EFalse; |
1757 return EFalse; |
1755 } |
1758 } |
|
1759 |
|
1760 TBool CAknFepSharedDataInterface::ThemeEffectsEnabled() |
|
1761 { |
|
1762 TInt effectsValue = KErrNone; |
|
1763 TInt error = iThemeEffectsRepository->Get( KThemesTransitionEffects, effectsValue ); |
|
1764 if ( error != KErrNone || effectsValue != 0 )//zero means on |
|
1765 { |
|
1766 effectsValue = KErrNotFound; |
|
1767 } |
|
1768 return effectsValue == KErrNone ? ETrue:EFalse; |
|
1769 } |
1756 |
1770 |
1757 #ifdef RD_INTELLIGENT_TEXT_INPUT |
1771 #ifdef RD_INTELLIGENT_TEXT_INPUT |
1758 #ifdef __ITI_LONGPRESS_NUM_SHIFT_COPYPASTE__ |
1772 #ifdef __ITI_LONGPRESS_NUM_SHIFT_COPYPASTE__ |
1759 /** |
1773 /** |
1760 * Queries if numbers (and other characters found behind Fn) can be entered with long key press on QWERTY. |
1774 * Queries if numbers (and other characters found behind Fn) can be entered with long key press on QWERTY. |