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