683 0: Off |
682 0: Off |
684 1: On (Default) |
683 1: On (Default) |
685 */ |
684 */ |
686 const TUint32 KSettingsPowerSavingQuery = 0x00000001; |
685 const TUint32 KSettingsPowerSavingQuery = 0x00000001; |
687 |
686 |
|
687 /** |
|
688 * Slide Settings CR UID. |
|
689 */ |
|
690 const TUid KCRUidSlideSettings = {0x20015159}; |
|
691 |
|
692 enum TSlideSetting |
|
693 { |
|
694 ESlideSettingOff = 0, |
|
695 ESlideSettingOn |
|
696 }; |
|
697 |
|
698 /********************************************************** |
|
699 * User settings for slide handling |
|
700 * |
|
701 */ |
|
702 |
|
703 /** |
|
704 * Used to control which behavior is chosen when closing the cover. |
|
705 * Possible values are 0=Off, 1=On |
|
706 */ |
|
707 const TUint32 KSlideCloseCover = 0x00000001; |
|
708 |
|
709 const TUint32 KSlideOpenCoverUri = 0x00000002; |
|
710 |
|
711 const TUint32 KSlideOpenCoverCaption = 0x00000003; |
|
712 |
|
713 /** |
|
714 * This setting defines whether keyguard is activated by closing the cover |
|
715 * |
|
716 * Possible values: |
|
717 * 0: Closing cover does not activate keyguard. |
|
718 * 1: Closing the cover activates keyguard. |
|
719 * 2: User is asked "Do you want to activate keyguard?". |
|
720 * 3: Automatic - keyguard returns to the state before opening the cover. |
|
721 */ |
|
722 const TUint32 KSlideKeyguard = 0x00000004; |
|
723 enum TSlideSettingKeyguard |
|
724 { |
|
725 ESlideSettingsKeyguardActivatingOff = 0, |
|
726 ESlideSettingsKeyguardActivatingOn, |
|
727 ESlideSettingsKeyguardActivatingAskMe, |
|
728 ESlideSettingsKeyguardActivatingAutomatic |
|
729 }; |
|
730 |
|
731 /** |
|
732 * Used to control if audio is routed when opening the slide. |
|
733 * Possible values are 0=routing not changed, 1=routing changed |
|
734 */ |
|
735 const TUint32 KSlideAudioRouting = 0x00000005; |
|
736 |
|
737 /** |
|
738 * User setting for Intelligent Slide |
|
739 * Possible values are listed in TSlideSetting |
|
740 */ |
|
741 const TUint32 KSlideAutomaticAction = 0x00000010; |
|
742 |
|
743 /********************************************************** |
|
744 * Configurability settings |
|
745 * This group of settings is used to specify which slide behavior is enabled |
|
746 * Different slide types need different items |
|
747 * For example ITU-T slide need call handling with slide |
|
748 * And full-Qwerty slide does not use call handling but requires audio routing with slide |
|
749 */ |
|
750 |
|
751 /** |
|
752 * Defines which localisation to use for slide settings |
|
753 * Possible values |
|
754 * 0: Slide |
|
755 * 1: Cover |
|
756 * 2: Flip |
|
757 * 3: Fold |
|
758 * 4: Swivel |
|
759 * 5: reserved |
|
760 */ |
|
761 const TUint32 KSlideTerminology = 0x00000101; |
|
762 |
|
763 /** |
|
764 * Slide Events to react to |
|
765 * Depending on this value, different P/S keys in KPSUidHWRM are used for monitoring the slide state |
|
766 * Possible values are |
|
767 * 0: Grip |
|
768 * 1: Flip |
|
769 * 2: Twist |
|
770 */ |
|
771 const TUint32 KSlideShowEventType = 0x00000102; |
|
772 |
|
773 /** |
|
774 * Perform call handling with slide |
|
775 * Possible values |
|
776 * 0: Disabled |
|
777 * 1: Enabled |
|
778 */ |
|
779 const TUint32 KSlideShowCallHandling = 0x00000110; |
|
780 |
|
781 /** |
|
782 * Perform audio routing with slide |
|
783 * Possible values |
|
784 * 0: Disabled |
|
785 * 1: Enabled |
|
786 */ |
|
787 const TUint32 KSlideShowAudioRouting = 0x00000111; |
|
788 |
|
789 /** |
|
790 * Perform keypad lock handling with slide |
|
791 * Possible values |
|
792 * 0: Disabled |
|
793 * 1: Enabled |
|
794 */ |
|
795 const TUint32 KSlideShowKeypadlock = 0x00000112; |
|
796 |
|
797 /** |
|
798 * Application launch when slide open in idle |
|
799 * Possible values |
|
800 * 0: Disabled |
|
801 * 1: Enabled |
|
802 */ |
|
803 const TUint32 KSlideShowAppLaunch = 0x00000113; |
|
804 |
|
805 /** |
|
806 * Go to idle with slide close |
|
807 * Possible values |
|
808 * 0: Disabled |
|
809 * 1: Enabled |
|
810 */ |
|
811 const TUint32 KSlideShowGoToIdle = 0x00000114; |
|
812 |
|
813 /** |
|
814 * Device lock with slide |
|
815 * Possible values |
|
816 * 0: Disabled |
|
817 * 1: Enabled |
|
818 */ |
|
819 const TUint32 KSlideShowDeviceLock = 0x00000115; |
|
820 |
|
821 /********************************************************** |
|
822 * Intelligent Slide configurability settings |
|
823 * The following items describe in which applications/views |
|
824 * Intelligent slide feature is enabled |
|
825 * |
|
826 */ |
|
827 |
|
828 /** |
|
829 * Messaging Main View |
|
830 * Possible values are listed in TSlideSetting |
|
831 */ |
|
832 const TUint32 KMessagingMainView = 0x00001001; |
|
833 |
|
834 /** |
|
835 * Messaging Message List View |
|
836 * Possible values are listed in TSlideSetting |
|
837 */ |
|
838 const TUint32 KMessagingMessageListView = 0x00001002; |
|
839 |
|
840 /** |
|
841 * Messaging One Row Message List View |
|
842 * Possible values are listed in TSlideSetting |
|
843 */ |
|
844 const TUint32 KMessagingOneRowMessageListView = 0x00001003; |
|
845 |
|
846 /** |
|
847 * Messaging Text Message Viewer |
|
848 * Possible values are listed in TSlideSetting |
|
849 */ |
|
850 const TUint32 KMessagingTextMessageViewer = 0x00001004; |
|
851 |
|
852 /** |
|
853 * Messaging Multimedia Message Viewer |
|
854 * Possible values are listed in TSlideSetting |
|
855 */ |
|
856 const TUint32 KMessagingMultimediaMessageViewer = 0x00001005; |
|
857 |
|
858 /** |
|
859 * Messaging Uni Editor |
|
860 * Possible values are listed in TSlideSetting |
|
861 */ |
|
862 const TUint32 KMessagingUniEditor = 0x00001006; |
|
863 |
|
864 /** |
|
865 * Email Viewer |
|
866 * Possible values are listed in TSlideSetting |
|
867 */ |
|
868 const TUint32 KEmailViewer = 0x00001010; |
|
869 |
|
870 /** |
|
871 * Email Editor |
|
872 * Possible values are listed in TSlideSetting |
|
873 */ |
|
874 const TUint32 KEmailEditor = 0x00001011; |
|
875 |
|
876 /** |
|
877 * Browser Content view |
|
878 * Possible values are listed in TSlideSetting |
|
879 */ |
|
880 const TUint32 KBrowserContentView = 0x00001020; |
|
881 |
|
882 /** |
|
883 * Browser Bookmarks view |
|
884 * Possible values are listed in TSlideSetting |
|
885 */ |
|
886 const TUint32 KBrowserBookmarksView = 0x00001021; |
|
887 |
|
888 /** |
|
889 * Clock Main view |
|
890 * Possible values are listed in TSlideSetting |
|
891 */ |
|
892 const TUint32 KClockMainView = 0x00001030; |
|
893 |
|
894 /** |
|
895 * Clock Alarm editor |
|
896 * Possible values are listed in TSlideSetting |
|
897 */ |
|
898 const TUint32 KClockAlarmEditor = 0x00001031; |
|
899 |
|
900 /** |
|
901 * Clock MultiAlarm view |
|
902 * Possible values are listed in TSlideSetting |
|
903 */ |
|
904 const TUint32 KClockMultiAlarmView = 0x00001032; |
|
905 |
|
906 /** |
|
907 * Clock World clock view |
|
908 * Possible values are listed in TSlideSetting |
|
909 */ |
|
910 const TUint32 KClockWorldClockView = 0x00001033; |
|
911 |
|
912 /** |
|
913 * Clock World clock view |
|
914 * Possible values are listed in TSlideSetting |
|
915 */ |
|
916 const TUint32 KClockCountDownView = 0x00001034; |
|
917 |
|
918 |
|
919 /** |
|
920 * Notepad Editor |
|
921 * Possible values are listed in TSlideSetting |
|
922 */ |
|
923 const TUint32 KNotepadEditor = 0x00001040; |
|
924 |
|
925 /** |
|
926 * Notepad List view |
|
927 * Possible values are listed in TSlideSetting |
|
928 */ |
|
929 const TUint32 KNotepadListView = 0x00001041; |
|
930 |
|
931 /** |
|
932 * Phone Incoming call |
|
933 * Possible values are listed in TSlideSetting |
|
934 */ |
|
935 const TUint32 KPhoneIncomingCall = 0x00001050; |
|
936 |
|
937 /** |
|
938 * File Manager Folder view |
|
939 * Possible values are listed in TSlideSetting |
|
940 */ |
|
941 const TUint32 KFileManagerFolderView = 0x00001060; |
|
942 |
|
943 /** |
|
944 * Calendar Main(Month/Week/Day/To-Do) view |
|
945 * Possible values are listed in TSlideSetting |
|
946 */ |
|
947 const TUint32 KCalendarMainView = 0x00001070; |
|
948 |
|
949 /** |
|
950 * Calendar Event(Meeting/Memo/Anniversary/To-Do note) view |
|
951 * Possible values are listed in TSlideSetting |
|
952 */ |
|
953 const TUint32 KCalendarEventView = 0x00001071; |
|
954 |
|
955 /** |
|
956 * Calendar Event(Meeting/Memo/Anniversary/To-Do note) editor |
|
957 * Possible values are listed in TSlideSetting |
|
958 */ |
|
959 const TUint32 KCalendarEventEditor = 0x00001072; |
|
960 |
|
961 /** |
|
962 * Contacts Group view |
|
963 * Possible values are listed in TSlideSetting |
|
964 */ |
|
965 const TUint32 KContactsGroupView = 0x00001080; |
|
966 |
|
967 /** |
|
968 * Contacts Details view |
|
969 * Possible values are listed in TSlideSetting |
|
970 */ |
|
971 const TUint32 KContactsDetailsView = 0x00001081; |
|
972 |
|
973 /** |
|
974 * Contacts Editor |
|
975 * Possible values are listed in TSlideSetting |
|
976 */ |
|
977 const TUint32 KContactsEditor = 0x00001082; |
|
978 |
|
979 /** |
|
980 * Contacts Communication Launcher view |
|
981 * Possible values are listed in TSlideSetting |
|
982 */ |
|
983 const TUint32 KContactsCommunicationLauncherView = 0x00001083; |
|
984 |
|
985 |
|
986 /** |
|
987 * Logs view |
|
988 * Possible values are listed in TSlideSetting |
|
989 */ |
|
990 const TUint32 KLogsView = 0x00001090; |
|
991 |
|
992 |
|
993 /** |
|
994 * Modifier keys used for global shortcuts |
|
995 * Possible values of scan codes are listed in e32keys.h |
|
996 * For example EStdKeyLeftShift=0x12, EStdKeyLeftCtrl=0x16 |
|
997 */ |
|
998 const TUint32 KGlobalShortcutModifier1 = 0x00002001; |
|
999 const TUint32 KGlobalShortcutModifier2 = 0x00002002; |
|
1000 |
|
1001 /** |
|
1002 * Action key scancode |
|
1003 * Possible values of scan codes are listed in e32keys.h |
|
1004 */ |
|
1005 const TUint32 KGlobalShortcutKey00 = 0x00002100; |
|
1006 const TUint32 KGlobalShortcutKey01 = 0x00002101; |
|
1007 const TUint32 KGlobalShortcutKey02 = 0x00002102; |
|
1008 const TUint32 KGlobalShortcutKey03 = 0x00002103; |
|
1009 const TUint32 KGlobalShortcutKey04 = 0x00002104; |
|
1010 const TUint32 KGlobalShortcutKey05 = 0x00002105; |
|
1011 const TUint32 KGlobalShortcutKey06 = 0x00002106; |
|
1012 const TUint32 KGlobalShortcutKey07 = 0x00002107; |
|
1013 const TUint32 KGlobalShortcutKey08 = 0x00002108; |
|
1014 const TUint32 KGlobalShortcutKey09 = 0x00002109; |
|
1015 const TUint32 KGlobalShortcutKey10 = 0x00002110; |
|
1016 const TUint32 KGlobalShortcutKey11 = 0x00002111; |
|
1017 const TUint32 KGlobalShortcutKey12 = 0x00002112; |
|
1018 const TUint32 KGlobalShortcutKey13 = 0x00002113; |
|
1019 const TUint32 KGlobalShortcutKey14 = 0x00002114; |
|
1020 const TUint32 KGlobalShortcutKey15 = 0x00002115; |
|
1021 const TUint32 KGlobalShortcutKey16 = 0x00002116; |
|
1022 const TUint32 KGlobalShortcutKey17 = 0x00002117; |
|
1023 const TUint32 KGlobalShortcutKey18 = 0x00002118; |
|
1024 const TUint32 KGlobalShortcutKey19 = 0x00002119; |
|
1025 |
|
1026 /** |
|
1027 * Application UID that should be brought to foreground/background |
|
1028 * when corresponding action key is pressed |
|
1029 */ |
|
1030 const TUint32 KGlobalShortcutApp00 = 0x00002200; |
|
1031 const TUint32 KGlobalShortcutApp01 = 0x00002201; |
|
1032 const TUint32 KGlobalShortcutApp02 = 0x00002202; |
|
1033 const TUint32 KGlobalShortcutApp03 = 0x00002203; |
|
1034 const TUint32 KGlobalShortcutApp04 = 0x00002204; |
|
1035 const TUint32 KGlobalShortcutApp05 = 0x00002205; |
|
1036 const TUint32 KGlobalShortcutApp06 = 0x00002206; |
|
1037 const TUint32 KGlobalShortcutApp07 = 0x00002207; |
|
1038 const TUint32 KGlobalShortcutApp08 = 0x00002208; |
|
1039 const TUint32 KGlobalShortcutApp09 = 0x00002209; |
|
1040 const TUint32 KGlobalShortcutApp10 = 0x00002210; |
|
1041 const TUint32 KGlobalShortcutApp11 = 0x00002211; |
|
1042 const TUint32 KGlobalShortcutApp12 = 0x00002212; |
|
1043 const TUint32 KGlobalShortcutApp13 = 0x00002213; |
|
1044 const TUint32 KGlobalShortcutApp14 = 0x00002214; |
|
1045 const TUint32 KGlobalShortcutApp15 = 0x00002215; |
|
1046 const TUint32 KGlobalShortcutApp16 = 0x00002216; |
|
1047 const TUint32 KGlobalShortcutApp17 = 0x00002217; |
|
1048 const TUint32 KGlobalShortcutApp18 = 0x00002218; |
|
1049 const TUint32 KGlobalShortcutApp19 = 0x00002219; |
|
1050 |
688 #endif // SETTINGSINTERNALCRKEYS_H |
1051 #endif // SETTINGSINTERNALCRKEYS_H |
689 |
1052 |
690 // End of file |
1053 // End of file |