114 TInt iToolbarButton4Cmd; // see Toolbar Button Command List for cenrep values |
114 TInt iToolbarButton4Cmd; // see Toolbar Button Command List for cenrep values |
115 TInt iToolbarButton5Cmd; // see Toolbar Button Command List for cenrep values |
115 TInt iToolbarButton5Cmd; // see Toolbar Button Command List for cenrep values |
116 TInt iToolbarButton6Cmd; // see Toolbar Button Command List for cenrep values |
116 TInt iToolbarButton6Cmd; // see Toolbar Button Command List for cenrep values |
117 TInt iToolbarButton7Cmd; // see Toolbar Button Command List for cenrep values |
117 TInt iToolbarButton7Cmd; // see Toolbar Button Command List for cenrep values |
118 TInt iShortcutKeysForQwerty; |
118 TInt iShortcutKeysForQwerty; |
119 TInt iShortcutKey1Cmd; |
119 TInt iShortcutKey1Cmd; |
120 TInt iShortcutKey2Cmd; |
120 TInt iShortcutKey2Cmd; |
121 TInt iShortcutKey3Cmd; |
121 TInt iShortcutKey3Cmd; |
122 TInt iShortcutKey4Cmd; |
122 TInt iShortcutKey4Cmd; |
123 TInt iShortcutKey5Cmd; |
123 TInt iShortcutKey5Cmd; |
124 TInt iShortcutKey6Cmd; |
124 TInt iShortcutKey6Cmd; |
125 TInt iShortcutKey7Cmd; |
125 TInt iShortcutKey7Cmd; |
126 TInt iShortcutKey8Cmd; |
126 TInt iShortcutKey8Cmd; |
127 TInt iShortcutKey9Cmd; |
127 TInt iShortcutKey9Cmd; |
128 TInt iShortcutKey0Cmd; |
128 TInt iShortcutKey0Cmd; |
129 TInt iShortcutKeyStarCmd; |
129 TInt iShortcutKeyStarCmd; |
130 TInt iShortcutKeyHashCmd; |
130 TInt iShortcutKeyHashCmd; |
131 TUint32 iScriptLog; |
131 TUint32 iScriptLog; |
132 // Minimum, Maximum and Default (for new page) Zoom Level settings |
132 // Minimum, Maximum and Default (for new page) Zoom Level settings |
133 TUint32 iZoomLevelMin; |
133 TUint32 iZoomLevelMin; |
134 TUint32 iZoomLevelMax; |
134 TUint32 iZoomLevelMax; |
135 TUint32 iZoomLevelDefault; |
135 TUint32 iZoomLevelDefault; |
136 TInt iMaxRecentUrlsToShow; |
136 TInt iMaxRecentUrlsToShow; |
137 TBool iSearch; // Search Feature |
137 TBool iSearch; // Search Feature |
138 TBool iService; // Service Feature |
138 TBool iService; // Service Feature |
|
139 TBrCtlDefs::TCursorSettings iCursorShowMode; |
139 }; |
140 }; |
140 |
141 |
141 /** |
142 /** |
142 * Helper enum for MPreferencesObserver |
143 * Helper enum for MPreferencesObserver |
143 */ |
144 */ |
144 enum TPreferencesEvent |
145 enum TPreferencesEvent |
145 { |
146 { |
146 EPreferencesActivate, // Preferences opened |
147 EPreferencesActivate, // Preferences opened |
147 EPreferencesDeactivate, // Preferences closed |
148 EPreferencesDeactivate, // Preferences closed |
148 EPreferencesItemChange // Setting change has occurred |
149 EPreferencesItemChange // Setting change has occurred |
149 }; |
150 }; |
218 |
219 |
219 /** |
220 /** |
220 * To access PageOverview setting |
221 * To access PageOverview setting |
221 */ |
222 */ |
222 virtual TBool PageOverview() const = 0; |
223 virtual TBool PageOverview() const = 0; |
223 |
224 |
224 /** |
225 /** |
225 * To access BackList setting |
226 * To access BackList setting |
226 */ |
227 */ |
227 virtual TBool BackList() const = 0; |
228 virtual TBool BackList() const = 0; |
228 |
229 |
229 /** |
230 /** |
230 * To access AutoRefresh setting |
231 * To access AutoRefresh setting |
231 */ |
232 */ |
232 virtual TBool AutoRefresh() const = 0; |
233 virtual TBool AutoRefresh() const = 0; |
233 |
234 |
234 /* |
235 /* |
235 * Sets the automatic updating access point of Web Feeds |
236 * Sets the automatic updating access point of Web Feeds |
236 */ |
237 */ |
237 virtual void SetAutomaticUpdatingApL( TUint aSetting ) = 0; |
238 virtual void SetAutomaticUpdatingApL( TUint aSetting ) = 0; |
238 /* |
239 /* |
239 * Sets the automatic updating while roaming of News & Blogs |
240 * Sets the automatic updating while roaming of News & Blogs |
240 */ |
241 */ |
241 virtual void SetAutomaticUpdatingWhileRoamingL( TBool aAutoUpdateRoaming ) = 0; |
242 virtual void SetAutomaticUpdatingWhileRoamingL( TBool aAutoUpdateRoaming ) = 0; |
242 |
243 |
243 /** |
244 /** |
244 * To modify user-defined URL suffix list (.com, .org, .net) |
245 * To modify user-defined URL suffix list (.com, .org, .net) |
245 */ |
246 */ |
246 virtual void SetURLSuffixList( HBufC* aValue ) = 0; |
247 virtual void SetURLSuffixList( HBufC* aValue ) = 0; |
247 |
248 |
248 /** |
249 /** |
249 * To access user-defined URL suffix list (.com, org, .net) |
250 * To access user-defined URL suffix list (.com, org, .net) |
250 */ |
251 */ |
251 virtual HBufC* URLSuffixList( ) const = 0; |
252 virtual HBufC* URLSuffixList( ) const = 0; |
252 /** |
253 /** |
253 * automatic updating access point of Web Feeds |
254 * automatic updating access point of Web Feeds |
254 */ |
255 */ |
255 virtual TUint AutomaticUpdatingAP() const = 0; |
256 virtual TUint AutomaticUpdatingAP() const = 0; |
256 /** |
257 /** |
257 * automatic updating while roaming of News & Blogs |
258 * automatic updating while roaming of News & Blogs |
258 */ |
259 */ |
259 virtual TBool AutomaticUpdatingWhileRoaming() const = 0; |
260 virtual TBool AutomaticUpdatingWhileRoaming() const = 0; |
260 |
261 |
261 /** |
262 /** |
262 * To access TextWrap setting |
263 * To access TextWrap setting |
263 @ return setting item value |
264 @ return setting item value |
264 */ |
265 */ |
265 virtual TBool TextWrap() const = 0; |
266 virtual TBool TextWrap() const = 0; |
579 |
580 |
580 /** |
581 /** |
581 * To get value of Rotate Display setting |
582 * To get value of Rotate Display setting |
582 */ |
583 */ |
583 virtual TBool RotateDisplay() const = 0; |
584 virtual TBool RotateDisplay() const = 0; |
584 |
585 |
585 /** |
586 /** |
586 * To get Toolbar On/Off value |
587 * To get Toolbar On/Off value |
587 */ |
588 */ |
588 virtual TInt ShowToolbarOnOff() const = 0; |
589 virtual TInt ShowToolbarOnOff() const = 0; |
589 |
590 |
590 /** |
591 /** |
591 * To set Toolbar On/Off value |
592 * To set Toolbar On/Off value |
592 */ |
593 */ |
593 virtual void SetToolbarOnOffL(TInt aCommand) = 0; |
594 virtual void SetToolbarOnOffL(TInt aCommand) = 0; |
594 |
595 |
595 /** |
596 /** |
596 * To get Toolbar Button 1 command value |
597 * To get Toolbar Button 1 command value |
597 */ |
598 */ |
598 virtual TInt ShowToolbarButton1Cmd() const = 0; |
599 virtual TInt ShowToolbarButton1Cmd() const = 0; |
599 |
600 |
600 /** |
601 /** |
601 * To set Toolbar Button 1 command value |
602 * To set Toolbar Button 1 command value |
602 */ |
603 */ |
603 virtual void SetToolbarButton1CmdL(TInt aCommand) = 0; |
604 virtual void SetToolbarButton1CmdL(TInt aCommand) = 0; |
604 |
605 |
605 /** |
606 /** |
606 * To get Toolbar Button 2 command value |
607 * To get Toolbar Button 2 command value |
607 */ |
608 */ |
608 virtual TInt ShowToolbarButton2Cmd() const = 0; |
609 virtual TInt ShowToolbarButton2Cmd() const = 0; |
609 |
610 |
610 /** |
611 /** |
611 * To set Toolbar Button 2 command value |
612 * To set Toolbar Button 2 command value |
612 */ |
613 */ |
613 virtual void SetToolbarButton2CmdL(TInt aCommand) = 0; |
614 virtual void SetToolbarButton2CmdL(TInt aCommand) = 0; |
614 |
615 |
615 /** |
616 /** |
616 * To get Toolbar Button 3 command value |
617 * To get Toolbar Button 3 command value |
617 */ |
618 */ |
618 virtual TInt ShowToolbarButton3Cmd() const = 0; |
619 virtual TInt ShowToolbarButton3Cmd() const = 0; |
619 |
620 |
620 /** |
621 /** |
621 * To set Toolbar Button 3 command value |
622 * To set Toolbar Button 3 command value |
622 */ |
623 */ |
623 virtual void SetToolbarButton3CmdL(TInt aCommand) = 0; |
624 virtual void SetToolbarButton3CmdL(TInt aCommand) = 0; |
624 |
625 |
625 /** |
626 /** |
626 * To get Toolbar Button 4 command value |
627 * To get Toolbar Button 4 command value |
627 */ |
628 */ |
628 virtual TInt ShowToolbarButton4Cmd() const = 0; |
629 virtual TInt ShowToolbarButton4Cmd() const = 0; |
629 |
630 |
630 /** |
631 /** |
631 * To set Toolbar Button 4 command value |
632 * To set Toolbar Button 4 command value |
632 */ |
633 */ |
633 virtual void SetToolbarButton4CmdL(TInt aCommand) = 0; |
634 virtual void SetToolbarButton4CmdL(TInt aCommand) = 0; |
634 |
635 |
635 /** |
636 /** |
636 * To get Toolbar Button 5 command value |
637 * To get Toolbar Button 5 command value |
637 */ |
638 */ |
638 virtual TInt ShowToolbarButton5Cmd() const = 0; |
639 virtual TInt ShowToolbarButton5Cmd() const = 0; |
639 |
640 |
640 /** |
641 /** |
641 * To set Toolbar Button 5 command value |
642 * To set Toolbar Button 5 command value |
642 */ |
643 */ |
643 virtual void SetToolbarButton5CmdL(TInt aCommand) = 0; |
644 virtual void SetToolbarButton5CmdL(TInt aCommand) = 0; |
644 |
645 |
645 /** |
646 /** |
646 * To get Toolbar Button 6 command value |
647 * To get Toolbar Button 6 command value |
647 */ |
648 */ |
648 virtual TInt ShowToolbarButton6Cmd() const = 0; |
649 virtual TInt ShowToolbarButton6Cmd() const = 0; |
649 |
650 |
650 /** |
651 /** |
651 * To set Toolbar Button 6 command value |
652 * To set Toolbar Button 6 command value |
652 */ |
653 */ |
653 virtual void SetToolbarButton6CmdL(TInt aCommand) = 0; |
654 virtual void SetToolbarButton6CmdL(TInt aCommand) = 0; |
654 |
655 |
655 /** |
656 /** |
656 * To get Toolbar Button 7 command value |
657 * To get Toolbar Button 7 command value |
657 */ |
658 */ |
658 virtual TInt ShowToolbarButton7Cmd() const = 0; |
659 virtual TInt ShowToolbarButton7Cmd() const = 0; |
659 |
660 |
660 /** |
661 /** |
661 * To set Toolbar Button 7 command value |
662 * To set Toolbar Button 7 command value |
662 */ |
663 */ |
663 virtual void SetToolbarButton7CmdL(TInt aCommand) = 0; |
664 virtual void SetToolbarButton7CmdL(TInt aCommand) = 0; |
664 |
665 |
665 /** |
666 /** |
666 * To get Shortcut Key 1 command value |
667 * To get Shortcut Key 1 command value |
667 */ |
668 */ |
668 virtual TInt ShortcutKey1Cmd() const = 0; |
669 virtual TInt ShortcutKey1Cmd() const = 0; |
669 |
670 |
670 /** |
671 /** |
671 * To set Shortcut Key 1 command value |
672 * To set Shortcut Key 1 command value |
672 */ |
673 */ |
673 virtual void SetShortcutKey1CmdL(TInt aCommand) = 0; |
674 virtual void SetShortcutKey1CmdL(TInt aCommand) = 0; |
674 |
675 |
675 /** |
676 /** |
676 * To get Shortcut Key 2 command value |
677 * To get Shortcut Key 2 command value |
677 */ |
678 */ |
678 virtual TInt ShortcutKey2Cmd() const = 0; |
679 virtual TInt ShortcutKey2Cmd() const = 0; |
679 |
680 |
680 /** |
681 /** |
681 * To set Shortcut Key 2 command value |
682 * To set Shortcut Key 2 command value |
682 */ |
683 */ |
683 virtual void SetShortcutKey2CmdL(TInt aCommand) = 0; |
684 virtual void SetShortcutKey2CmdL(TInt aCommand) = 0; |
684 |
685 |
685 /** |
686 /** |
686 * To get Shortcut Key 3 command value |
687 * To get Shortcut Key 3 command value |
687 */ |
688 */ |
688 virtual TInt ShortcutKey3Cmd() const = 0; |
689 virtual TInt ShortcutKey3Cmd() const = 0; |
689 |
690 |
690 /** |
691 /** |
691 * To set Shortcut Key 3 command value |
692 * To set Shortcut Key 3 command value |
692 */ |
693 */ |
693 virtual void SetShortcutKey3CmdL(TInt aCommand) = 0; |
694 virtual void SetShortcutKey3CmdL(TInt aCommand) = 0; |
694 |
695 |
695 /** |
696 /** |
696 * To get Shortcut Key 4 command value |
697 * To get Shortcut Key 4 command value |
697 */ |
698 */ |
698 virtual TInt ShortcutKey4Cmd() const = 0; |
699 virtual TInt ShortcutKey4Cmd() const = 0; |
699 |
700 |
700 /** |
701 /** |
701 * To set Shortcut Key 4 command value |
702 * To set Shortcut Key 4 command value |
702 */ |
703 */ |
703 virtual void SetShortcutKey4CmdL(TInt aCommand) = 0; |
704 virtual void SetShortcutKey4CmdL(TInt aCommand) = 0; |
704 |
705 |
705 /** |
706 /** |
706 * To get Shortcut Key 5 command value |
707 * To get Shortcut Key 5 command value |
707 */ |
708 */ |
708 virtual TInt ShortcutKey5Cmd() const = 0; |
709 virtual TInt ShortcutKey5Cmd() const = 0; |
709 |
710 |
710 /** |
711 /** |
711 * To set Shortcut Key 5 command value |
712 * To set Shortcut Key 5 command value |
712 */ |
713 */ |
713 virtual void SetShortcutKey5CmdL(TInt aCommand) = 0; |
714 virtual void SetShortcutKey5CmdL(TInt aCommand) = 0; |
714 |
715 |
715 /** |
716 /** |
716 * To get Shortcut Key 6 command value |
717 * To get Shortcut Key 6 command value |
717 */ |
718 */ |
718 virtual TInt ShortcutKey6Cmd() const = 0; |
719 virtual TInt ShortcutKey6Cmd() const = 0; |
719 |
720 |
720 /** |
721 /** |
721 * To set Shortcut Key 6 command value |
722 * To set Shortcut Key 6 command value |
722 */ |
723 */ |
723 virtual void SetShortcutKey6CmdL(TInt aCommand) = 0; |
724 virtual void SetShortcutKey6CmdL(TInt aCommand) = 0; |
724 |
725 |
725 /** |
726 /** |
726 * To get Shortcut Key 7 command value |
727 * To get Shortcut Key 7 command value |
727 */ |
728 */ |
728 virtual TInt ShortcutKey7Cmd() const = 0; |
729 virtual TInt ShortcutKey7Cmd() const = 0; |
729 |
730 |
730 /** |
731 /** |
731 * To set Shortcut Key 7 command value |
732 * To set Shortcut Key 7 command value |
732 */ |
733 */ |
733 virtual void SetShortcutKey7CmdL(TInt aCommand) = 0; |
734 virtual void SetShortcutKey7CmdL(TInt aCommand) = 0; |
734 |
735 |
735 /** |
736 /** |
736 * To get Shortcut Key 8 command value |
737 * To get Shortcut Key 8 command value |
737 */ |
738 */ |
738 virtual TInt ShortcutKey8Cmd() const = 0; |
739 virtual TInt ShortcutKey8Cmd() const = 0; |
739 |
740 |
740 /** |
741 /** |
741 * To set Shortcut Key 8 command value |
742 * To set Shortcut Key 8 command value |
742 */ |
743 */ |
743 virtual void SetShortcutKey8CmdL(TInt aCommand) = 0; |
744 virtual void SetShortcutKey8CmdL(TInt aCommand) = 0; |
744 |
745 |
745 /** |
746 /** |
746 * To get Shortcut Key 9 command value |
747 * To get Shortcut Key 9 command value |
747 */ |
748 */ |
748 virtual TInt ShortcutKey9Cmd() const = 0; |
749 virtual TInt ShortcutKey9Cmd() const = 0; |
749 |
750 |
750 /** |
751 /** |
751 * To set Shortcut Key 9 command value |
752 * To set Shortcut Key 9 command value |
752 */ |
753 */ |
753 virtual void SetShortcutKey9CmdL(TInt aCommand) = 0; |
754 virtual void SetShortcutKey9CmdL(TInt aCommand) = 0; |
754 |
755 |
755 /** |
756 /** |
756 * To get Shortcut Key 0 command value |
757 * To get Shortcut Key 0 command value |
757 */ |
758 */ |
758 virtual TInt ShortcutKey0Cmd() const = 0; |
759 virtual TInt ShortcutKey0Cmd() const = 0; |
759 |
760 |
760 /** |
761 /** |
761 * To set Shortcut Key 0 command value |
762 * To set Shortcut Key 0 command value |
762 */ |
763 */ |
763 virtual void SetShortcutKey0CmdL(TInt aCommand) = 0; |
764 virtual void SetShortcutKey0CmdL(TInt aCommand) = 0; |
764 |
765 |
765 /** |
766 /** |
766 * To get Shortcut Key Star command value |
767 * To get Shortcut Key Star command value |
767 */ |
768 */ |
768 virtual TInt ShortcutKeyStarCmd() const = 0; |
769 virtual TInt ShortcutKeyStarCmd() const = 0; |
769 |
770 |
770 /** |
771 /** |
771 * To set Shortcut Key Star command value |
772 * To set Shortcut Key Star command value |
772 */ |
773 */ |
773 virtual void SetShortcutKeyStarCmdL(TInt aCommand) = 0; |
774 virtual void SetShortcutKeyStarCmdL(TInt aCommand) = 0; |
774 |
775 |
775 /** |
776 /** |
776 * To get Shortcut Key Hash command value |
777 * To get Shortcut Key Hash command value |
777 */ |
778 */ |
778 virtual TInt ShortcutKeyHashCmd() const = 0; |
779 virtual TInt ShortcutKeyHashCmd() const = 0; |
779 |
780 |
780 /** |
781 /** |
781 * To set Shortcut Key Hash command value |
782 * To set Shortcut Key Hash command value |
782 */ |
783 */ |
783 virtual void SetShortcutKeyHashCmdL(TInt aCommand) = 0; |
784 virtual void SetShortcutKeyHashCmdL(TInt aCommand) = 0; |
784 |
785 |
785 /** |
786 /** |
786 * To get Shortcut Key for Qwerty command value |
787 * To get Shortcut Key for Qwerty command value |
787 */ |
788 */ |
788 virtual TInt ShortcutKeysForQwerty() const = 0; |
789 virtual TInt ShortcutKeysForQwerty() const = 0; |
789 |
790 |
790 /** |
791 /** |
791 * Zoom Level minimum (percentage) value |
792 * Zoom Level minimum (percentage) value |
792 */ |
793 */ |
793 virtual inline TUint32 ZoomLevelMinimum() const = 0; |
794 virtual inline TUint32 ZoomLevelMinimum() const = 0; |
794 |
795 |
795 /** |
796 /** |
796 * Zoom Level maximum (percentage) value |
797 * Zoom Level maximum (percentage) value |
797 */ |
798 */ |
798 virtual inline TUint32 ZoomLevelMaximum() const = 0; |
799 virtual inline TUint32 ZoomLevelMaximum() const = 0; |
799 |
800 |
800 /** |
801 /** |
801 * Zoom Level default (percentage) value |
802 * Zoom Level default (percentage) value |
802 */ |
803 */ |
803 virtual inline TUint32 ZoomLevelDefault() const = 0; |
804 virtual inline TUint32 ZoomLevelDefault() const = 0; |
804 |
805 |
805 /** |
806 /** |
806 * Maximum Recent URLs to show |
807 * Maximum Recent URLs to show |
807 */ |
808 */ |
808 virtual TInt MaxRecentUrls() const = 0; |
809 virtual TInt MaxRecentUrls() const = 0; |
809 |
810 |
810 /** |
811 /** |
811 * Search Feature Enabled or Disabled. |
812 * Search Feature Enabled or Disabled. |
812 */ |
813 */ |
813 virtual inline TBool SearchFeature() const = 0; |
814 virtual inline TBool SearchFeature() const = 0; |
814 |
815 |
815 /** |
816 /** |
816 * Service Feature Enabled or Disabled. |
817 * Service Feature Enabled or Disabled. |
817 */ |
818 */ |
818 virtual inline TBool ServiceFeature() const = 0; |
819 virtual inline TBool ServiceFeature() const = 0; |
819 |
820 |
820 /** |
821 /** |
821 * To access an int value key in ini file |
822 * To access an int value key in ini file |
822 * @param aKey the ini file key to read |
823 * @param aKey the ini file key to read |
823 * @return the value of the given key |
824 * @return the value of the given key |
824 */ |
825 */ |